com.sun.electric.tool.user.ncc
Class ExportConflict.NetworkConflict
java.lang.Object
com.sun.electric.tool.user.ncc.ExportConflict
com.sun.electric.tool.user.ncc.ExportConflict.NetworkConflict
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ExportConflict
public static class ExportConflict.NetworkConflict
- extends ExportConflict
This class is a container for an Export/Global Network Conflict.
A local Network has the same name as a global Network, which creates
a conflict.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportConflict.NetworkConflict
public ExportConflict.NetworkConflict(Cell cel,
VarContext con,
java.lang.String nm,
Network lNet,
Network gNet)
getDescription
protected java.lang.String getDescription(int col)
- Get text which should be printed as a hyperlink to a conflicting Network.
This text id a list of Network names surrounded by curly brackets {}
Column 0 corresponds to the local Network, 1 - to the global one.
- Specified by:
getDescription
in class ExportConflict
- Parameters:
col
- table column If column is not 0 or 1, then null is returned
- Returns:
- text to print as a hyperlink to conflicting Networks/Exports
getNetwork
public Network getNetwork(int col)
- Get conflicting Network. Column 0 corresponds to the local Network,
1 - to the global one.
- Parameters:
col
- table column If column is not 0 or 1, then null is returned
- Returns:
- conflicting Network for the given table column
getLocalNetwork
public Network getLocalNetwork()
- Get the local conflicting Network
- Returns:
- the local conflicting Network
getGlobalNetwork
public Network getGlobalNetwork()
- Get the global conflicting Network
- Returns:
- the global conflicting Network