| Modifier | Constructor and Description |
|---|---|
protected |
Listener(java.lang.String toolName)
The constructor for Listener is only called by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job.
|
void |
eraseLibrary(Library lib)
Method to announce that a Library is about to be erased.
|
void |
examineCell(Cell cell)
Method to examine a cell because it has changed.
|
void |
killObject(ElectricObject obj)
Method to handle the deletion of an ElectricObject.
|
void |
modifyArcInst(ArcInst ai,
ImmutableArcInst oD)
Method to handle a change to an ArcInst.
|
void |
modifyCell(Cell cell,
ImmutableCell oD)
Method to handle a change to a Cell.
|
void |
modifyCellGroup(Cell cell,
Cell.CellGroup oCellGroup)
Method to announce a move of a Cell int CellGroup.
|
void |
modifyExport(Export pp,
ImmutableExport oD)
Method to handle a change to an Export.
|
void |
modifyLibrary(Library lib,
ImmutableLibrary oldD)
Method to handle a change to a Library.
|
void |
modifyNodeInst(NodeInst ni,
ImmutableNodeInst oD)
Method to handle a change to a NodeInst.
|
void |
newObject(ElectricObject obj)
Method to handle the creation of a new ElectricObject.
|
void |
readLibrary(Library lib)
Method to announce that a Library has been read.
|
void |
renameObject(ElectricObject obj,
java.lang.Object oldName)
Method to handle the renaming of an ElectricObject.
|
void |
request(java.lang.String cmd)
Method to make a request of a constraint system (not used).
|
void |
slice()
Method to give a constraint system a chance to run.
|
void |
startBatch(Tool tool,
boolean undoRedo)
Method to handle the start of a batch of changes.
|
void |
writeLibrary(Library lib)
Method to announce that a Library is about to be written to disk.
|
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getIndex, getListeners, getName, getNumTools, getProjectSettings, getTools, init, initAllTools, isAnalysis, isBackground, isFixErrors, isIncremental, isOn, isSynthesis, setAnalysis, setBackground, setFixErrors, setIncremental, setOn, setSynthesis, setVarInJob, testAll, toStringprotected Listener(java.lang.String toolName)
toolName - the name of this listener.public void request(java.lang.String cmd)
public void examineCell(Cell cell)
examineCell in interface Changescell - the Cell to examine.public void slice()
public void startBatch(Tool tool, boolean undoRedo)
startBatch in interface Changestool - the tool that generated the changes.undoRedo - true if these changes are from an undo or redo command.public abstract void endBatch(Snapshot oldSnapshot, Snapshot newSnapshot, boolean undoRedo)
public void modifyNodeInst(NodeInst ni, ImmutableNodeInst oD)
modifyNodeInst in interface Changesni - the NodeInst that was changed.oD - the old contents of the NodeInst.public void modifyArcInst(ArcInst ai, ImmutableArcInst oD)
modifyArcInst in interface Changesai - the ArcInst that changed.oD - the old contents of the ArcInst.public void modifyExport(Export pp, ImmutableExport oD)
modifyExport in interface Changespp - the Export that moved.oD - the old contents of the Export.public void modifyCell(Cell cell, ImmutableCell oD)
modifyCell in interface Changescell - the Cell that was changed.oD - the old contents of the Cell.public void modifyCellGroup(Cell cell, Cell.CellGroup oCellGroup)
modifyCellGroup in interface Changescell - the cell that was moved.oCellGroup - the old CellGroup of the Cell.public void modifyLibrary(Library lib, ImmutableLibrary oldD)
modifyLibrary in interface Changeslib - the Library that was changed.oldD - the old contents of the Library.public void newObject(ElectricObject obj)
public void killObject(ElectricObject obj)
killObject in interface Changesobj - the ElectricObject that was just deleted.public void renameObject(ElectricObject obj, java.lang.Object oldName)
renameObject in interface Changesobj - the ElectricObject that was renamed.oldName - the former name of that ElectricObject.public void readLibrary(Library lib)
readLibrary in interface Changeslib - the Library that was read.public void eraseLibrary(Library lib)
eraseLibrary in interface Changeslib - the Library that will be erased.public void writeLibrary(Library lib)
writeLibrary in interface Changeslib - the Library that will be saved.