|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.constraint.Constraints
com.sun.electric.database.constraint.Layout
public class Layout
Class to implement the layout-constraint system. Handles the fixed-angle and rigid constraints. Also propagates these constraints up the hierarchy.
Field Summary | |
---|---|
static int |
DRC_LAST_GOOD_BIT_DEFAULT
Default valud when no bit is found |
static Variable.Key |
DRC_LAST_GOOD_BIT_SPACING
key of Variable for last valid DRC bit on a Cell. |
static Variable.Key |
DRC_LAST_GOOD_DATE_AREA
No need of bit for area since it is only 1 mode |
static Variable.Key |
DRC_LAST_GOOD_DATE_SPACING
key of Variable for last valid DRC date on a Cell. |
Method Summary | |
---|---|
static void |
changesQuiet(boolean quiet)
Method to set the subsequent changes to be "quiet". |
void |
endBatch(java.lang.String userName)
Method to do hierarchical update on any cells that changed |
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 |
modifyExport(Export pp,
ImmutableExport oldD)
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. |
static void |
removeTempRigid(ArcInst ai)
Method to remove temporary rigidity on an ArcInst. |
void |
renameIds(IdMapper idMapper)
Method to announce than Ids were renamed. |
static void |
setGoodDRCCells(java.util.Set<Cell> goodDRCCells,
Variable.Key key,
int activeBits,
boolean inMemory)
|
static void |
setTempRigid(ArcInst ai,
boolean tempRigid)
Method to set temporary rigidity on an ArcInst. |
void |
startBatch(Snapshot initialSnapshot)
Method to start a batch of changes. |
Methods inherited from class com.sun.electric.database.constraint.Constraints |
---|
eraseLibrary, examineCell, getCurrent, init, killObject, modifyCellGroup, readLibrary, redrawObject, renameObject, request, slice, writeLibrary |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Variable.Key DRC_LAST_GOOD_DATE_SPACING
public static final Variable.Key DRC_LAST_GOOD_BIT_SPACING
public static final int DRC_LAST_GOOD_BIT_DEFAULT
public static final Variable.Key DRC_LAST_GOOD_DATE_AREA
Method Detail |
---|
public static void changesQuiet(boolean quiet)
public void startBatch(Snapshot initialSnapshot)
startBatch
in class Constraints
initialSnapshot
- snapshot before job changes.public void endBatch(java.lang.String userName)
endBatch
in class Constraints
public void modifyNodeInst(NodeInst ni, ImmutableNodeInst oD)
modifyNodeInst
in class Constraints
ni
- the NodeInst that was changed.oD
- the old contents of the NodeInst.public void modifyArcInst(ArcInst ai, ImmutableArcInst oD)
modifyArcInst
in class Constraints
ai
- the ArcInst that changed.oD
- the old contents of the ArcInst.public void modifyExport(Export pp, ImmutableExport oldD)
modifyExport
in class Constraints
pp
- the Export that moved.oldD
- the old contents of the Export.public void modifyCell(Cell cell, ImmutableCell oD)
modifyCell
in class Constraints
cell
- the Cell that was changed.oD
- the old contents of the Cell.public void modifyLibrary(Library lib, ImmutableLibrary oldD)
modifyLibrary
in class Constraints
lib
- the Library that was changed.oldD
- the old contents of the Library.public void newObject(ElectricObject obj)
newObject
in class Constraints
obj
- the ElectricObject that was just created.public void renameIds(IdMapper idMapper)
renameIds
in class Constraints
idMapper
- mapper from old Ids to new Ids.public static void setTempRigid(ArcInst ai, boolean tempRigid)
ai
- the ArcInst to make temporarily rigid/not-rigid.tempRigid
- true to make the ArcInst temporarily rigid;
false to make it temporarily not-rigid.public static void removeTempRigid(ArcInst ai)
ai
- the ArcInst to remove temporarily rigidity.public static void setGoodDRCCells(java.util.Set<Cell> goodDRCCells, Variable.Key key, int activeBits, boolean inMemory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |