home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / xa / BatchProcessor$NewSchemaCommand.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  1.0 KB  |  25 lines

  1. package com.extensibility.xa;
  2.  
  3. import com.extensibility.app.BaseApplication;
  4. import com.extensibility.app.BaseDocument;
  5. import java.util.EventObject;
  6.  
  7. public class BatchProcessor$NewSchemaCommand implements BatchProcessor.BatchCommand {
  8.    // $FF: synthetic field
  9.    final BatchProcessor this$0;
  10.  
  11.    public BatchProcessor$NewSchemaCommand(BatchProcessor var1) {
  12.       this.this$0 = var1;
  13.    }
  14.  
  15.    public synchronized boolean doCommand() throws InterruptedException {
  16.       BaseDocument var1 = BaseApplication.getApplication().newDocument((EventObject)null);
  17.  
  18.       while(!this.this$0.isDocAddedToDesktop(var1)) {
  19.          Thread.yield();
  20.       }
  21.  
  22.       return true;
  23.    }
  24. }
  25.