com.sun.electric.tool
Class AbstractUserInterface

java.lang.Object
  extended by com.sun.electric.tool.Client
      extended by com.sun.electric.tool.AbstractUserInterface
All Implemented Interfaces:
UserInterface
Direct Known Subclasses:
UserInterfaceMain

public abstract class AbstractUserInterface
extends Client
implements UserInterface


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.electric.tool.Client
Client.OS, Client.ServerEvent
 
Constructor Summary
protected AbstractUserInterface()
           
 
Method Summary
protected  void addEvent(Client.ServerEvent serverEvent)
           
protected  void beep()
           
 void finishInitialization()
           
protected  void initializeInitJob(Job job, java.lang.Object mode)
           
 void restoreHighlights(int highlightsId)
          Restore state of highlights by its ID.
 void restoreSavedBindings(boolean initialCall)
           
 int saveHighlights()
          Save current state of highlights and return its ID.
protected  void showSnapshot(Snapshot newSnapshot, boolean undoRedo)
          Show new database snapshot.
protected  void showUndoRedoStatus(boolean newUndoEnabled, boolean newRedoEnabled)
          Show status of undo/redo buttons
protected  void updateIncrementalDRCErrors(Cell cell, java.util.List<ErrorLogger.MessageLog> newErrors, java.util.List<ErrorLogger.MessageLog> delErrors)
           
protected  void updateNetworkErrors(Cell cell, java.util.List<ErrorLogger.MessageLog> errors)
           
 
Methods inherited from class com.sun.electric.tool.Client
getOperatingSystem, isOSMac, isOSWindows
 
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, loadComponentMenuForTechnology, needCurrentCell, needCurrentEditWindow_, repaintAllEditWindows, reportLog, setCurrentCell, setProgressNote, setProgressValue, showErrorMessage, showInformationMessage, startProgressDialog, stopProgressDialog, termLogging
 

Constructor Detail

AbstractUserInterface

protected AbstractUserInterface()
Method Detail

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()