public abstract class AbstractUserInterface extends Client implements UserInterface
Client.BeepEvent, Client.EJobEvent, Client.JobQueueEvent, Client.OS, Client.PrintEvent, Client.ProgressNoteEvent, Client.ProgressValueEvent, Client.SavePrintEvent, Client.ServerEvent, Client.ShowMessageEvent, Client.StartProgressDialogEvent, Client.StopProgressDialogEvent, Client.TermLoggingEvent| Modifier | Constructor and Description |
|---|---|
protected |
AbstractUserInterface(int connectionId) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addEvent(Client.ServerEvent serverEvent) |
void |
beep()
Method to beep.
|
void |
finishInitialization() |
Library |
getCurrentLibrary()
Method to return the current Library.
|
LibId |
getCurrentLibraryId() |
TechId |
getCurrentTechId() |
Technology |
getCurrentTechnology()
Method to return the current Technology.
|
EDatabase |
getDatabase()
Method to return the current database object.
|
Job.Key |
getJobKey()
Method to return Job Key of a currently executed Job.
|
void |
restoreHighlights(int highlightsId)
Restore state of highlights by its ID.
|
int |
saveHighlights()
Save current state of highlights and return its ID.
|
protected void |
setClientThread() |
void |
setCurrentLibrary(Library lib) |
void |
setCurrentTechnology(Technology tech) |
protected abstract void |
showJobQueue(Job.Inform[] jobQueue) |
protected void |
showSnapshot(Snapshot newSnapshot,
boolean undoRedo)
Show new database snapshot.
|
void |
showUndoRedoStatus(boolean newUndoEnabled,
boolean newRedoEnabled)
Show status of undo/redo buttons
|
protected abstract void |
terminateJob(EJob ejob) |
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) |
getOperatingSystem, isOSMac, isOSWindows, newJobIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadjustReferencePoint, askForChoice, askForInput, confirmMessage, displayCell, getCurrentCell, getCurrentEditWindow_, getDefaultTextSize, getProgressNote, needCurrentCell, needCurrentEditWindow_, printMessage, repaintAllWindows, reportLog, saveMessages, setProgressNote, setProgressValue, showErrorMessage, showInformationMessage, startProgressDialog, stopProgressDialog, termLoggingpublic Job.Key getJobKey()
UserInterfacegetJobKey in interface UserInterfacepublic EDatabase getDatabase()
UserInterfacegetDatabase in interface UserInterfacepublic Technology getCurrentTechnology()
UserInterfacegetCurrentTechnology in interface UserInterfacepublic TechId getCurrentTechId()
public void setCurrentTechnology(Technology tech)
public Library getCurrentLibrary()
getCurrentLibrary in interface UserInterfacepublic LibId getCurrentLibraryId()
public void setCurrentLibrary(Library lib)
protected abstract void addEvent(Client.ServerEvent serverEvent)
public void finishInitialization()
protected void updateNetworkErrors(Cell cell, java.util.List<ErrorLogger.MessageLog> errors)
protected void updateIncrementalDRCErrors(Cell cell, java.util.List<ErrorLogger.MessageLog> newErrors, java.util.List<ErrorLogger.MessageLog> delErrors)
public int saveHighlights()
public void restoreHighlights(int highlightsId)
highlightsId - id of saved highlights.public void showUndoRedoStatus(boolean newUndoEnabled,
boolean newRedoEnabled)
newUndoEnabled - new status of undo button.newRedoEnabled - new status of redo button.protected abstract void showJobQueue(Job.Inform[] jobQueue)
protected void showSnapshot(Snapshot newSnapshot, boolean undoRedo)
newSnapshot - new snapshot.protected abstract void terminateJob(EJob ejob)
public void beep()
UserInterfacebeep in interface UserInterfaceprotected void setClientThread()