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

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

public static class FileMenu.ReadLibrary
extends Job

Class to read a library in a new thread. For a non-interactive script, use ReadLibrary job = new ReadLibrary(filename, format).

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.ReadLibrary(java.net.URL fileURL, FileType type, java.lang.String cellName)
           
FileMenu.ReadLibrary(java.net.URL fileURL, FileType type, java.lang.String settingsDirectory, Library deleteLib, com.sun.electric.tool.user.menus.FileMenu.RenameAndSaveLibraryTask saveTask, java.lang.String cellName)
           
 
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.ReadLibrary

public FileMenu.ReadLibrary(java.net.URL fileURL,
                            FileType type,
                            java.lang.String cellName)

FileMenu.ReadLibrary

public FileMenu.ReadLibrary(java.net.URL fileURL,
                            FileType type,
                            java.lang.String settingsDirectory,
                            Library deleteLib,
                            com.sun.electric.tool.user.menus.FileMenu.RenameAndSaveLibraryTask saveTask,
                            java.lang.String cellName)
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