com.sun.electric.tool.user.ncc
Class ExportConflict.CharactConflict

java.lang.Object
  extended by com.sun.electric.tool.user.ncc.ExportConflict
      extended by com.sun.electric.tool.user.ncc.ExportConflict.CharactConflict
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ExportConflict

public static class ExportConflict.CharactConflict
extends ExportConflict

This class is a container for an Export/Global Characteristics conflict. A local Export has the same name as a global signal, which creates a conflict.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.electric.tool.user.ncc.ExportConflict
ExportConflict.CharactConflict, ExportConflict.NetworkConflict
 
Field Summary
 
Fields inherited from class com.sun.electric.tool.user.ncc.ExportConflict
cell, context, name
 
Constructor Summary
ExportConflict.CharactConflict(Cell cel, VarContext con, java.lang.String nm, java.lang.String gType, java.lang.String lType, Export exp)
           
 
Method Summary
protected  java.lang.String getDescription(int col)
          Get text which should be printed as a hyperlink to conflicting local Export and global signal.
 Export getLocalExport()
          Get local Export
 
Methods inherited from class com.sun.electric.tool.user.ncc.ExportConflict
getCell, getContext, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportConflict.CharactConflict

public ExportConflict.CharactConflict(Cell cel,
                                      VarContext con,
                                      java.lang.String nm,
                                      java.lang.String gType,
                                      java.lang.String lType,
                                      Export exp)
Method Detail

getDescription

protected java.lang.String getDescription(int col)
Get text which should be printed as a hyperlink to conflicting local Export and global signal. This text is simply the type of Export or signal. Column 0 corresponds to the global signal, 1 - to the local Export.

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

getLocalExport

public Export getLocalExport()
Get local Export

Returns:
local Export