com.sun.electric.tool.project
Class CancelCheckOutJob

java.lang.Object
  extended by com.sun.electric.tool.Job
      extended by com.sun.electric.tool.project.CancelCheckOutJob
All Implemented Interfaces:
java.io.Serializable

public class CancelCheckOutJob
extends Job

This class cancels the checkout of a cell from the Project Management repository.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.electric.tool.Job
Job.Mode, Job.Priority, Job.Type
 
Field Summary
 
Fields inherited from class com.sun.electric.tool.Job
BATCHMODE, endTime, LOCALDEBUGFLAG, startTime
 
Method Summary
static void cancelCheckOut(Cell cell)
          Method to cancel the check-out of a cell.
static void cancelCheckOutThisCell()
          Method to cancel the check-out of the currently edited cell.
 boolean doIt()
          This is the main work method.
 void terminateOK()
          This method executes in the Client side after normal termination of doIt method.
 
Methods inherited from class com.sun.electric.tool.Job
abort, acquireExamineLock, checkAbort, fieldVariableChanged, getAllJobs, getDatabase, getDebug, getDeleteWhenDone, getDisplay, getExtendedUserInterface, getInfo, getNumThreads, getRunMode, getRunningJob, getScheduledToAbort, getStatus, getUserInterface, initJobManager, invokeExamineLater, isFinished, releaseExamineLock, remove, setDebug, setProgress, setReportExecutionFlag, setThreadMode, startJob, startJob, startJobOnMyResult, terminateFail, terminateIt, threadDatabase, toString, updateIncrementalDRCErrors, updateNetworkErrors, wantUpdateGui
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

cancelCheckOutThisCell

public static void cancelCheckOutThisCell()
Method to cancel the check-out of the currently edited cell.


cancelCheckOut

public static void cancelCheckOut(Cell cell)
Method to cancel the check-out of a cell.

Parameters:
cell - the Cell whose check-out should be cancelled.

doIt

public boolean doIt()
             throws JobException
Description copied from class: Job
This is the main work method. This method should perform all needed tasks.

Specified by:
doIt in class Job
Throws:
JobException - TODO

terminateOK

public void terminateOK()
Description copied from class: Job
This method executes in the Client side after normal termination of doIt method. This method should perform all needed termination actions.

Overrides:
terminateOK in class Job