openide/src/org/openide/text/CloneableEditorSupport.java: 39/984
    private Task loadTask;
    private Task prepareTask;
        prepareDocument().waitFinished();
    public Task prepareDocument() {
    private Task prepareDocument(final boolean clearDocument) {
        Task t = prepareTask;
        synchronized (getLock ()) {
            prepareTask = RequestProcessor.getDefault().post(new Runnable () {
                        synchronized (getLock ()) {
                            loadTask = new Task(getListener());
        NbDocument.runAtomic(doc, new Runnable() {
            prepareDocument ().waitFinished ();
            Task t = loadTask;
                t.waitFinished ();
        synchronized(LOCK_PRINTING) {
            synchronized(LOCK_PRINTING) {
            java.awt.EventQueue.invokeLater(new Runnable() { 
    protected Task reloadDocument() {
        synchronized (getLock ()) {
                final Task docLoadTask = prepareDocument(true);
                      public void taskFinished (Task task) {
                          SwingUtilities.invokeLater(new Runnable() {
	    synchronized (this) {
		    RequestProcessor.getDefault().post(new Runnable() {
				synchronized (CloneableEditorSupport.this) {
        synchronized(LOCK_LINE_SET) {
                synchronized(oldSet.lines) {
            Task prep;
            synchronized (getLock()) {
            prep.waitFinished();
            RequestProcessor.getDefault().post(new Runnable() {
            synchronized (this) {
        synchronized (getLock()) {
        final Task t = prepareDocument ();
            public void taskFinished (org.openide.util.Task t2) {
                javax.swing.SwingUtilities.invokeLater (this);
            SwingUtilities.invokeLater(undoTask);
                      SwingUtilities.invokeLater(
             synchronized (getLock ()) {

      

Project Features

About this Project

core was started in November 2009, is owned by Antonin Nebuzelsky, and has 118 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close