com.bbn.swede.core.libraries
Class EditLibraryJob

java.lang.Object
  extended byJob
      extended bycom.bbn.swede.core.libraries.EditLibraryJob
All Implemented Interfaces:
Runnable

public class EditLibraryJob
extends Job
implements Runnable

Job to perform a library edit. This allows for long-running edits to be pushed to the background. This job runs on a separate thread so as not to hamper the UI during long-running operations.

Author:
aperezlo
See Also:
Serialized Form

Constructor Summary
EditLibraryJob(ILibraryDescriptor ild, LibraryEdit edit)
          Constructor.
 
Method Summary
 void run()
          Run the job.
protected  IStatus run(IProgressMonitor monitor)
          Runs the job, using the monitor for progress.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditLibraryJob

public EditLibraryJob(ILibraryDescriptor ild,
                      LibraryEdit edit)
Constructor.

Parameters:
ild - the library upon which this edit should be performed
edit - the edit operations that should be performed
Method Detail

run

public void run()
Run the job.

Specified by:
run in interface Runnable
See Also:
Runnable.run()

run

protected IStatus run(IProgressMonitor monitor)
Runs the job, using the monitor for progress. This job supports cancelation.

See Also:
org.eclipse.core.internal.jobs.InternalJob#run(org.eclipse.core.runtime.IProgressMonitor)


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.