com.sun.electric.tool.ncc
Class NccJob

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

public class NccJob
extends Job

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
static NccMsgsFrame nccgui
          nccgui is static for efficiency.
 
Fields inherited from class com.sun.electric.tool.Job
endTime, finished, LOCALDEBUGFLAG, MIN_NUM_SECONDS, reportExecution, startTime
 
Constructor Summary
NccJob(int numWind)
          Run a NCC job.
 
Method Summary
 boolean doIt()
          This is the main work method.
static NccResults getLastNccResults()
          Get the results from the last NCC run.
static void invalidateLastNccResult()
          Call this if you modify the design or preferences so that the results from the last NCC run are discarded.
 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
 

Field Detail

nccgui

public static NccMsgsFrame nccgui
nccgui is static for efficiency. It is public because we want to share with com.sun.electric.plugins.pie.NccJob. nccgui is only used in interactive mode. Avoid initializing it in batch mode because it will throw an exception.

Constructor Detail

NccJob

public NccJob(int numWind)
Run a NCC job.

Parameters:
numWind - may be 1 or 2. 1 means compare the schematic and layout views of the current window. 2 means compare the 2 Cells open in 2 Windows.
Method Detail

doIt

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

Specified by:
doIt in class Job

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

getLastNccResults

public static NccResults getLastNccResults()
Get the results from the last NCC run. If null then there are no valid results.


invalidateLastNccResult

public static void invalidateLastNccResult()
Call this if you modify the design or preferences so that the results from the last NCC run are discarded.