com.sun.electric.tool
Class AbstractUserInterface
java.lang.Object
com.sun.electric.tool.Client
com.sun.electric.tool.AbstractUserInterface
- All Implemented Interfaces:
- UserInterface
- Direct Known Subclasses:
- UserInterfaceMain
public abstract class AbstractUserInterface
- extends Client
- implements UserInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.electric.database.variable.UserInterface |
adjustReferencePoint, alignToGrid, askForChoice, askForInput, confirmMessage, displayCell, exportPrefs, getCurrentCell, getCurrentCell, getCurrentEditWindow_, getDefaultTextSize, getGridAlignment, getProgressNote, importPrefs, needCurrentCell, needCurrentEditWindow_, repaintAllWindows, reportLog, setCurrentCell, setProgressNote, setProgressValue, showErrorMessage, showInformationMessage, startProgressDialog, stopProgressDialog, termLogging |
AbstractUserInterface
protected AbstractUserInterface()
initializeInitJob
protected void initializeInitJob(Job job,
java.lang.Object mode)
addEvent
protected void addEvent(Client.ServerEvent serverEvent)
finishInitialization
public void finishInitialization()
updateNetworkErrors
protected void updateNetworkErrors(Cell cell,
java.util.List<ErrorLogger.MessageLog> errors)
updateIncrementalDRCErrors
protected void updateIncrementalDRCErrors(Cell cell,
java.util.List<ErrorLogger.MessageLog> newErrors,
java.util.List<ErrorLogger.MessageLog> delErrors)
restoreSavedBindings
public void restoreSavedBindings(boolean initialCall)
saveHighlights
public int saveHighlights()
- Save current state of highlights and return its ID.
restoreHighlights
public void restoreHighlights(int highlightsId)
- Restore state of highlights by its ID.
- Parameters:
highlightsId
- id of saved highlights.
showUndoRedoStatus
protected void showUndoRedoStatus(boolean newUndoEnabled,
boolean newRedoEnabled)
- Show status of undo/redo buttons
- Parameters:
newUndoEnabled
- new status of undo button.newRedoEnabled
- new status of redo button.
showSnapshot
protected void showSnapshot(Snapshot newSnapshot,
boolean undoRedo)
- Show new database snapshot.
- Parameters:
newSnapshot
- new snapshot.
beep
protected void beep()