com.sun.electric.tool.user.tecEdit
Class Manipulate

java.lang.Object
  extended by com.sun.electric.tool.user.tecEdit.Manipulate

public class Manipulate
extends java.lang.Object

This class manipulates technology libraries.


Constructor Summary
Manipulate()
           
 
Method Summary
static void completeNodeCreation(NodeInst newNi, Variable v)
          Method to complete the creation of a new node in a technology edit cell.
static void deletedCell(Cell np)
          Method called when a cell has been deleted.
static java.lang.String describeNodeMeaning(Geometric geom)
          Method to return information about a given object.
static void describeTechnology(Technology tech)
          Method to print detailled information about a given technology.
static void editComponentMenu()
          Method to edit the component menu for the technology.
static void editLibraryDependencies()
          Method to reorganize the dependent libraries
static int getOptionOnNode(NodeInst ni)
          Method to return the option index of node "ni"
static void identifyLayers(boolean doPorts)
          Method to highlight information about all layers (or ports if "doPorts" is true)
static boolean invalidCreation(NodeProto np, Cell cell)
          Method to determine whether it is legal to place an instance in a technology-edit cell.
static void makeCell(int type)
          Make a new technology-edit cell of a given type.
static void modifyObject(EditWindow wnd, NodeInst ni, int opt)
          Method for modifying the selected object.
static void renamedCell(java.lang.String oldName, java.lang.String newName)
          Method to update tables to reflect that cell "oldName" is now called "newName".
static void reorderPrimitives(int type)
          SUPPORT ROUTINES
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manipulate

public Manipulate()
Method Detail

renamedCell

public static void renamedCell(java.lang.String oldName,
                               java.lang.String newName)
Method to update tables to reflect that cell "oldName" is now called "newName". If "newName" is not valid, any rule that refers to "oldName" is removed.


deletedCell

public static void deletedCell(Cell np)
Method called when a cell has been deleted.


invalidCreation

public static boolean invalidCreation(NodeProto np,
                                      Cell cell)
Method to determine whether it is legal to place an instance in a technology-edit cell.

Parameters:
np - the type of node to create.
cell - the cell in which to place it.
Returns:
true if the creation is invalid (and prints an error message).

makeCell

public static void makeCell(int type)
Make a new technology-edit cell of a given type.

Parameters:
type - 1=layer, 2=arc, 3=node, 4=factors

completeNodeCreation

public static void completeNodeCreation(NodeInst newNi,
                                        Variable v)
Method to complete the creation of a new node in a technology edit cell.

Parameters:
newNi - the node that was just created.

editLibraryDependencies

public static void editLibraryDependencies()
Method to reorganize the dependent libraries


editComponentMenu

public static void editComponentMenu()
Method to edit the component menu for the technology.


identifyLayers

public static void identifyLayers(boolean doPorts)
Method to highlight information about all layers (or ports if "doPorts" is true)


describeNodeMeaning

public static java.lang.String describeNodeMeaning(Geometric geom)
Method to return information about a given object.


modifyObject

public static void modifyObject(EditWindow wnd,
                                NodeInst ni,
                                int opt)
Method for modifying the selected object. If two are selected, connect them.


getOptionOnNode

public static int getOptionOnNode(NodeInst ni)
Method to return the option index of node "ni"


reorderPrimitives

public static void reorderPrimitives(int type)
SUPPORT ROUTINES


describeTechnology

public static void describeTechnology(Technology tech)
Method to print detailled information about a given technology.

Parameters:
tech - the technology to describe.