Modifier and Type | Class and Description |
---|---|
static class |
User.ColorPrefType
COLOR PREFERENCES
|
Modifier and Type | Field and Description |
---|---|
static Pref |
cacheWindowLoc |
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.
|
static Pref |
prefScriptList |
static Pref |
prefSortLexically |
static Pref |
savedConfigurations |
static Pref |
toolbarFilesPref |
static Pref |
toolbarOrderPref |
Modifier and Type | Method and Description |
---|---|
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 or 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 EDimension |
getAlignmentToGrid()
Method to return the default alignment of objects to the grid.
|
static int |
getAlignmentToGridIndex()
Method to return index of the current alignment.
|
static EDimension[] |
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 ERectangle |
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.
|
ArcProto |
getCurrentArcProto()
Method to return the "current" ArcProto, as maintained by the user interface.
|
java.lang.String |
getCurrentContactNodeProto(Technology tech,
java.lang.String mainContactName)
Method to return the current contact in the component menu when an entry has multiple choices.
|
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 preference 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.
|
java.util.List<PrimitivePort> |
getEquivalentPorts(PrimitivePort p)
Method to provide list of equivalent ports based on the arc protos associated to it.
|
static int |
getErrorLimit()
Method to tell the maximum number of errors to log.
|
static int |
getExportDisplayLevel()
Method to tell how to display exports.
|
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 boolean |
getFactoryEnableLog()
Method to tell if logging into Electric's logfile is enable, by default.
|
static int |
getFactoryErrorLimit()
Method to tell the maximum number of errors to log, 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 |
getFactoryIconGenBidirSide()
Method to tell where Bidirectional ports should go on generated icons, by default.
|
static int |
getFactoryIconGenBottomRot()
Method to tell what angle Bottom 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 |
getFactoryIconGenGroundSide()
Method to tell where Ground 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 |
getFactoryIconGenLeftRot()
Method to tell what angle Left 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 |
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 java.lang.String |
getFactoryLayersSorting()
Method to retrieve the layers sorting algorithm, by default.
|
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 boolean |
getFactoryMultipleLog()
Method to tell if multiple logfiles are enable, 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 TextUtils.UnitScale |
getFactoryResistanceUnits()
Method to get default resistance units.
|
static Technology |
getFactorySchematicTechnology()
Method to choose the layout Technology to use when schematics are found, 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 |
getIconGenBidirSide()
Method to tell where Bidirectional ports should go on generated icons.
|
static int |
getIconGenBottomRot()
Method to tell what angle Bottom ports should go on generated icons.
|
static int |
getIconGenClockSide()
Method to tell where Clock ports should go on generated icons.
|
static int |
getIconGenGroundSide()
Method to tell where Ground ports should go on generated icons.
|
static int |
getIconGenInputSide()
Method to tell where Input ports should go on generated icons.
|
static int |
getIconGenLeftRot()
Method to tell what angle Left ports should go on generated icons.
|
static int |
getIconGenOutputSide()
Method to tell where Output 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 preference to tell whether to include the date and Electric version in output files.
|
static TextUtils.UnitScale |
getInductanceUnits()
Method to get current inductance units.
|
static java.lang.String |
getLayersSorting()
Method to retrieve the sorting algorithm for layers
The default is LayerSortingType.ByImportance.
|
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.
|
PrimitivePort |
getPreferredContactPortProto(ArcProto key1,
ArcProto key2)
Method to return the "current" PrimitivePort per a given pair of arcs, as maintained by the user interface.
|
java.util.List<PrimitivePort> |
getPrimitivePortConnectedToArc(ArcProto ap) |
static Setting |
getPSubstrateProcessLayoutTechnologySetting()
Method to tell whether the process is a PSubstrate process.
|
static java.lang.String[] |
getRecentlyOpenedLibraries()
Get an array of File paths to recently opened libraries.
|
static java.lang.String |
getRegressionPath()
Method to get the path of the regression tests directory.
|
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 preference to tell the layout Technology to use when schematics are found.
|
static Setting |
getSoftTechnologiesSetting()
Returns project preference with additional technologies.
|
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.
|
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 |
isCadenceMeasurementStyle()
Method to tell whether to use Cadence style in the measurement tool.
|
static boolean |
isCheckCellDates()
Method to tell whether to check Cell dates when placing instances.
|
static boolean |
isConvertSchematicLayoutWhenPasting()
Method to tell whether to convert between schematic and layout views when pasting.
|
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 |
isDockMessagesWindow()
Method to tell whether to dock the Messages Window to each edit window
The default is "false" (existing behavior).
|
static boolean |
isDraggingMustEncloseObjects()
Method to tell whether dragging a selection rectangle must completely enclose objects in order to select them.
|
static boolean |
isDupCopiesExports()
Method to tell whether Duplicate/Paste/Array of NodeInst copies exports.
|
static boolean |
isDuplicateInPlace()
Method to tell whether to duplicate in place.
|
static boolean |
isEasySelectionOfCellInstances()
Method to tell whether cell instances are all be easy-to-select.
|
static boolean |
isEnableLog()
Method to tell if logging into Electric's logfile is enable..
|
static boolean |
isErrorHighlightingPulsate()
Method to tell whether to show error highlights with pulsating outlines.
|
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 |
isFactoryCadenceMeasurementStyle()
Method to tell whether to use Cadence style in the measurement tool, by default.
|
static boolean |
isFactoryCheckCellDates()
Method to tell whether to check Cell dates when placing instances, by default.
|
static boolean |
isFactoryConvertSchematicLayoutWhenPasting()
Method to tell whether to convert between schematic and layout views when pasting, by default
If, for example, a schematic cell instance is copied in a schematic cell and then pasted
into a layout cell, this Preference requests that the layout view be pasted instead.
|
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 |
isFactoryDockMessagesWindow()
Method to tell whether to dock the Messages Window to each edit window by default
|
static boolean |
isFactoryDraggingMustEncloseObjects()
Method to tell whether dragging a selection rectangle must completely enclose 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 |
isFactoryDuplicateInPlace()
Method to tell whether to duplicate in place.
|
static boolean |
isFactoryEasySelectionOfCellInstances()
Method to tell whether cell instances are all be easy-to-select by default.
|
static boolean |
isFactoryErrorHighlightingPulsate()
Method to tell whether to show error highlights with pulsating outlines, by default.
|
static boolean |
isFactoryExtractCopiesExports()
Method to tell whether Extract of NodeInst copies exports, by default.
|
static boolean |
isFactoryGridAlignMeasurementCursor()
Method to tell whether the "Measurement" mode snaps the cursor to grid-aligned positions, 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 |
isFactoryIconGenBottomSkip()
Method to tell whether ports should not be placed on the Bottom of the generated icons, by default.
|
static boolean |
isFactoryIconGenLeftSkip()
Method to tell whether ports should not be placed on the Left of the generated icons, by default.
|
static boolean |
isFactoryIconGenRightSkip()
Method to tell whether ports should not be placed on the Right of the generated icons, by default.
|
static boolean |
isFactoryIconGenTopSkip()
Method to tell whether ports should not be placed on the Top of the generated icons, by default.
|
static boolean |
isFactoryIncrementRightmostIndex()
Method to tell whether auto-incrementing of array indices works from the rightmost index, by default.
|
static boolean |
isFactoryJobVerboseMode()
Method to tell if jobs are described in messages window (verbose mode), by default.
|
static boolean |
isFactoryKeepModelessDialogsOnTop()
Method to tell whether to keep modeless dialogs on top of the edit window, 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 enclose 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 |
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 |
isFactoryRoutingMode()
Method to set whether whether the "click/zoom/wire" mode is a "routing" mode, by default.
|
static boolean |
isFactoryShiftWindowToErrors()
Method to tell whether to shift the editing window so that the next error is visible, by default.
|
static boolean |
isFactoryShowCellsInNewWindow()
Method to tell whether to show cells in a new window, 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 |
isFactorySnapshotLogging()
Method to tell whether to perform snapshot logging in a temporary file, by default.
|
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 |
isGridAlignMeasurementCursor()
Method to tell whether the "Measurement" mode snaps the cursor to grid-aligned positions.
|
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 |
isIconGenBottomSkip()
Method to tell whether ports should not be placed on the Bottom of the generated icons.
|
static boolean |
isIconGenLeftSkip()
Method to tell whether ports should not be placed on the Left of the generated icons.
|
static boolean |
isIconGenRightSkip()
Method to tell whether ports should not be placed on the Right of the generated icons.
|
static boolean |
isIconGenTopSkip()
Method to tell whether ports should not be placed on the Top of the generated icons.
|
static boolean |
isIncludeDateAndVersionInOutput()
Method to tell whether to include the date and Electric version in output files.
|
static boolean |
isIncrementRightmostIndex()
Method to tell whether auto-incrementing of array indices works from the rightmost index.
|
static boolean |
isJobVerboseMode()
Method to tell if jobs are described in messages window (verbose mode)
The default is "false".
|
static boolean |
isKeepModelessDialogsOnTop()
Method to tell whether to keep modeless dialogs on top of the edit window.
|
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 enclose 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 |
isMultipleLog()
Method to tell if multiple logfiles are enable.
|
static boolean |
isNewNodeMirrorX()
Method to tell whether new nodes are mirrored in X.
|
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 |
isPSubstrateProcessLayoutTechnology() |
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 |
isRoutingMode()
Method to set whether the "click/zoom/wire" mode is a "routing" mode.
|
static boolean |
isShiftWindowToErrors()
Method to tell whether to shift the editing window so that the next error is visible.
|
static boolean |
isShowCellsInNewWindow()
Method to tell whether to show cells in a new window (or overwrite the current one).
|
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 |
isTextVisibilityOn(AbstractTextDescriptor.TextType textType)
Method to tell whether to draw text of particular text type.
|
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 |
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 |
playSound() |
static void |
resetFactoryColor(User.ColorPrefType pref)
Method to reset to the factory color of a given special layer
|
static void |
setAlignmentToGridVector(EDimension[] 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 |
setCadenceMeasurementStyle(boolean dim)
Method to set whether to use Cadence style in the measurement tool.
|
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
|
static void |
setConvertSchematicLayoutWhenPasting(boolean on)
Method to set whether to convert between schematic and layout views when pasting.
|
void |
setCurrentArcProto(ArcProto ap)
Method to set the "current" ArcProto, as maintained by the user interface.
|
void |
setCurrentArcProtoTemporarily(ArcProto ap)
Method to set the "current" ArcProto but only temporarily.
|
void |
setCurrentContactNodeProto(Technology tech,
java.lang.String mainContactName,
java.lang.Object obj)
Method to set the current contact in the component menu when an entry has multiple choices.
|
static void |
setCurrentLibrary(Library lib)
Method to switch libraries and handle technology editing details.
|
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 |
setDockMessagesWindow(boolean dock)
Method to set whether or not to dock the Messages Window to each edit window
|
static void |
setDraggingMustEncloseObjects(boolean on)
Method to set whether dragging a selection rectangle must completely enclose objects in order to select them.
|
static void |
setDupCopiesExports(boolean on)
Method to set whether Duplicate/Paste/Array of NodeInst copies exports.
|
static void |
setDuplicateInPlace(boolean on)
Method to set whether to duplicate in place.
|
static void |
setEasySelectionOfCellInstances(boolean on)
Method to set whether cell instances are all be easy-to-select.
|
static void |
setEnableLog(boolean log)
Method to enable or disable logging in Electric
|
void |
setEquivalentPortProto(java.lang.Object obj)
Method to set equivalent PortProto in a given technology.
|
static void |
setErrorHighlightingPulsate(boolean dim)
Method to set whether to show error highlights with pulsating outlines.
|
static void |
setErrorLimit(int limit)
Method to set the maximum number of errors to log.
|
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 |
setGridAlignMeasurementCursor(boolean dist)
Method to set whether the "Measurement" mode snaps the cursor to grid-aligned positions.
|
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 |
setIconGenBidirSide(int side)
Method to set where Bidirectional ports should go on generated icons.
|
static void |
setIconGenBottomRot(int rot)
Method to set what angle Bottom ports should go on generated icons.
|
static void |
setIconGenBottomSkip(boolean s)
Method to set whether ports should not be placed on the Bottom of the generated icons.
|
static void |
setIconGenClockSide(int side)
Method to set where Clock ports should go on generated icons.
|
static void |
setIconGenGroundSide(int side)
Method to set where Ground ports should go on generated icons.
|
static void |
setIconGenInputSide(int side)
Method to set where Input ports should go on generated icons.
|
static void |
setIconGenLeftRot(int rot)
Method to set what angle Left ports should go on generated icons.
|
static void |
setIconGenLeftSkip(boolean s)
Method to set whether ports should not be placed on the Left of the generated icons.
|
static void |
setIconGenOutputSide(int side)
Method to set where Output ports should go on generated icons.
|
static void |
setIconGenPowerSide(int side)
Method to set where Power ports should go on generated icons.
|
static void |
setIconGenRightRot(int rot)
Method to set what angle Right ports should go on generated icons.
|
static void |
setIconGenRightSkip(boolean s)
Method to set whether ports should not be placed on the Right of the generated icons.
|
static void |
setIconGenTopRot(int rot)
Method to set what angle Top ports should go on generated icons.
|
static void |
setIconGenTopSkip(boolean s)
Method to set whether ports should not be placed on the Top of the generated icons.
|
static void |
setIncrementRightmostIndex(boolean on)
Method to set whether auto-incrementing of array indices works from the rightmost index.
|
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 |
setKeepModelessDialogsOnTop(boolean dim)
Method to set whether to keep modeless dialogs on top of the edit window.
|
static void |
setLayersSorting(java.lang.String h)
Method to set the sorting algorithm for layers.
|
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 enclose 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 |
setMultipleLog(boolean log)
Method to enable or disable the generation of multiple logfiles.
|
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 |
setPlayClickSoundsWhenCreatingArcs(boolean on)
Method to set whether to play a "click" sound when an arc is created
|
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 |
setRegressionPath(java.lang.String s)
Method to set the path of the regression tests directory.
|
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 |
setRoutingMode(boolean on)
Method to get whether whether the "click/zoom/wire" mode is a "routing" mode.
|
static void |
setShiftWindowToErrors(boolean dim)
Method to set whether to shift the editing window so that the next error is visible.
|
static void |
setShowCellsInNewWindow(boolean dim)
Method to set whether to show cells in a new window (or overwrite the current one).
|
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 |
setSnapshotLogging(boolean on)
Method to set whether to perform snapshot logging in a temporary file
|
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.
|
void |
uploadCurrentData(Technology tech,
Xml.MenuPalette menuPalette)
Method to clean data after switching technologies in the palette.
|
eraseLibrary, examineCell, killObject, modifyArcInst, modifyCell, modifyCellGroup, modifyExport, modifyLibrary, modifyNodeInst, newObject, readLibrary, renameObject, request, slice, startBatch, writeLibrary
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getIndex, getListeners, getName, getNumTools, getProjectSettings, getTools, initAllTools, isAnalysis, isBackground, isFixErrors, isIncremental, isOn, isSynthesis, setAnalysis, setBackground, setFixErrors, setIncremental, setOn, setSynthesis, setVarInJob, testAll, toString
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
public static Pref prefScriptList
public static Pref toolbarOrderPref
public static Pref toolbarFilesPref
public static Pref cacheWindowLoc
public static Pref prefSortLexically
public static Pref savedConfigurations
public void init()
public static User getUserTool()
public void endBatch(Snapshot oldSnapshot, Snapshot newSnapshot, boolean undoRedo)
public static void fixStaleCellReferences(IdMapper idMapper)
idMapper
- mapping of Library/Cell/Export ids, null if the library was renamed.public static ERectangle getChangedInWindow(EditWindow wnd)
wnd
- the EditWindow in question.public static void clearChangedInWindow(EditWindow wnd)
wnd
- the EditWindow in question.public static void technologyChanged()
public PrimitivePort getPreferredContactPortProto(ArcProto key1, ArcProto key2)
public java.util.List<PrimitivePort> getPrimitivePortConnectedToArc(ArcProto ap)
public java.lang.String getCurrentContactNodeProto(Technology tech, java.lang.String mainContactName)
tech
- the technology being displayed in the component menu.mainContactName
- the name of the "main" (first) contact in the list.public void setCurrentContactNodeProto(Technology tech, java.lang.String mainContactName, java.lang.Object obj)
tech
- the technology being displayed in the component menu.mainContactName
- the name of the "main" (first) contact in the list.obj
- the current entry that should be the displayed choice.public void uploadCurrentData(Technology tech, Xml.MenuPalette menuPalette)
public void setEquivalentPortProto(java.lang.Object obj)
obj
- public java.util.List<PrimitivePort> getEquivalentPorts(PrimitivePort p)
p
- the Port to examine for equivalence.public ArcProto getCurrentArcProto()
public void setCurrentArcProtoTemporarily(ArcProto ap)
ap
- the new "current" ArcProto.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 Technology getFactorySchematicTechnology()
public static boolean isIncludeDateAndVersionInOutput()
public static Setting getIncludeDateAndVersionInOutputSetting()
public static Setting getPSubstrateProcessLayoutTechnologySetting()
public static boolean isPSubstrateProcessLayoutTechnology()
public static Setting getSoftTechnologiesSetting()
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 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 boolean isIconGenTopSkip()
public static void setIconGenTopSkip(boolean s)
s
- true if ports should not be placed on the Top of the generated icons.public static boolean isFactoryIconGenTopSkip()
public static boolean isIconGenBottomSkip()
public static void setIconGenBottomSkip(boolean s)
s
- true if ports should not be placed on the Bottom of the generated icons.public static boolean isFactoryIconGenBottomSkip()
public static boolean isIconGenLeftSkip()
public static void setIconGenLeftSkip(boolean s)
s
- true if ports should not be placed on the Left of the generated icons.public static boolean isFactoryIconGenLeftSkip()
public static boolean isIconGenRightSkip()
public static void setIconGenRightSkip(boolean s)
s
- true if ports should not be placed on the Right of the generated icons.public static boolean isFactoryIconGenRightSkip()
public static int getPortDisplayLevel()
public static int getExportDisplayLevel()
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 enclose 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 enclose 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 boolean isRoutingMode()
public static void setRoutingMode(boolean on)
on
- true if the "click/zoom/wire" mode is a "routing" mode.public static boolean isFactoryRoutingMode()
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 boolean isGridAlignMeasurementCursor()
public static void setGridAlignMeasurementCursor(boolean dist)
dist
- true if "Measurement" mode snaps the cursor to grid-aligned positions.public static boolean isFactoryGridAlignMeasurementCursor()
public static EDimension getAlignmentToGrid()
public static int getAlignmentToGridIndex()
public static EDimension[] getAlignmentToGridVector()
public static void setAlignmentToGridVector(EDimension[] 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 isTextVisibilityOn(AbstractTextDescriptor.TextType textType)
textType
- specified text typepublic static boolean isTextVisibilityOnNode()
public static boolean isTextVisibilityOnArc()
public static boolean isTextVisibilityOnPort()
public static boolean isTextVisibilityOnExport()
public static boolean isTextVisibilityOnAnnotation()
public static boolean isTextVisibilityOnCell()
public static java.lang.String getDefaultFont()
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
- the special layer in question.public static void setColor(User.ColorPrefType pref, int color)
pref
- the special layer to change.color
- new color for that special layer.public static void resetFactoryColor(User.ColorPrefType pref)
pref
- the special layer to reset.public static TextUtils.UnitScale getDistanceUnits()
public static void setDistanceUnits(TextUtils.UnitScale us)
us
- the current distance units (null to use scalable 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 getRegressionPath()
public static void setRegressionPath(java.lang.String s)
s
- the path of the regression tests 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 boolean isShowCellsInNewWindow()
public static void setShowCellsInNewWindow(boolean dim)
dim
- true to show cells in a new window (or overwrite the current one).public static boolean isFactoryShowCellsInNewWindow()
public static boolean isErrorHighlightingPulsate()
public static void setErrorHighlightingPulsate(boolean dim)
dim
- true to show error highlights with pulsating outlines.public static boolean isFactoryErrorHighlightingPulsate()
public static boolean isShiftWindowToErrors()
public static void setShiftWindowToErrors(boolean dim)
dim
- true to shift the editing window so that the next error is visible.public static boolean isFactoryShiftWindowToErrors()
public static boolean isKeepModelessDialogsOnTop()
public static void setKeepModelessDialogsOnTop(boolean dim)
dim
- true to keep modeless dialogs on top of the edit window.public static boolean isFactoryKeepModelessDialogsOnTop()
public static boolean isCadenceMeasurementStyle()
public static void setCadenceMeasurementStyle(boolean dim)
dim
- true to use Cadence style in the measurement tool.public static boolean isFactoryCadenceMeasurementStyle()
public static boolean isDockMessagesWindow()
public static void setDockMessagesWindow(boolean dock)
public static boolean isFactoryDockMessagesWindow()
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 boolean isEnableLog()
public static void setEnableLog(boolean log)
log
- true if logging is enable.public static boolean getFactoryEnableLog()
public static boolean isMultipleLog()
public static void setMultipleLog(boolean log)
log
- true if the generation of multiple logfiles is enable.public static boolean getFactoryMultipleLog()
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 isFactorySnapshotLogging()
public 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 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 isConvertSchematicLayoutWhenPasting()
public static void setConvertSchematicLayoutWhenPasting(boolean on)
on
- true if the system should convert between schematic and layout views when pasting.public static boolean isFactoryConvertSchematicLayoutWhenPasting()
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 isDuplicateInPlace()
public static void setDuplicateInPlace(boolean on)
on
- true if the system should duplicate objects in place.public static boolean isFactoryDuplicateInPlace()
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 isIncrementRightmostIndex()
public static void setIncrementRightmostIndex(boolean on)
on
- true if auto-incrementing of array indices works from the rightmost index.public static boolean isFactoryIncrementRightmostIndex()
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.public static java.lang.String getLayersSorting()
public static void setLayersSorting(java.lang.String h)
h
- the sorting algorithm for layers.public static java.lang.String getFactoryLayersSorting()