com.sun.electric.tool.user.menus
Class FileMenu.ReadLibrary
java.lang.Object
com.sun.electric.tool.Job
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
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, 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 |
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)
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