|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Changes
This interface defines changes that are made to the database.
Method Summary | |
---|---|
void |
endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Method to annonunce 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 |
init()
Method to initialize a tool. |
void |
killObject(ElectricObject obj)
Method to announce the deletion of an ElectricObject. |
void |
modifyArcInst(ArcInst ai,
ImmutableArcInst oD)
Method to announce a change to an ArcInst. |
void |
modifyCell(Cell cell,
ImmutableCell oD)
Method to announce 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 oldD)
Method to announce a change to an Export. |
void |
modifyLibrary(Library lib,
ImmutableLibrary oldD)
Method to announce a change to a Library. |
void |
modifyNodeInst(NodeInst ni,
ImmutableNodeInst oD)
Method to announce a change to a NodeInst. |
void |
newObject(ElectricObject obj)
Method to announce 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 announce the renaming of an ElectricObject. |
void |
request(java.lang.String cmd)
Method to make a request of a tool (not used). |
void |
slice()
Method to give a tool a chance to run. |
void |
startBatch(Tool tool,
boolean undoRedo)
Method to announce the start of a batch of changes. |
void |
writeLibrary(Library lib)
Method to announce that a Library is about to be written to disk. |
Method Detail |
---|
void init()
void request(java.lang.String cmd)
cmd
- the command request.void examineCell(Cell cell)
cell
- the Cell to examine.void slice()
void startBatch(Tool tool, boolean undoRedo)
tool
- the tool that generated the changes.undoRedo
- true if these changes are from an undo or redo command.void endBatch(Snapshot oldSnapshot, Snapshot newSnapshot, boolean undoRedo)
oldSnapshot
- database snapshot before Job.newSnapshot
- database snapshot after Job and constraint propagation.undoRedo
- true if Job was Undo/Redo job.void modifyNodeInst(NodeInst ni, ImmutableNodeInst oD)
ni
- the NodeInst that was changed.oD
- the old contents of the NodeInst.void modifyArcInst(ArcInst ai, ImmutableArcInst oD)
ai
- the ArcInst that changed.oD
- the old contents of the ArcInst.void modifyExport(Export pp, ImmutableExport oldD)
pp
- the Export that moved.oldD
- the old contents of the Export.void modifyCell(Cell cell, ImmutableCell oD)
cell
- the Cell that was changed.oD
- the old contents of the Cell.void modifyCellGroup(Cell cell, Cell.CellGroup oCellGroup)
cell
- the cell that was moved.oCellGroup
- the old CellGroup of the Cell.void modifyLibrary(Library lib, ImmutableLibrary oldD)
lib
- the Library that was changed.oldD
- the old contents of the Library.void newObject(ElectricObject obj)
obj
- the ElectricObject that was just created.void killObject(ElectricObject obj)
obj
- the ElectricObject that was just deleted.void renameObject(ElectricObject obj, java.lang.Object oldName)
obj
- the ElectricObject that was renamed.oldName
- the former name of that ElectricObject.void readLibrary(Library lib)
lib
- the Library that was read.void eraseLibrary(Library lib)
lib
- the Library that will be erased.void writeLibrary(Library lib)
lib
- the Library that will be saved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |