com.sun.electric.tool.user.menus
Class ToolMenu

java.lang.Object
  extended by com.sun.electric.tool.user.menus.ToolMenu

public class ToolMenu
extends java.lang.Object

Class to handle the commands in the "Tools" pulldown menu.


Constructor Summary
ToolMenu()
           
 
Method Summary
static void addLEAttribute()
           
static void addMultiplierCommand()
          Method to add a "M" multiplier factor to the currently selected node.
static void backAnnotateCommand()
           
static void clearSizesCommand()
           
static void clearSizesNodableCommand()
           
static void compileVHDL()
          Method to handle the menu command to compile a VHDL cell.
static boolean doSilCompActivityNoJob(Cell cell, int activities, boolean doItNow)
           
static void doSiliconCompilation(Cell cell, boolean doItNow)
          Method to handle the menu command to convert a cell to layout.
static void estimateDelaysCommand()
           
static void getUnroutedArcCommand()
           
static void importAssuraDrcErrors()
           
static void importCalibreDrcErrors()
          Method to import Calibre DRC Errors into Electric and display them as ErrorLogger.
static void importDRCDeck()
           
static void javaBshScriptCommand()
           
static void layerCoverageCommand(LayerCoverageTool.LCMode func, GeometryHandler.GHMode mode)
          Method to handle the "List Layer Coverage", "Coverage Implant Generator", polygons merge except "List Geometry on Network" commands.
static void listConnectionsOnNetworkCommand()
          Method to handle the "List Connections On Network" command.
static void listExportsBelowNetworkCommand()
          Method to handle the "List Exports Below Network" command.
static void listExportsOnNetworkCommand()
          Method to handle the "List Exports On Network" command.
static void listGeometryOnNetworkCommand(GeometryHandler.GHMode mode)
          Method to handle the "List Geometry On Network" command.
static void listGeomsAllNetworksCommand()
           
static void listNetworksCommand()
          Method to handle the "List Networks" command.
static void listToolsCommand()
           
static void loadLogicalEffortLibraries()
           
static void makeTemplate(Variable.Key templateKey)
          Method to create a new template in the current cell.
static void makeTemplate(Variable.Key templateKey, Cell tgtCell)
          Method to create a new template on the target cell.
static void makeTemplate(Variable.Key templateKey, Cell tgtCell, java.lang.Object value)
          Method to create a new template on the target cell, with a predefined String or String [].
static void makeVHDL()
          Method to handle the menu command to make a VHDL cell.
static void optimizeEqualGateDelaysCommand(boolean newAlg)
           
static void padFrameGeneratorCommand()
           
static void parasiticCommand()
          Parasitic Tool
static void printLEInfoCommand()
          Print Logical Effort info for highlighted nodes
static void runNccSchematicCrossProbing()
           
static void setDynamicLanguageMenu()
          Method to change the Languages menu to include preassigned scripts.
static void showNetworkCommand()
          Method to handle the "Show Network" command.
static void showPowerAndGround()
           
static void validatePowerAndGround(boolean repair)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolMenu

public ToolMenu()
Method Detail

optimizeEqualGateDelaysCommand

public static void optimizeEqualGateDelaysCommand(boolean newAlg)

printLEInfoCommand

public static void printLEInfoCommand()
Print Logical Effort info for highlighted nodes


backAnnotateCommand

public static void backAnnotateCommand()

layerCoverageCommand

public static void layerCoverageCommand(LayerCoverageTool.LCMode func,
                                        GeometryHandler.GHMode mode)
Method to handle the "List Layer Coverage", "Coverage Implant Generator", polygons merge except "List Geometry on Network" commands.


clearSizesNodableCommand

public static void clearSizesNodableCommand()

clearSizesCommand

public static void clearSizesCommand()

estimateDelaysCommand

public static void estimateDelaysCommand()

addLEAttribute

public static void addLEAttribute()

loadLogicalEffortLibraries

public static void loadLogicalEffortLibraries()

showNetworkCommand

public static void showNetworkCommand()
Method to handle the "Show Network" command.


listNetworksCommand

public static void listNetworksCommand()
Method to handle the "List Networks" command.


listConnectionsOnNetworkCommand

public static void listConnectionsOnNetworkCommand()
Method to handle the "List Connections On Network" command.


listExportsOnNetworkCommand

public static void listExportsOnNetworkCommand()
Method to handle the "List Exports On Network" command.


listExportsBelowNetworkCommand

public static void listExportsBelowNetworkCommand()
Method to handle the "List Exports Below Network" command.


listGeometryOnNetworkCommand

public static void listGeometryOnNetworkCommand(GeometryHandler.GHMode mode)
Method to handle the "List Geometry On Network" command.


listGeomsAllNetworksCommand

public static void listGeomsAllNetworksCommand()

showPowerAndGround

public static void showPowerAndGround()

validatePowerAndGround

public static void validatePowerAndGround(boolean repair)

addMultiplierCommand

public static void addMultiplierCommand()
Method to add a "M" multiplier factor to the currently selected node.


makeTemplate

public static void makeTemplate(Variable.Key templateKey)
Method to create a new template in the current cell. Templates can be for SPICE or Verilog, depending on the Variable name.

Parameters:
templateKey - the name of the variable to create.

makeTemplate

public static void makeTemplate(Variable.Key templateKey,
                                Cell tgtCell)
Method to create a new template on the target cell. Templates can be for SPICE or Verilog, depending on the Variable name.

Parameters:
templateKey - the name of the variable to create.

makeTemplate

public static void makeTemplate(Variable.Key templateKey,
                                Cell tgtCell,
                                java.lang.Object value)
Method to create a new template on the target cell, with a predefined String or String []. Templates can be for SPICE or Verilog, depending on the Variable name.

Parameters:
templateKey - the name of the variable to create.

getUnroutedArcCommand

public static void getUnroutedArcCommand()

padFrameGeneratorCommand

public static void padFrameGeneratorCommand()

listToolsCommand

public static void listToolsCommand()

javaBshScriptCommand

public static void javaBshScriptCommand()

setDynamicLanguageMenu

public static void setDynamicLanguageMenu()
Method to change the Languages menu to include preassigned scripts.


doSiliconCompilation

public static void doSiliconCompilation(Cell cell,
                                        boolean doItNow)
Method to handle the menu command to convert a cell to layout. Reads the cell library if necessary; Converts a schematic to VHDL if necessary; Compiles a VHDL cell to a netlist if necessary; Reads the netlist from the cell; does placement and routing; Generates Electric layout; Displays the resulting layout.

Parameters:
cell - the cell to compile.
doItNow - if the job must executed now

compileVHDL

public static void compileVHDL()
Method to handle the menu command to compile a VHDL cell. Compiles the VHDL in the current cell and displays the netlist.


makeVHDL

public static void makeVHDL()
Method to handle the menu command to make a VHDL cell. Converts the schematic in the current cell to VHDL and displays it.


doSilCompActivityNoJob

public static boolean doSilCompActivityNoJob(Cell cell,
                                             int activities,
                                             boolean doItNow)

parasiticCommand

public static void parasiticCommand()
Parasitic Tool


importAssuraDrcErrors

public static void importAssuraDrcErrors()

importCalibreDrcErrors

public static void importCalibreDrcErrors()
Method to import Calibre DRC Errors into Electric and display them as ErrorLogger.


importDRCDeck

public static void importDRCDeck()

runNccSchematicCrossProbing

public static void runNccSchematicCrossProbing()