com.sun.electric.tool.user.menus
Class FileMenu.QuitJob

java.lang.Object
  extended by com.sun.electric.tool.Job
      extended by com.sun.electric.tool.user.menus.FileMenu.QuitJob
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
FileMenu

public static class FileMenu.QuitJob
extends Job

Class to quit Electric in a Job. The quit function is done in a Job so that it can force all other jobs to finish.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.electric.tool.Job
Job.Inform, Job.Key, Job.Priority, Job.Type
 
Field Summary
 
Fields inherited from class com.sun.electric.tool.Job
endTime, finished, LOCALDEBUGFLAG, MIN_NUM_SECONDS, reportExecution, startTime
 
Constructor Summary
FileMenu.QuitJob(java.util.Collection<com.sun.electric.tool.user.menus.FileMenu.RenameAndSaveLibraryTask> saveTasks)
           
 
Method Summary
 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, checkAbort, fieldVariableChanged, getAllJobs, getDatabase, getDebug, getDeleteWhenDone, getEditingPreferences, getEnvironment, getExtendedUserInterface, getInfo, getInform, getKey, getRunningJob, getScheduledToAbort, getStatus, getTechPool, getTool, getUserInterface, initJobManager, inServerThread, isClientThread, isFinished, pipeClient, pipeServer, remove, setCurrentLibraryInJob, setDebug, setProgress, setReportExecutionFlag, socketClient, startJob, startJob, startJobOnMyResult, terminateFail, terminateIt, toString, updateIncrementalDRCErrors, updateNetworkErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileMenu.QuitJob

public FileMenu.QuitJob(java.util.Collection<com.sun.electric.tool.user.menus.FileMenu.RenameAndSaveLibraryTask> saveTasks)
Method Detail

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