|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.Tool
com.sun.electric.tool.Listener
com.sun.electric.tool.user.User
public class User
This is the User Interface tool.
Nested Class Summary | |
---|---|
static class |
User.ColorPrefType
COLOR PREFERENCES |
Field Summary | |
---|---|
static Variable.Key |
FRAME_COMPANY_NAME
key of Variable holding cell company name. |
static Variable.Key |
FRAME_DESIGNER_NAME
key of Variable holding cell designer name. |
static Variable.Key |
FRAME_LAST_CHANGED_BY
key of Variable holding user who last changed the cell. |
static Variable.Key |
FRAME_PROJECT_NAME
key of Variable holding cell project name. |
static Variable.Key |
FRAME_SIZE
key of Variable holding cell frame information. |
Fields inherited from class com.sun.electric.tool.Tool |
---|
prefs |
Method Summary | |
---|---|
static void |
addRecentlyOpenedLibrary(java.lang.String s)
Add a file path (no extension) to a list of recently opened libraries. |
static void |
clearChangedInWindow(EditWindow wnd)
Method to reset the area of a window that has been changed. |
static void |
clearRecentlyOpenedLibraries()
Clear the list of recently opened libraries. |
void |
endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job. |
static void |
fixStaleCellReferences(IdMapper idMapper)
Reloading oe renaming libraries has the side affect that any EditWindows containing cells that were reloaded now point to old, unlinked cells instead of the new ones. |
static Dimension2D |
getAlignmentToGrid()
Method to return the default alignment of objects to the grid. |
static int |
getAlignmentToGridIndex()
Method to return index of the current alignment. |
static Dimension2D[] |
getAlignmentToGridVector()
Method to return an array of five grid alignment values. |
static double |
getAlphaBlendingOvercolorLimit()
Method to tell the scale of EditWindow when use overcolor in alpha blending color composite. |
static TextUtils.UnitScale |
getAmperageUnits()
Method to get current amperage (current) units. |
static TextUtils.UnitScale |
getCapacitanceUnits()
Method to get current capacitance units. |
static java.awt.geom.Rectangle2D |
getChangedInWindow(EditWindow wnd)
Method to tell which area of a window has been changed. |
static int |
getColor(User.ColorPrefType pref)
Method to get the color of a given special layer on the display. |
static Pref |
getColorPref(User.ColorPrefType pref)
|
ArcProto |
getCurrentArcProto()
Method to return the "current" ArcProto, as maintained by the user interface. |
NodeProto |
getCurrentNodeProto()
Method to return the "current" NodeProto, as maintained by the user interface. |
static java.lang.String |
getDefaultFont()
Method to get the default font to use on the display. |
static java.awt.Point |
getDefaultMessagesPos()
Method to tell the default position of the messages window. |
static java.awt.Dimension |
getDefaultMessagesSize()
Method to tell the default size of the messages window. |
static java.lang.String |
getDefaultTechnology()
Method to get default technique in Tech Palette. |
static Setting |
getDefaultTechnologySetting()
Returns project Setting to tell default technique in Tech Palette. |
static java.lang.String |
getDefaultTextCellFont()
Method to get the default font to use when editing textual cells. |
static int |
getDefaultTextCellSize()
Method to tell the size of text in textual cells. |
static java.lang.String |
getDefaultTextExternalEditor()
Method to get the program to invoke when externally editing textual cells. |
static java.awt.Point |
getDefaultWindowPos()
Method to tell the default position of top-level windows. |
static java.awt.Dimension |
getDefaultWindowSize()
Method to tell the default size of top-level windows. |
static int |
getDefaultWindowTab()
Method to tell the default tab to show. |
static int |
getDefGridXBoldFrequency()
Method to return the default frequency of bold grid dots in the X direction. |
static double |
getDefGridXSpacing()
Method to return the default spacing of grid dots in the X direction. |
static int |
getDefGridYBoldFrequency()
Method to return the default frequency of bold grid dots in the Y direction. |
static double |
getDefGridYSpacing()
Method to return the default spacing of grid dots in the Y direction. |
static int |
getDisplayAlgorithm()
Method to tell which display algorithm to use. |
static int |
getDisplayStyle()
Method to tell the initial display style for Electric. |
static TextUtils.UnitScale |
getDistanceUnits()
Method to get current distance units. |
static int |
getErrorLimit()
Method to tell the maximum number of errors to log. |
static int |
getExportDisplayLevel()
Method to tell how to display exports. |
static Dimension2D |
getFactoryAlignmentToGrid()
Method to return the default alignment of objects to the grid. |
static int |
getFactoryAlignmentToGridIndex()
Method to return the index of the current alignment, by default. |
static Dimension2D[] |
getFactoryAlignmentToGridVector()
Method to return an array of five grid alignment values, the defaults. |
static double |
getFactoryAlphaBlendingOvercolorLimit()
Method to tell the scale of EditWindow when use overcolor in alpha blending color composite, by default. |
static TextUtils.UnitScale |
getFactoryAmperageUnits()
Method to get default amperage (current) units. |
static TextUtils.UnitScale |
getFactoryCapacitanceUnits()
Method to get default capacitance units. |
static java.lang.String |
getFactoryDefaultFont()
Method to get the factory default font to use on the display. |
static java.lang.String |
getFactoryDefaultTextCellFont()
Method to get the factory default font to use when editing textual cells. |
static int |
getFactoryDefaultTextCellSize()
Method to tell the size of text in textual cells, by default. |
static java.lang.String |
getFactoryDefaultTextExternalEditor()
Method to get the program to invoke when externally editing textual cells, by default. |
static int |
getFactoryDefGridXBoldFrequency()
Method to return the default frequency of bold grid dots in the X direction (factory setting). |
static double |
getFactoryDefGridXSpacing()
Method to return the default spacing of grid dots in the X direction (factory setting). |
static int |
getFactoryDefGridYBoldFrequency()
Method to return the default frequency of bold grid dots in the Y direction (factory setting). |
static double |
getFactoryDefGridYSpacing()
Method to return the default spacing of grid dots in the Y direction (factory setting). |
static int |
getFactoryDisplayAlgorithm()
Method to tell which display algorithm to use, by default. |
static int |
getFactoryDisplayStyle()
Method to tell the initial display style for Electric, by default. |
static TextUtils.UnitScale |
getFactoryDistanceUnits()
Method to get default distance units. |
static int |
getFactoryErrorLimit()
Method to tell the maximum number of errors to log, by default. |
static int |
getFactoryExportDisplayLevel()
Method to tell how to display exports, by default. |
static java.lang.String |
getFactoryFrameCompanyName()
Method to return the company name to use in schematic frames, by default. |
static java.lang.String |
getFactoryFrameDesignerName()
Method to return the designer name to use in schematic frames, by default. |
static java.lang.String |
getFactoryFrameProjectName()
Method to return the project name to use in schematic frames, by default. |
static double |
getFactoryGlobalTextScale()
Method to tell the factory default global text scale factor. |
static double |
getFactoryGreekCellSizeLimit()
Method to tell the ratio of cell size to screen size beyond which no cell greeking happens, by default. |
static double |
getFactoryGreekSizeLimit()
Method to tell the smallest object that can be drawn, by default. |
static int |
getFactoryIconGenBidirRot()
Method to tell what angle Bidirectional ports should go on generated icons, by default. |
static int |
getFactoryIconGenBidirSide()
Method to tell where Bidirectional ports should go on generated icons, by default. |
static double |
getFactoryIconGenBodyTextSize()
Method to tell the size of body text on generated icons, by default. |
static int |
getFactoryIconGenBottomRot()
Method to tell what angle Bottom ports should go on generated icons, by default. |
static int |
getFactoryIconGenClockRot()
Method to tell what angle Clock ports should go on generated icons, by default. |
static int |
getFactoryIconGenClockSide()
Method to tell where Clock ports should go on generated icons, by default. |
static int |
getFactoryIconGenExportLocation()
Method to tell where exports should appear along the leads in generated icons, by default. |
static int |
getFactoryIconGenExportPlacement()
Method to tell how exports are placed in generated icons, by default. |
static boolean |
getFactoryIconGenExportPlacementExact()
Method to tell whether exports are placed exactly according to schematics, by default. |
static int |
getFactoryIconGenExportStyle()
Method to tell how the text should appear in generated icons, by default. |
static int |
getFactoryIconGenExportTech()
Method to tell how exports should be constructed in generated icons, by default. |
static int |
getFactoryIconGenGroundRot()
Method to tell what angle Ground ports should go on generated icons, by default. |
static int |
getFactoryIconGenGroundSide()
Method to tell where Ground ports should go on generated icons, by default. |
static int |
getFactoryIconGenInputRot()
Method to tell what angle Input ports should go on generated icons, by default. |
static int |
getFactoryIconGenInputSide()
Method to tell where Input ports should go on generated icons, by default. |
static int |
getFactoryIconGenInstanceLocation()
Method to tell where to place an instance of the generated icons in the original schematic, by default. |
static double |
getFactoryIconGenLeadLength()
Method to tell how long to make leads in generated icons, by default. |
static double |
getFactoryIconGenLeadSpacing()
Method to tell how far apart to space leads in generated icons, by default. |
static int |
getFactoryIconGenLeftRot()
Method to tell what angle Left ports should go on generated icons, by default. |
static int |
getFactoryIconGenOutputRot()
Method to tell what angle Output ports should go on generated icons, by default. |
static int |
getFactoryIconGenOutputSide()
Method to tell where Output ports should go on generated icons, by default. |
static int |
getFactoryIconGenPowerRot()
Method to tell what angle Power ports should go on generated icons, by default. |
static int |
getFactoryIconGenPowerSide()
Method to tell where Power ports should go on generated icons, by default. |
static int |
getFactoryIconGenRightRot()
Method to tell what angle Right ports should go on generated icons, by default. |
static int |
getFactoryIconGenTopRot()
Method to tell what angle Top ports should go on generated icons, by default. |
static TextUtils.UnitScale |
getFactoryInductanceUnits()
Method to get default inductance units. |
static int |
getFactoryMaxUndoHistory()
Method to get the maximum number of undos retained in memory, by default. |
static int |
getFactoryMemorySize()
Method to tell the maximum memory to use for Electric (in megabytes), by default. |
static int |
getFactoryPanningDistance()
Method to tell the distance to pan when shifting the screen or rolling the mouse wheel, by default. |
static double |
getFactoryPatternedScaleLimit()
Method to tell the scale of EditWindow when use patterned drawing, by default. |
static int |
getFactoryPermSpace()
Method to tell the maximum permanent space of 2dn GC to use for Electric (in megatybes), by default. |
static int |
getFactoryPortDisplayLevel()
Method to tell how to display ports, by default. |
static TextUtils.UnitScale |
getFactoryResistanceUnits()
Method to get default resistance units. |
static int |
getFactorySmartHorizontalPlacementArc()
Method to tell what type of "smart" text placement should be done for horizontal Arcs, by default. |
static int |
getFactorySmartHorizontalPlacementExport()
Method to tell what type of "smart" horizontal text placement should be done for Exports, by default. |
static int |
getFactorySmartVerticalPlacementArc()
Method to tell what type of "smart" text placement should be done for vertical Arcs, by default. |
static int |
getFactorySmartVerticalPlacementExport()
Method to tell what type of "smart" vertical text placement should be done for Exports, by default. |
static TextUtils.UnitScale |
getFactoryTimeUnits()
Method to get default time units. |
static TextUtils.UnitScale |
getFactoryVoltageUnits()
Method to get default voltage units. |
static java.lang.String |
getFrameCompanyName()
Method to return the company name to use in schematic frames. |
static java.lang.String |
getFrameDesignerName()
Method to return the designer name to use in schematic frames. |
static java.lang.String |
getFrameProjectName()
Method to return the project name to use in schematic frames. |
static double |
getGlobalTextScale()
Method to tell the default global text scale factor. |
static double |
getGreekCellSizeLimit()
Method to tell the ratio of cell size to screen size beyond which no cell greeking happens. |
static double |
getGreekSizeLimit()
Method to tell the smallest object that can be drawn. |
static int |
getIconGenBidirRot()
Method to tell what angle Bidirectional ports should go on generated icons. |
static int |
getIconGenBidirSide()
Method to tell where Bidirectional ports should go on generated icons. |
static double |
getIconGenBodyTextSize()
Method to tell the size of body text on generated icons. |
static int |
getIconGenBottomRot()
Method to tell what angle Bottom ports should go on generated icons. |
static int |
getIconGenClockRot()
Method to tell what angle Clock ports should go on generated icons. |
static int |
getIconGenClockSide()
Method to tell where Clock ports should go on generated icons. |
static int |
getIconGenExportLocation()
Method to tell where exports should appear along the leads in generated icons. |
static int |
getIconGenExportPlacement()
Method to tell how exports are placed in generated icons. |
static boolean |
getIconGenExportPlacementExact()
Method to tell whether exports are placed exactly according to schematics. |
static int |
getIconGenExportStyle()
Method to tell how the text should appear in generated icons. |
static int |
getIconGenExportTech()
Method to tell how exports should be constructed in generated icons. |
static int |
getIconGenGroundRot()
Method to tell what angle Ground ports should go on generated icons. |
static int |
getIconGenGroundSide()
Method to tell where Ground ports should go on generated icons. |
static int |
getIconGenInputRot()
Method to tell what angle Input ports should go on generated icons. |
static int |
getIconGenInputSide()
Method to tell where Input ports should go on generated icons. |
static int |
getIconGenInstanceLocation()
Method to tell where to place an instance of the generated icons in the original schematic. |
static double |
getIconGenLeadLength()
Method to tell how long to make leads in generated icons. |
static double |
getIconGenLeadSpacing()
Method to tell how far apart to space leads in generated icons. |
static int |
getIconGenLeftRot()
Method to tell what angle Left ports should go on generated icons. |
static int |
getIconGenOutputRot()
Method to tell what angle Output ports should go on generated icons. |
static int |
getIconGenOutputSide()
Method to tell where Output ports should go on generated icons. |
static int |
getIconGenPowerRot()
Method to tell what angle Power ports should go on generated icons. |
static int |
getIconGenPowerSide()
Method to tell where Power ports should go on generated icons. |
static int |
getIconGenRightRot()
Method to tell what angle Right ports should go on generated icons. |
static int |
getIconGenTopRot()
Method to tell what angle Top ports should go on generated icons. |
static Setting |
getIncludeDateAndVersionInOutputSetting()
Returns project Setting to tell whether to include the date and Electric version in output files. |
static TextUtils.UnitScale |
getInductanceUnits()
Method to get current inductance units. |
static int |
getMaxUndoHistory()
Method to get the maximum number of undos retained in memory |
static int |
getMemorySize()
Method to tell the maximum memory to use for Electric, in megatybes. |
static int |
getNewNodeRotation()
Method to return the default rotation of all new nodes. |
static int |
getPanningDistance()
Method to tell the distance to pan when shifting the screen or rolling the mouse wheel. |
static double |
getPatternedScaleLimit()
Method to tell the scale of EditWindow when use patterned drawing. |
static int |
getPermSpace()
Method to tell the maximum permanent space of 2dn GC to use for Electric, in megatybes. |
static int |
getPortDisplayLevel()
Method to tell how to display ports. |
static Setting |
getPWellProcessLayoutTechnologySetting()
Method to tell whether the process is a PWell process. |
static java.lang.String[] |
getRecentlyOpenedLibraries()
Get an array of File paths to recently opened libraries. |
static TextUtils.UnitScale |
getResistanceUnits()
Method to get current resistance units. |
static Technology |
getSchematicTechnology()
Method to choose the layout Technology to use when schematics are found. |
static Setting |
getSchematicTechnologySetting()
Returns project Setting to tell the layout Technology to use when schematics are found. |
static int |
getSmartHorizontalPlacementArc()
Method to tell what type of "smart" text placement should be done for horizontal Arcs. |
static int |
getSmartHorizontalPlacementExport()
Method to tell what type of "smart" horizontal text placement should be done for Exports. |
static int |
getSmartVerticalPlacementArc()
Method to tell what type of "smart" text placement should be done for vertical Arcs. |
static int |
getSmartVerticalPlacementExport()
Method to tell what type of "smart" vertical text placement should be done for Exports. |
static TextUtils.UnitScale |
getTimeUnits()
Method to get current time units. |
static User |
getUserTool()
Method to retrieve the singleton associated with the User tool. |
static TextUtils.UnitScale |
getVoltageUnits()
Method to get current voltage units. |
static int |
getWaveformAnalogPanelHeight()
Method to tell the height of analog waveform panels. |
static int |
getWaveformDigitalPanelHeight()
Method to tell the height of digital waveform panels. |
static java.lang.String |
getWorkingDirectory()
Method to get the path of the current working directory. |
void |
init()
Method to initialize the User Interface tool. |
protected void |
initProjectSettings()
Subclasses override this method to create ProjectSettings by Tool.makeXXXSetting methods declared below. |
static boolean |
isArcsAutoIncremented()
Method to tell whether Duplicate/Paste/Array of ArcInsts auto-increments arc names. |
static boolean |
isAutoTechnologySwitch()
Method to tell whether to switch technologies automatically when changing the current Cell. |
static boolean |
isBeepAfterLongJobs()
Method to tell whether to beep after long jobs. |
static boolean |
isCheckCellDates()
Method to tell whether to check Cell dates when placing instances. |
static boolean |
isDimUpperLevelWhenDownInPlace()
Method to tell whether to dim the upper levels of the display when editing down-in-place. |
static boolean |
isDisallowModificationComplexNodes()
Method to tell whether complex nodes can be modified. |
static boolean |
isDisallowModificationLockedPrims()
Method to tell whether locked primitives can be modified. |
static boolean |
isDraggingMustEncloseObjects()
Method to tell whether dragging a selection rectangle must completely encose objects in order to select them. |
static boolean |
isDupCopiesExports()
Method to tell whether Duplicate/Paste/Array of NodeInst copies exports. |
static boolean |
isEasySelectionOfCellInstances()
Method to tell whether cell instances are all be easy-to-select. |
static boolean |
isExtractCopiesExports()
Method to tell whether Extract of NodeInst copies exports. |
static boolean |
isFactoryArcsAutoIncremented()
Method to tell whether Duplicate/Paste/Array of ArcInsts auto-increments arc names, by default. |
static boolean |
isFactoryAutoTechnologySwitch()
Method to tell whether to switch technologies automatically when changing the current Cell, by default. |
static boolean |
isFactoryBeepAfterLongJobs()
Method to tell whether to beep after long jobs, by default. |
static boolean |
isFactoryCheckCellDates()
Method to tell whether to check Cell dates when placing instances, by default. |
static boolean |
isFactoryDimUpperLevelWhenDownInPlace()
Method to tell whether to dim the upper levels of the display when editing down-in-place, by default. |
static boolean |
isFactoryDisallowModificationComplexNodes()
Method to tell whether complex nodes can be modified by default. |
static boolean |
isFactoryDisallowModificationLockedPrims()
Method to tell whether locked primitives can be modified by default. |
static boolean |
isFactoryDraggingMustEncloseObjects()
Method to tell whether dragging a selection rectangle must completely encose objects in order to select them, by default. |
static boolean |
isFactoryDupCopiesExports()
Method to tell whether Duplicate/Paste/Array of NodeInst copies exports, by default. |
static boolean |
isFactoryEasySelectionOfCellInstances()
Method to tell whether cell instances are all be easy-to-select by default. |
static boolean |
isFactoryExtractCopiesExports()
Method to tell whether Extract of NodeInst copies exports, by default. |
static boolean |
isFactoryGridAxesShown()
Method to return true if grid axes are shown, by default. |
static boolean |
isFactoryHighlightConnectedObjects()
Method to set whether to highlight objects connected to the selected object, by default. |
static boolean |
isFactoryHighlightInvisibleObjects()
Method to set whether to highlight objects whose layers are all invisible, by default. |
static boolean |
isFactoryIconGenDrawBody()
Method to tell whether generated icons should have a body drawn by default. |
static boolean |
isFactoryIconGenDrawLeads()
Method to tell whether generated icons should have leads drawn by default. |
static boolean |
isFactoryIconGenReverseExportOrder()
Method to tell whether generated icons should reverse the order of exports, by default. |
static boolean |
isFactoryIconsAlwaysDrawn()
Method to tell whether generated icon exports should be "always drawn" by default. |
static boolean |
isFactoryJobVerboseMode()
Method to tell if jobs are described in messages window (verbose mode), by default. |
static boolean |
isFactoryLegacyComposite()
Method to tell whether to use lagacy composite in LayerDrawing, by default. |
static boolean |
isFactoryMouseOverHighlightingEnabled()
Method to tell whether dragging a selection rectangle must completely encose objects in order to select them, by default. |
static boolean |
isFactoryMoveAfterDuplicate()
Method to tell whether to move objects after duplicating them, by default. |
static boolean |
isFactoryMoveNodeWithExport()
Method to tell whether to move a node when its export name moves, by default. |
static boolean |
isFactoryPlaceCellCenter()
Method to tell whether to place a Cell-Center primitive in every newly created Cell, by default. |
static boolean |
isFactoryPlayClickSoundsWhenCreatingArcs()
Method to tell whether to play a "click" sound when an arc is created, by default. |
static boolean |
isFactoryPromptForIndexWhenDescending()
Method to tell whether to prompt the user for an array index when descending into arrayed nodes, by default. |
static boolean |
isFactoryReconstructArcsAndExportsToDeletedCells()
Method to tell whether to reconstruct arcs and exports to deleted cell instances, by default. |
static boolean |
isFactoryRotateLayoutTransistors()
Method to tell if layout transistors are rotated 90 degrees in the menu (and initial placement), by default. |
static boolean |
isFactoryShowFileSelectionForNetlists()
Method to tell whether to display a file selection dialog before writing netlists, by default. |
static boolean |
isFactoryShowHierarchicalCursorCoordinates()
Method to tell whether to show hierarchical cursor coordinates as they move in the edit window, by default. |
static boolean |
isFactorySideBarOnRight()
Method to tell whether to place the side bar on the right by default (factory setting). |
static boolean |
isFactoryUseCellGreekingImages()
Method to tell whether to use small images when greeking cells, by default. |
static boolean |
isFactoryUseClientServer()
Method to tell whether to use a separate client and server for Electric, by default. |
static boolean |
isFactoryUseTwoJVMs()
Method to tell whether to use two JVMs when running Electric, by default. |
static boolean |
isGridAxesShown()
Method to return true if grid axes are shown. |
static boolean |
isHighlightConnectedObjects()
Method to set whether to highlight objects connected to the selected object |
static boolean |
isHighlightInvisibleObjects()
Method to set whether to highlight objects whose layers are all invisible. |
static boolean |
isIconGenDrawBody()
Method to tell whether generated icons should have a body drawn. |
static boolean |
isIconGenDrawLeads()
Method to tell whether generated icons should have leads drawn. |
static boolean |
isIconGenReverseExportOrder()
Method to tell whether generated icons should reverse the order of exports. |
static boolean |
isIconsAlwaysDrawn()
Method to tell whether generated icon exports should be "always drawn". |
static boolean |
isIncludeDateAndVersionInOutput()
Method to tell whether to include the date and Electric version in output files. |
static boolean |
isJobVerboseMode()
Method to tell if jobs are described in messages window (verbose mode) The default is "false". |
static boolean |
isLegacyComposite()
Method to tell whether to use lagacy composite in LayerDrawing. |
static boolean |
isMouseOverHighlightingEnabled()
Method to tell whether dragging a selection rectangle must completely encose objects in order to select them. |
static boolean |
isMoveAfterDuplicate()
Method to tell whether to move objects after duplicating them. |
static boolean |
isMoveNodeWithExport()
Method to tell whether to move a node when its export name moves. |
static boolean |
isNewNodeMirrorX()
Method to tell whether new nodes are mirrored in X. |
static boolean |
isPlaceCellCenter()
Method to tell whether to place a Cell-Center primitive in every newly created Cell. |
static boolean |
isPlayClickSoundsWhenCreatingArcs()
Method to tell whether to play a "click" sound when an arc is created. |
static boolean |
isPromptForIndexWhenDescending()
Method to tell whether to prompt the user for an array index when descending into arrayed nodes. |
static boolean |
isPWellProcessLayoutTechnology()
|
static boolean |
isReconstructArcsAndExportsToDeletedCells()
Method to tell whether to reconstruct arcs and exports to deleted cell instances. |
static boolean |
isRotateLayoutTransistors()
Method to tell if layout transistors are rotated 90 degrees in the menu (and initial placement). |
static boolean |
isShowFileSelectionForNetlists()
Method to tell whether to display a file selection dialog before writing netlists. |
static boolean |
isShowHierarchicalCursorCoordinates()
Method to tell whether to show hierarchical cursor coordinates as they move in the edit window. |
static boolean |
isSideBarOnRight()
Method to tell whether to place the side bar on the right by default. |
static boolean |
isSnapshotLogging()
Method to tell whether to perform snapshot logging in a temporary file. |
static boolean |
isTextVisibilityOnAnnotation()
Method to tell whether to draw text annotation text. |
static boolean |
isTextVisibilityOnArc()
Method to tell whether to draw text that resides on arcs. |
static boolean |
isTextVisibilityOnCell()
Method to tell whether to draw text that resides on the cell. |
static boolean |
isTextVisibilityOnExport()
Method to tell whether to draw text that resides on exports. |
static boolean |
isTextVisibilityOnInstance()
Method to tell whether to draw the name of on cell instances. |
static boolean |
isTextVisibilityOnNode()
Method to tell whether to draw text that resides on nodes. |
static boolean |
isTextVisibilityOnPort()
Method to tell whether to draw text that resides on ports. |
static boolean |
isUseCellGreekingImages()
Method to tell whether to use small images when greeking cells. |
static boolean |
isUseClientServer()
Method to tell whether to use a separate client and server for Electric. |
static boolean |
isUseTwoJVMs()
Method to tell whether to use two JVMs when running Electric. |
static void |
layerVisibilityChanged(boolean onlyText)
Method called when visible layers have changed. |
static void |
playSound()
|
static void |
resetFactoryColor(User.ColorPrefType pref)
Method to reset to the factory color of a given special layer BACKGROUND: The default is "light gray". |
static void |
setAlignmentToGridVector(Dimension2D[] dist,
int current)
Method to set the default alignment of objects to the grid. |
static void |
setAlphaBlendingOvercolorLimit(double l)
Method to set the scale of EditWindow when use overcolor in alpha blending color composite. |
static void |
setAmperageUnits(TextUtils.UnitScale us)
Method to set the current amperage (current) units. |
static void |
setArcsAutoIncremented(boolean on)
Method to set whether Duplicate/Paste/Array of ArcInsts auto-increments arc names. |
static void |
setAutoTechnologySwitch(boolean on)
Method to set whether to switch technologies automatically when changing the current Cell. |
static void |
setBeepAfterLongJobs(boolean on)
Method to set whether to beep after long jobs. |
static void |
setCapacitanceUnits(TextUtils.UnitScale us)
Method to set the current capacitance units. |
static void |
setCheckCellDates(boolean on)
Method to set whether to check Cell dates when placing instances. |
static void |
setColor(User.ColorPrefType pref,
int color)
Method to set the color of a given special layer BACKGROUND: color of the background on the display. |
void |
setCurrentArcProto(ArcProto ap)
Method to set the "current" ArcProto, as maintained by the user interface. |
static void |
setCurrentLibrary(Library lib)
Method to switch libraries and handle technology editing details. |
void |
setCurrentNodeProto(NodeProto np)
Method to set the "current" NodeProto, as maintained by the user interface. |
static void |
setDefaultFont(java.lang.String f)
Method to set the default font to use on the display. |
static void |
setDefaultMessagesPos(java.awt.Point pt)
Method to set the default position of the messages window. |
static void |
setDefaultMessagesSize(java.awt.Dimension sz)
Method to set the default size of the messages window. |
static void |
setDefaultTextCellFont(java.lang.String f)
Method to set the default font to use when editing textual cells. |
static void |
setDefaultTextCellSize(int s)
Method to set the size of text in textual cells. |
static void |
setDefaultTextExternalEditor(java.lang.String e)
Method to set the program to invoke when externally editing textual cells. |
static void |
setDefaultWindowPos(java.awt.Point pt)
Method to set the default position of top-level windows. |
static void |
setDefaultWindowSize(java.awt.Dimension sz)
Method to set the default size of top-level windows. |
static void |
setDefaultWindowTab(int t)
Method to set the default tab to show. |
static void |
setDefGridXBoldFrequency(int dist)
Method to set the default frequency of bold grid dots in the X direction. |
static void |
setDefGridXSpacing(double dist)
Method to set the default spacing of grid dots in the X direction. |
static void |
setDefGridYBoldFrequency(int dist)
Method to set the default frequency of bold grid dots in the Y direction. |
static void |
setDefGridYSpacing(double dist)
Method to set the default spacing of grid dots in the Y direction. |
static void |
setDimUpperLevelWhenDownInPlace(boolean dim)
Method to set whether to dim the upper levels of the display when editing down-in-place. |
static void |
setDisallowModificationComplexNodes(boolean on)
Method to set whether complex nodes can be modified. |
static void |
setDisallowModificationLockedPrims(boolean on)
Method to set whether locked primitives can be modified. |
static void |
setDisplayAlgorithm(int w)
Method to set the display algorithm to use. |
static void |
setDisplayStyle(int s)
Method to set the initial display style for Electric. |
static void |
setDistanceUnits(TextUtils.UnitScale us)
Method to set the current distance units. |
static void |
setDraggingMustEncloseObjects(boolean on)
Method to set whether dragging a selection rectangle must completely encose objects in order to select them. |
static void |
setDupCopiesExports(boolean on)
Method to set whether Duplicate/Paste/Array of NodeInst copies exports. |
static void |
setEasySelectionOfCellInstances(boolean on)
Method to set whether cell instances are all be easy-to-select. |
static void |
setErrorLimit(int limit)
Method to set the maximum number of errors to log. |
static void |
setExportDisplayLevels(int level)
Method to set how to display exports. |
static void |
setExtractCopiesExports(boolean on)
Method to set whether Extract of NodeInst copies exports. |
static void |
setFrameCompanyName(java.lang.String c)
Method to set the company name to use in schematic frames. |
static void |
setFrameDesignerName(java.lang.String c)
Method to set the designer name to use in schematic frames. |
static void |
setFrameProjectName(java.lang.String c)
Method to set the project name to use in schematic frames. |
static void |
setGlobalTextScale(double s)
Method to set the default global text scale factor. |
static void |
setGreekCellSizeLimit(double l)
Method to set the ratio of cell size to screen size beyond which no cell greeking happens. |
static void |
setGreekSizeLimit(double l)
Method to set the smallest object that can be drawn. |
static void |
setGridAxesShown(boolean s)
Method to set if grid axes are shown. |
static void |
setHighlightConnectedObjects(boolean on)
Method to get whether to highlight objects connected to the selected object |
static void |
setHighlightInvisibleObjects(boolean on)
Method to get whether to highlight objects whose layers are all invisible. |
static void |
setIconGenBidirRot(int rot)
Method to set what angle Bidirectional ports should go on generated icons. |
static void |
setIconGenBidirSide(int side)
Method to set where Bidirectional ports should go on generated icons. |
static void |
setIconGenBodyTextSize(double s)
Method to set the size of body text on generated icons. |
static void |
setIconGenBottomRot(int rot)
Method to set what angle Bottom ports should go on generated icons. |
static void |
setIconGenClockRot(int rot)
Method to set what angle Clock ports should go on generated icons. |
static void |
setIconGenClockSide(int side)
Method to set where Clock ports should go on generated icons. |
static void |
setIconGenDrawBody(boolean on)
Method to set whether generated icons should have a body drawn. |
static void |
setIconGenDrawLeads(boolean on)
Method to set whether generated icons should have leads drawn. |
static void |
setIconGenExportLocation(int loc)
Method to set how exports should appear along the leads in generated icons. |
static void |
setIconGenExportPlacement(int rot)
Method to set how exports are placed in generated icons. |
static void |
setIconGenExportPlacementExact(boolean flag)
Method to set whether exports are placed exactly according to schematics. |
static void |
setIconGenExportStyle(int style)
Method to set how the text should appear in generated icons. |
static void |
setIconGenExportTech(int t)
Method to set how exports should be constructed in generated icons. |
static void |
setIconGenGroundRot(int rot)
Method to set what angle Ground ports should go on generated icons. |
static void |
setIconGenGroundSide(int side)
Method to set where Ground ports should go on generated icons. |
static void |
setIconGenInputRot(int rot)
Method to set what angle Input ports should go on generated icons. |
static void |
setIconGenInputSide(int side)
Method to set where Input ports should go on generated icons. |
static void |
setIconGenInstanceLocation(int loc)
Method to set where to place an instance of the generated icons in the original schematic. |
static void |
setIconGenLeadLength(double len)
Method to set how long to make leads in generated icons. |
static void |
setIconGenLeadSpacing(double dist)
Method to set how far apart to space leads in generated icons. |
static void |
setIconGenLeftRot(int rot)
Method to set what angle Left ports should go on generated icons. |
static void |
setIconGenOutputRot(int rot)
Method to set what angle Output ports should go on generated icons. |
static void |
setIconGenOutputSide(int side)
Method to set where Output ports should go on generated icons. |
static void |
setIconGenPowerRot(int rot)
Method to set what angle Power ports should go on generated icons. |
static void |
setIconGenPowerSide(int side)
Method to set where Power ports should go on generated icons. |
static void |
setIconGenReverseExportOrder(boolean on)
Method to set whether generated icons should reverse the order of exports. |
static void |
setIconGenRightRot(int rot)
Method to set what angle Right ports should go on generated icons. |
static void |
setIconGenTopRot(int rot)
Method to set what angle Top ports should go on generated icons. |
static void |
setIconsAlwaysDrawn(boolean on)
Method to set whether generated icon exports should be "always drawn". |
static void |
setInductanceUnits(TextUtils.UnitScale us)
Method to set the current inductance units. |
static void |
setJobVerboseMode(boolean on)
Method to set whether jobs are described in messages window. |
static void |
setLegacyComposite(boolean on)
Method to set whether to use lagacy composite in LayerDrawing. |
static void |
setMaxUndoHistory(int n)
Method to set the maximum number of undos retained in memory |
static void |
setMemorySize(int limit)
Method to set the maximum memory to use for Electric. |
static void |
setMouseOverHighlightingEnabled(boolean on)
Method to set whether dragging a selection rectangle must completely encose objects in order to select them. |
static void |
setMoveAfterDuplicate(boolean on)
Method to set whether to move objects after duplicating them. |
static void |
setMoveNodeWithExport(boolean on)
Method to set whether to move a node when its export name moves. |
static void |
setNewNodeMirrorX(boolean on)
Method to set whether new nodes are mirrored in X. |
static void |
setNewNodeRotation(int rot)
Method to set the default rotation of all new nodes. |
static void |
setPanningDistance(int d)
Method to set the distance to pan when shifting the screen or rolling the mouse wheel. |
static void |
setPatternedScaleLimit(double l)
Method to set the scale of EditWindow when use patterned drawing. |
static void |
setPermSpace(int limit)
Method to set the maximum permanent space of 2dn GC to use for Electric. |
static void |
setPlaceCellCenter(boolean on)
Method to set whether to place a Cell-Center primitive in every newly created Cell. |
static void |
setPlayClickSoundsWhenCreatingArcs(boolean on)
Method to set whether to play a "click" sound when an arc is created |
static void |
setPortDisplayLevels(int level)
Method to set how to display ports. |
static void |
setPromptForIndexWhenDescending(boolean on)
Method to set whether to prompt the user for an array index when descending into arrayed nodes. |
static void |
setReconstructArcsAndExportsToDeletedCells(boolean on)
Method to set whether to reconstruct arcs and exports to deleted cell instances. |
static void |
setResistanceUnits(TextUtils.UnitScale us)
Method to set the current resistance units. |
static void |
setRotateLayoutTransistors(boolean on)
Method to set whether layout transistors are rotated 90 degrees in the menu (and initial placement). |
static void |
setShowFileSelectionForNetlists(boolean on)
Method to set whether to display a file selection dialog before writing netlists. |
static void |
setShowHierarchicalCursorCoordinates(boolean on)
Method to set whether to show hierarchical cursor coordinates as they move in the edit window. |
static void |
setSideBarOnRight(boolean on)
Method to set whether to place the side bar on the right by default. |
static void |
setSmartHorizontalPlacementArc(int s)
Method to set the type of "smart" text placement to be done for horizontal Arcs. |
static void |
setSmartHorizontalPlacementExport(int s)
Method to set the type of "smart" horizontal text placement to be done for Exports. |
static void |
setSmartVerticalPlacementArc(int s)
Method to set the type of "smart" text placement to be done for vertical Arcs. |
static void |
setSmartVerticalPlacementExport(int s)
Method to set the type of "smart" vertical text placement to be done for Exports. |
static void |
setSnapshotLogging(boolean on)
Method to set whether to perform snapshot logging in a temporary file |
static void |
setTextVisibilityOnAnnotation(boolean on)
Method to set whether to draw annotation text. |
static void |
setTextVisibilityOnArc(boolean on)
Method to set whether to draw text that resides on arcs. |
static void |
setTextVisibilityOnCell(boolean on)
Method to set whether to draw text that resides on the cell. |
static void |
setTextVisibilityOnExport(boolean on)
Method to set whether to draw text that resides on exports. |
static void |
setTextVisibilityOnInstance(boolean on)
Method to set whether to draw the name of on cell instances. |
static void |
setTextVisibilityOnNode(boolean on)
Method to set whether to draw text that resides on nodes. |
static void |
setTextVisibilityOnPort(boolean on)
Method to set whether to draw text that resides on ports. |
static void |
setTimeUnits(TextUtils.UnitScale us)
Method to set the current time units. |
static void |
setUseCellGreekingImages(boolean on)
Method to set whether to use small images when greeking cells. |
static void |
setUseClientServer(boolean on)
Method to set whether to use a separate client and server for Electric |
static void |
setUseTwoJVMs(boolean on)
Method to set whether to use two JVMs when running Electric. |
static void |
setVoltageUnits(TextUtils.UnitScale us)
Method to set the current voltage units. |
static void |
setWaveformAnalogPanelHeight(int h)
Method to set the height of analog waveform panels. |
static void |
setWaveformDigitalPanelHeight(int h)
Method to set the height of digital waveform panels. |
static void |
setWorkingDirectory(java.lang.String dir)
Method to set the path of the current working directory. |
static void |
technologyChanged()
Method called when a technology's parameters change. |
Methods inherited from class com.sun.electric.tool.Listener |
---|
eraseLibrary, examineCell, killObject, modifyArcInst, modifyCell, modifyCellGroup, modifyExport, modifyLibrary, modifyNodeInst, newObject, readLibrary, renameObject, request, slice, startBatch, writeLibrary |
Methods inherited from class com.sun.electric.tool.Tool |
---|
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getDiskSettings, getIndex, getListeners, getName, getNumTools, getProjectSettings, getSetting, getTools, initAllTools, isAnalysis, isBackground, isFixErrors, isIncremental, isOn, isSynthesis, makeBooleanSetting, makeDoubleSetting, makeIntSetting, makeLongSetting, makeStringSetting, setAnalysis, setBackground, setFixErrors, setIncremental, setOn, setSynthesis, setVarInJob, testAll, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Variable.Key FRAME_SIZE
public static final Variable.Key FRAME_COMPANY_NAME
public static final Variable.Key FRAME_DESIGNER_NAME
public static final Variable.Key FRAME_LAST_CHANGED_BY
public static final Variable.Key FRAME_PROJECT_NAME
Method Detail |
---|
public void init()
init
in interface Changes
init
in class Tool
public static User getUserTool()
public void endBatch(Snapshot oldSnapshot, Snapshot newSnapshot, boolean undoRedo)
endBatch
in interface Changes
endBatch
in class Listener
oldSnapshot
- database snapshot before Job.newSnapshot
- database snapshot after Job and constraint propagation.undoRedo
- true if Job was Undo/Redo job.public static void fixStaleCellReferences(IdMapper idMapper)
idMapper
- mapping of Library/Cell/Export ids, null if the library was renamed.public static java.awt.geom.Rectangle2D getChangedInWindow(EditWindow wnd)
wnd
- the EditWindow in question.
public static void clearChangedInWindow(EditWindow wnd)
wnd
- the EditWindow in question.public static void technologyChanged()
public static void layerVisibilityChanged(boolean onlyText)
public NodeProto getCurrentNodeProto()
public void setCurrentNodeProto(NodeProto np)
np
- the new "current" NodeProto.public ArcProto getCurrentArcProto()
public void setCurrentArcProto(ArcProto ap)
ap
- the new "current" ArcProto.public static void playSound()
public static void setCurrentLibrary(Library lib)
public static java.lang.String getDefaultTechnology()
public static Setting getDefaultTechnologySetting()
public static Technology getSchematicTechnology()
public static Setting getSchematicTechnologySetting()
public static boolean isIncludeDateAndVersionInOutput()
public static Setting getIncludeDateAndVersionInOutputSetting()
public static Setting getPWellProcessLayoutTechnologySetting()
public static boolean isPWellProcessLayoutTechnology()
protected void initProjectSettings()
Tool
initProjectSettings
in class Tool
public static boolean isIconGenDrawLeads()
public static void setIconGenDrawLeads(boolean on)
on
- true if generated icons should have leads drawn.public static boolean isFactoryIconGenDrawLeads()
public static boolean isIconsAlwaysDrawn()
public static void setIconsAlwaysDrawn(boolean on)
on
- true if generated icon exports should be "always drawn".public static boolean isFactoryIconsAlwaysDrawn()
public static boolean isIconGenDrawBody()
public static void setIconGenDrawBody(boolean on)
on
- true if generated icons should have a body drawn.public static boolean isFactoryIconGenDrawBody()
public static double getIconGenBodyTextSize()
public static void setIconGenBodyTextSize(double s)
s
- the size of body text on generated icons.public static double getFactoryIconGenBodyTextSize()
public static boolean isIconGenReverseExportOrder()
public static void setIconGenReverseExportOrder(boolean on)
on
- true if generated icons should reverse the order of exports.public static boolean isFactoryIconGenReverseExportOrder()
public static int getIconGenInputSide()
public static void setIconGenInputSide(int side)
side
- information about where Input ports should go on generated icons.
0: left 1: right 2: top 3: bottompublic static int getFactoryIconGenInputSide()
public static int getIconGenOutputSide()
public static void setIconGenOutputSide(int side)
side
- information about where Output ports should go on generated icons.
0: left 1: right (the default) 2: top 3: bottompublic static int getFactoryIconGenOutputSide()
public static int getIconGenBidirSide()
public static void setIconGenBidirSide(int side)
side
- information about where Bidirectional ports should go on generated icons.
0: left 1: right 2: top (the default) 3: bottompublic static int getFactoryIconGenBidirSide()
public static int getIconGenPowerSide()
public static void setIconGenPowerSide(int side)
side
- information about where Power ports should go on generated icons.
0: left 1: right 2: top 3: bottom (the default)public static int getFactoryIconGenPowerSide()
public static int getIconGenGroundSide()
public static void setIconGenGroundSide(int side)
side
- information about where Ground ports should go on generated icons.
0: left 1: right 2: top 3: bottom (the default)public static int getFactoryIconGenGroundSide()
public static int getIconGenClockSide()
public static void setIconGenClockSide(int side)
side
- information about where Clock ports should go on generated icons.
0: left (the default) 1: right 2: top 3: bottompublic static int getFactoryIconGenClockSide()
public static int getIconGenExportPlacement()
public static void setIconGenExportPlacement(int rot)
rot
- information about how exports are placed in generated icons.
0: by characteristic 1: by location in original cellpublic static int getFactoryIconGenExportPlacement()
public static boolean getIconGenExportPlacementExact()
public static void setIconGenExportPlacementExact(boolean flag)
flag
- true to place exports exactly according to schematics.
false: to place exports relative to their location in the original cell.public static boolean getFactoryIconGenExportPlacementExact()
public static int getIconGenInputRot()
public static void setIconGenInputRot(int rot)
rot
- information about what angle Input ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenInputRot()
public static int getIconGenOutputRot()
public static void setIconGenOutputRot(int rot)
rot
- information about what angle Output ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenOutputRot()
public static int getIconGenBidirRot()
public static void setIconGenBidirRot(int rot)
rot
- information about what angle Bidirectional ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenBidirRot()
public static int getIconGenPowerRot()
public static void setIconGenPowerRot(int rot)
rot
- information about what angle Power ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenPowerRot()
public static int getIconGenGroundRot()
public static void setIconGenGroundRot(int rot)
rot
- information about what angle Ground ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenGroundRot()
public static int getIconGenClockRot()
public static void setIconGenClockRot(int rot)
rot
- information about what angle Clock ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenClockRot()
public static int getIconGenTopRot()
public static void setIconGenTopRot(int rot)
rot
- information about what angle Top ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenTopRot()
public static int getIconGenBottomRot()
public static void setIconGenBottomRot(int rot)
rot
- information about what angle Bottom ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenBottomRot()
public static int getIconGenLeftRot()
public static void setIconGenLeftRot(int rot)
rot
- information about what angle Left ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenLeftRot()
public static int getIconGenRightRot()
public static void setIconGenRightRot(int rot)
rot
- information about what angle Right ports should go on generated icons.
0: normal 1: rotate 90 degrees 2: rotate 180 degrees 3: rotate 270 degreespublic static int getFactoryIconGenRightRot()
public static int getIconGenExportLocation()
public static void setIconGenExportLocation(int loc)
loc
- information about where exports should appear along the leads in generated icons.
0: on the body 1: at the end of the lead (the default) 2: in the middle of the leadpublic static int getFactoryIconGenExportLocation()
public static int getIconGenExportStyle()
public static void setIconGenExportStyle(int style)
style
- information about how the text should appear in generated icons.
0: centered at the export location
1: pointing inward from the export location
2: pointing outward from the export locationpublic static int getFactoryIconGenExportStyle()
public static int getIconGenExportTech()
public static void setIconGenExportTech(int t)
t
- information about how exports should be constructed in generated icons.
0: use Generic:Universal-Pins for non-bus exports (can connect to ANYTHING).
1: use Schematic:Bus-Pins for exports (can connect to schematic busses or wires).public static int getFactoryIconGenExportTech()
public static int getIconGenInstanceLocation()
public static void setIconGenInstanceLocation(int loc)
loc
- information about where to place an instance of the generated icons in the original schematic.
0: in the upper-right corner.
1: in the upper-left corner.
2: in the lower-right corner.
3: in the lower-left corner.
4: no instance in the original schematicpublic static int getFactoryIconGenInstanceLocation()
public static double getIconGenLeadLength()
public static void setIconGenLeadLength(double len)
len
- how long to make leads in generated icons.public static double getFactoryIconGenLeadLength()
public static double getIconGenLeadSpacing()
public static void setIconGenLeadSpacing(double dist)
dist
- how far apart to space leads in generated icons.public static double getFactoryIconGenLeadSpacing()
public static int getPortDisplayLevel()
public static void setPortDisplayLevels(int level)
level
- how to display ports.
0: full port names (the default).
1: short port names (stopping at the first nonalphabetic character).
2: ports drawn as crosses.public static int getFactoryPortDisplayLevel()
public static int getExportDisplayLevel()
public static void setExportDisplayLevels(int level)
level
- how to display exports.
0: full export names (the default).
1: short export names (stopping at the first nonalphabetic character).
2: exports drawn as crosses.public static int getFactoryExportDisplayLevel()
public static boolean isMoveNodeWithExport()
public static void setMoveNodeWithExport(boolean on)
on
- true to move a node when its export name moves.public static boolean isFactoryMoveNodeWithExport()
public static boolean isEasySelectionOfCellInstances()
public static void setEasySelectionOfCellInstances(boolean on)
on
- true if cell instances are all to be easy-to-select.public static boolean isFactoryEasySelectionOfCellInstances()
public static boolean isDraggingMustEncloseObjects()
public static void setDraggingMustEncloseObjects(boolean on)
on
- true if dragging a selection rectangle must completely encose objects in order to select them.public static boolean isFactoryDraggingMustEncloseObjects()
public static boolean isMouseOverHighlightingEnabled()
public static void setMouseOverHighlightingEnabled(boolean on)
on
- true if dragging a selection rectangle must completely encose objects in order to select them.public static boolean isFactoryMouseOverHighlightingEnabled()
public static boolean isHighlightConnectedObjects()
public static void setHighlightConnectedObjects(boolean on)
on
- true to highlight objects connected to the selected objectpublic static boolean isFactoryHighlightConnectedObjects()
public static boolean isHighlightInvisibleObjects()
public static void setHighlightInvisibleObjects(boolean on)
on
- true to highlight objects whose layers are all invisible.public static boolean isFactoryHighlightInvisibleObjects()
public static double getDefGridXSpacing()
public static void setDefGridXSpacing(double dist)
dist
- the default spacing of grid dots in the X direction.public static double getFactoryDefGridXSpacing()
public static double getDefGridYSpacing()
public static void setDefGridYSpacing(double dist)
dist
- the default spacing of grid dots in the Y direction.public static double getFactoryDefGridYSpacing()
public static int getDefGridXBoldFrequency()
public static void setDefGridXBoldFrequency(int dist)
dist
- the default frequency of bold grid dots in the X direction.public static int getFactoryDefGridXBoldFrequency()
public static int getDefGridYBoldFrequency()
public static void setDefGridYBoldFrequency(int dist)
dist
- the default frequency of bold grid dots in the Y direction.public static int getFactoryDefGridYBoldFrequency()
public static Dimension2D getAlignmentToGrid()
public static int getAlignmentToGridIndex()
public static Dimension2D[] getAlignmentToGridVector()
public static Dimension2D getFactoryAlignmentToGrid()
public static int getFactoryAlignmentToGridIndex()
public static Dimension2D[] getFactoryAlignmentToGridVector()
public static void setAlignmentToGridVector(Dimension2D[] dist, int current)
dist
- the array of grid alignment values.current
- the index in the array that is the current grid alignment.public static boolean isGridAxesShown()
public static void setGridAxesShown(boolean s)
s
- true if grid axes are shown.public static boolean isFactoryGridAxesShown()
public static boolean isTextVisibilityOnNode()
public static void setTextVisibilityOnNode(boolean on)
on
- true if the system should draw text that resides on nodes.public static boolean isTextVisibilityOnArc()
public static void setTextVisibilityOnArc(boolean on)
on
- true if the system should draw text that resides on arcs.public static boolean isTextVisibilityOnPort()
public static void setTextVisibilityOnPort(boolean on)
on
- true if the system should draw text that resides on ports.public static boolean isTextVisibilityOnExport()
public static void setTextVisibilityOnExport(boolean on)
on
- true if the system should draw text that resides on exports.public static boolean isTextVisibilityOnAnnotation()
public static void setTextVisibilityOnAnnotation(boolean on)
on
- true if the system should draw annotation text.public static boolean isTextVisibilityOnInstance()
public static void setTextVisibilityOnInstance(boolean on)
on
- true if the system should draw the name of on cell instances.public static boolean isTextVisibilityOnCell()
public static void setTextVisibilityOnCell(boolean on)
on
- true if the system should draw text that resides on the cell.public static int getSmartVerticalPlacementExport()
public static void setSmartVerticalPlacementExport(int s)
s
- the type of "smart" vertical text placement to be done for Exports.public static int getFactorySmartVerticalPlacementExport()
public static int getSmartHorizontalPlacementExport()
public static void setSmartHorizontalPlacementExport(int s)
s
- the type of "smart" horizontal text placement to be done for Exports.public static int getFactorySmartHorizontalPlacementExport()
public static int getSmartVerticalPlacementArc()
public static void setSmartVerticalPlacementArc(int s)
s
- the type of "smart" text placement to be done for vertical Arcs.public static int getFactorySmartVerticalPlacementArc()
public static int getSmartHorizontalPlacementArc()
public static void setSmartHorizontalPlacementArc(int s)
s
- the type of "smart" text placement to be done for horizontal Arcs.public static int getFactorySmartHorizontalPlacementArc()
public static java.lang.String getDefaultFont()
public static void setDefaultFont(java.lang.String f)
f
- the default font to use on the display.public static java.lang.String getFactoryDefaultFont()
public static java.lang.String getDefaultTextCellFont()
public static void setDefaultTextCellFont(java.lang.String f)
f
- the default font to use when editing textual cells.public static java.lang.String getFactoryDefaultTextCellFont()
public static int getDefaultTextCellSize()
public static void setDefaultTextCellSize(int s)
s
- the size of text in textual cells.public static int getFactoryDefaultTextCellSize()
public static double getGlobalTextScale()
public static void setGlobalTextScale(double s)
s
- the default global text scale.public static double getFactoryGlobalTextScale()
public static java.lang.String getDefaultTextExternalEditor()
public static void setDefaultTextExternalEditor(java.lang.String e)
e
- the program to invoke when externally editing textual cells.public static java.lang.String getFactoryDefaultTextExternalEditor()
public static java.lang.String getFrameCompanyName()
public static void setFrameCompanyName(java.lang.String c)
c
- the company name to use in schematic frames.public static java.lang.String getFactoryFrameCompanyName()
public static java.lang.String getFrameDesignerName()
public static void setFrameDesignerName(java.lang.String c)
c
- the designer name to use in schematic frames.public static java.lang.String getFactoryFrameDesignerName()
public static java.lang.String getFrameProjectName()
public static void setFrameProjectName(java.lang.String c)
c
- the project name to use in schematic frames.public static java.lang.String getFactoryFrameProjectName()
public static int getColor(User.ColorPrefType pref)
pref
- special layer in question
public static Pref getColorPref(User.ColorPrefType pref)
public static void setColor(User.ColorPrefType pref, int color)
pref
- color
- public static void resetFactoryColor(User.ColorPrefType pref)
pref
- public static TextUtils.UnitScale getDistanceUnits()
public static void setDistanceUnits(TextUtils.UnitScale us)
us
- the current distance units.public static TextUtils.UnitScale getFactoryDistanceUnits()
public static TextUtils.UnitScale getResistanceUnits()
public static void setResistanceUnits(TextUtils.UnitScale us)
us
- the current resistance units.public static TextUtils.UnitScale getFactoryResistanceUnits()
public static TextUtils.UnitScale getCapacitanceUnits()
public static void setCapacitanceUnits(TextUtils.UnitScale us)
us
- the current capacitance units.public static TextUtils.UnitScale getFactoryCapacitanceUnits()
public static TextUtils.UnitScale getInductanceUnits()
public static void setInductanceUnits(TextUtils.UnitScale us)
us
- the current inductance units.public static TextUtils.UnitScale getFactoryInductanceUnits()
public static TextUtils.UnitScale getAmperageUnits()
public static void setAmperageUnits(TextUtils.UnitScale us)
us
- the current amperage (current) units.public static TextUtils.UnitScale getFactoryAmperageUnits()
public static TextUtils.UnitScale getVoltageUnits()
public static void setVoltageUnits(TextUtils.UnitScale us)
us
- the current voltage units.public static TextUtils.UnitScale getFactoryVoltageUnits()
public static TextUtils.UnitScale getTimeUnits()
public static void setTimeUnits(TextUtils.UnitScale us)
us
- the current time units.public static TextUtils.UnitScale getFactoryTimeUnits()
public static java.lang.String getWorkingDirectory()
public static void setWorkingDirectory(java.lang.String dir)
dir
- the path of the current working directory.public static java.lang.String[] getRecentlyOpenedLibraries()
public static void addRecentlyOpenedLibrary(java.lang.String s)
s
- the file path to a librarypublic static void clearRecentlyOpenedLibraries()
public static boolean isPromptForIndexWhenDescending()
public static void setPromptForIndexWhenDescending(boolean on)
on
- true to prompt the user for an array index when descending into arrayed nodes.public static boolean isFactoryPromptForIndexWhenDescending()
public static boolean isBeepAfterLongJobs()
public static void setBeepAfterLongJobs(boolean on)
on
- true if the system should beep after long jobs.public static boolean isFactoryBeepAfterLongJobs()
public static boolean isJobVerboseMode()
public static void setJobVerboseMode(boolean on)
on
- true if jobs are described in the messages window.public static boolean isFactoryJobVerboseMode()
public static boolean isRotateLayoutTransistors()
public static void setRotateLayoutTransistors(boolean on)
on
- true if layout transistors are rotated 90 degrees in the menu (and initial placement).public static boolean isFactoryRotateLayoutTransistors()
public static boolean isSideBarOnRight()
public static void setSideBarOnRight(boolean on)
on
- true to place the side bar on the right by default.public static boolean isFactorySideBarOnRight()
public static int getDefaultWindowTab()
public static void setDefaultWindowTab(int t)
t
- the default tab to show.public static java.awt.Point getDefaultWindowPos()
public static void setDefaultWindowPos(java.awt.Point pt)
pt
- the default position of top-level windows.public static java.awt.Dimension getDefaultWindowSize()
public static void setDefaultWindowSize(java.awt.Dimension sz)
sz
- the default size of top-level windows.public static java.awt.Point getDefaultMessagesPos()
public static void setDefaultMessagesPos(java.awt.Point pt)
pt
- the default position of the messages window.public static java.awt.Dimension getDefaultMessagesSize()
public static void setDefaultMessagesSize(java.awt.Dimension sz)
sz
- the default size of the messages window.public static boolean isPlayClickSoundsWhenCreatingArcs()
public static void setPlayClickSoundsWhenCreatingArcs(boolean on)
on
- true if the system should play a "click" sound when an arc is createdpublic static boolean isFactoryPlayClickSoundsWhenCreatingArcs()
public static boolean isShowHierarchicalCursorCoordinates()
public static void setShowHierarchicalCursorCoordinates(boolean on)
on
- true to show hierarchical cursor coordinates as they move in the edit window.public static boolean isFactoryShowHierarchicalCursorCoordinates()
public static boolean isDimUpperLevelWhenDownInPlace()
public static void setDimUpperLevelWhenDownInPlace(boolean dim)
dim
- true to dim the upper levels of the display when editing down-in-place.public static boolean isFactoryDimUpperLevelWhenDownInPlace()
public static int getDisplayAlgorithm()
public static void setDisplayAlgorithm(int w)
w
- 0 for the pixel display algorithm (oldest);
1 for the vector display algorithm (old);
2 for the layer display algorithm (new).public static int getFactoryDisplayAlgorithm()
public static boolean isUseCellGreekingImages()
public static void setUseCellGreekingImages(boolean on)
on
- true to use small images when greeking cells.public static boolean isFactoryUseCellGreekingImages()
public static double getGreekSizeLimit()
public static void setGreekSizeLimit(double l)
l
- the smallest object that can be drawn.public static double getFactoryGreekSizeLimit()
public static double getGreekCellSizeLimit()
public static void setGreekCellSizeLimit(double l)
l
- the ratio of cell size to screen size beyond which no cell greeking happens.public static double getFactoryGreekCellSizeLimit()
public static double getPatternedScaleLimit()
public static void setPatternedScaleLimit(double l)
l
- the scale of EditWindow when use patterned drawing.public static double getFactoryPatternedScaleLimit()
public static boolean isLegacyComposite()
public static void setLegacyComposite(boolean on)
on
- true to use lagacy composite in LayerDrawing.public static boolean isFactoryLegacyComposite()
public static double getAlphaBlendingOvercolorLimit()
public static void setAlphaBlendingOvercolorLimit(double l)
l
- the scale of EditWindow when use overcolor in alpha blending.public static double getFactoryAlphaBlendingOvercolorLimit()
public static boolean isShowFileSelectionForNetlists()
public static void setShowFileSelectionForNetlists(boolean on)
on
- true if the system should display a file selection dialog before writing netlists.public static boolean isFactoryShowFileSelectionForNetlists()
public static int getPanningDistance()
public static void setPanningDistance(int d)
d
- the distance to pan when shifting the screen or rolling the mouse wheel.
The values are: 0=small, 1=medium, 2=large.public static int getFactoryPanningDistance()
public static int getDisplayStyle()
public static void setDisplayStyle(int s)
s
- the display style for Electric.
The values are: 0=OS default, 1=MDI, 2=SDI.
Changes do not take effect until Electric is restarted.public static int getFactoryDisplayStyle()
public static int getErrorLimit()
public static void setErrorLimit(int limit)
limit
- the maximum number of errors to log.
A value of zero indicates that there is no limit.public static int getFactoryErrorLimit()
public static int getMaxUndoHistory()
public static void setMaxUndoHistory(int n)
public static int getFactoryMaxUndoHistory()
public static int getMemorySize()
public static void setMemorySize(int limit)
limit
- maximum memory to use for Electric (in megabytes).public static int getFactoryMemorySize()
public static int getPermSpace()
public static void setPermSpace(int limit)
limit
- maximum permanent space of 2dn GC to use for Electric (in megabytes).public static int getFactoryPermSpace()
public static boolean isUseTwoJVMs()
public static void setUseTwoJVMs(boolean on)
on
- true to use two JVMs when running Electric.public static boolean isFactoryUseTwoJVMs()
public static boolean isUseClientServer()
public static void setUseClientServer(boolean on)
on
- true to use a separate client and server for Electricpublic static boolean isFactoryUseClientServer()
public static boolean isSnapshotLogging()
public static void setSnapshotLogging(boolean on)
on
- true to perform snapshot logging iu a temporary filepublic static boolean isAutoTechnologySwitch()
public static void setAutoTechnologySwitch(boolean on)
on
- true if the system should switch technologies automatically when changing the current Cell.public static boolean isFactoryAutoTechnologySwitch()
public static boolean isPlaceCellCenter()
public static void setPlaceCellCenter(boolean on)
on
- true if the system should place a Cell-Center primitive in every newly created Cell.public static boolean isFactoryPlaceCellCenter()
public static boolean isReconstructArcsAndExportsToDeletedCells()
public static void setReconstructArcsAndExportsToDeletedCells(boolean on)
on
- true if the system should reconstruct arcs and exports to deleted cell instances.public static boolean isFactoryReconstructArcsAndExportsToDeletedCells()
public static boolean isCheckCellDates()
public static void setCheckCellDates(boolean on)
on
- true if the system should check Cell dates when placing instances.public static boolean isFactoryCheckCellDates()
public static boolean isDisallowModificationLockedPrims()
public static void setDisallowModificationLockedPrims(boolean on)
on
- true if locked primitives cannot be modified.public static boolean isFactoryDisallowModificationLockedPrims()
public static boolean isDisallowModificationComplexNodes()
public static void setDisallowModificationComplexNodes(boolean on)
on
- true if complex nodes cannot be modified.public static boolean isFactoryDisallowModificationComplexNodes()
public static boolean isMoveAfterDuplicate()
public static void setMoveAfterDuplicate(boolean on)
on
- true if the system should move objects after duplicating them.public static boolean isFactoryMoveAfterDuplicate()
public static boolean isDupCopiesExports()
public static void setDupCopiesExports(boolean on)
on
- true if the system copies exports when doing a Duplicate/Paste/Array of a NodeInst.public static boolean isFactoryDupCopiesExports()
public static boolean isExtractCopiesExports()
public static void setExtractCopiesExports(boolean on)
on
- true if the system copies exports when doing an Extract of a NodeInst.public static boolean isFactoryExtractCopiesExports()
public static boolean isArcsAutoIncremented()
public static void setArcsAutoIncremented(boolean on)
on
- true if the system auto-increments arc names when doing a Duplicate/Paste/Array.public static boolean isFactoryArcsAutoIncremented()
public static int getNewNodeRotation()
public static void setNewNodeRotation(int rot)
rot
- the default rotation of all new nodes.public static boolean isNewNodeMirrorX()
public static void setNewNodeMirrorX(boolean on)
on
- true if new nodes are mirrored in X.public static int getWaveformDigitalPanelHeight()
public static void setWaveformDigitalPanelHeight(int h)
h
- the height of digital waveform panels.public static int getWaveformAnalogPanelHeight()
public static void setWaveformAnalogPanelHeight(int h)
h
- the height of analog waveform panels.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |