|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.user.ExportChanges
public final class ExportChanges
This class has all of the Export change commands in Electric.
Nested Class Summary | |
---|---|
static class |
ExportChanges.ExportsByNumber
Comparator class for sorting Export by their name with number considered. |
static class |
ExportChanges.ExportSortedByBusIndex
|
static class |
ExportChanges.ReExportPorts
Helper class for re-exporting a port on a node. |
static class |
ExportChanges.RenumberNumericExports
Class to rename a list of Exports with numeric suffixes in a new thread. |
Constructor Summary | |
---|---|
ExportChanges()
|
Method Summary | |
---|---|
static void |
deleteExport()
Method to delete the currently selected exports. |
static void |
deleteExports(Cell cell,
java.util.List<Export> exportsToDelete)
|
static void |
deleteExportsInArea()
Method to delete all exports in the highlighted area. |
static void |
deleteExportsOnSelected()
Method to delete all exports on the highlighted objects. |
static void |
describeExports(boolean summarize)
|
static void |
followExport()
Method to follow the current export up the hierarchy. |
static PortInst |
getNewPortFromReferenceExport(NodeInst newNi,
Export referenceExport)
This returns the port inst on newNi that corresponds to the portinst that has been exported as 'referenceExport' on some other nodeinst of the same node prototype. |
static void |
moveExport()
Method to move the currently selected export from one node to another. |
static void |
reExportAll()
Method to re-export all unwired/unexported ports on cell instances in the current Cell. |
static void |
reExportHighlighted(boolean deep,
boolean includeWiredPorts)
Method to re-export all unwired/unexported ports on cell instances in the current Cell. |
static int |
reExportNodes(Cell cell,
java.util.List<Geometric> nodeInsts,
boolean includeWiredPorts,
boolean onlyPowerGround,
boolean ignorePrimitives)
Re-exports ports on each NodeInst in the list, in the order the nodeinsts appear in the list. |
static int |
reExportPorts(Cell cell,
java.util.List<PortInst> portInsts,
boolean sort,
boolean includeWiredPorts,
boolean onlyPowerGround,
java.util.Map<PortInst,Export> originalExports)
Re-exports the PortInsts in the list. |
static void |
reExportPowerAndGround()
Method to re-export all unwired/unexported ports on cell instances in the current Cell. |
static void |
reExportSelected(boolean includeWiredPorts)
Method to re-export everything that is selected. |
static void |
reExportSelectedPort()
Method to reexport the selected port on other nodes in the cell. |
static void |
renameExport()
Method to rename the currently selected export. |
static void |
replaceFromOtherLibrary()
Method to replace all cell instances in the current cell with like-named ones from another library. |
static void |
showExports()
Method to show all exports in the current cell. |
static void |
showPorts()
Method to show all ports on the selected nodes in the current cell. |
static void |
synchronizeLibrary()
Method to synchronize the exports in two libraries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExportChanges()
Method Detail |
---|
public static void describeExports(boolean summarize)
public static void followExport()
public static void reExportAll()
public static void reExportSelected(boolean includeWiredPorts)
includeWiredPorts
- true to re-export ports that are wired.public static void reExportSelectedPort()
public static void reExportPowerAndGround()
public static int reExportNodes(Cell cell, java.util.List<Geometric> nodeInsts, boolean includeWiredPorts, boolean onlyPowerGround, boolean ignorePrimitives)
cell
- the cell in which exporting is happening.nodeInsts
- a list of NodeInsts whose ports will be exportedincludeWiredPorts
- true to include ports that have wire connectionsonlyPowerGround
- true to only export power and ground type portsignorePrimitives
- true to ignore primitive nodes
public static void reExportHighlighted(boolean deep, boolean includeWiredPorts)
deep
- true to reexport hierarchically to the bottom.includeWiredPorts
- true to reexport ports that are wired.public static int reExportPorts(Cell cell, java.util.List<PortInst> portInsts, boolean sort, boolean includeWiredPorts, boolean onlyPowerGround, java.util.Map<PortInst,Export> originalExports)
cell
- the cell in which exporting is happening.portInsts
- the list of PortInsts to exportsort
- true to re-sort the portInsts listincludeWiredPorts
- true to export ports that are already wiredonlyPowerGround
- true to only export ports that are power and groundoriginalExports
- a map from the entries in portInsts to original Exports.
This is used when re-exporting ports on a copy that were exported on the original.
Ignored if null.
public static PortInst getNewPortFromReferenceExport(NodeInst newNi, Export referenceExport)
newNi
- the new node inst on which the port inst will be foundreferenceExport
- the export on the old node inst
public static void deleteExport()
public static void deleteExportsOnSelected()
public static void deleteExportsInArea()
public static void deleteExports(Cell cell, java.util.List<Export> exportsToDelete)
public static void moveExport()
public static void renameExport()
public static void showExports()
public static void showPorts()
public static void synchronizeLibrary()
public static void replaceFromOtherLibrary()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |