|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.Client
com.sun.electric.tool.AbstractUserInterface
com.sun.electric.Main.UserInterfaceDummy
public static class Main.UserInterfaceDummy
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.electric.tool.Client |
---|
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 |
Constructor Summary | |
---|---|
Main.UserInterfaceDummy(int connectionId)
|
Method Summary | |
---|---|
protected void |
addEvent(Client.ServerEvent serverEvent)
|
void |
adjustReferencePoint(Cell cell,
double cX,
double cY)
Method to adjust reference point in WindowFrame containing the cell |
int |
askForChoice(java.lang.String message,
java.lang.String title,
java.lang.String[] choices,
java.lang.String defaultChoice)
Method to ask for a choice among possibilities. |
java.lang.String |
askForInput(java.lang.Object message,
java.lang.String title,
java.lang.String def)
Method to ask for a line of text. |
boolean |
confirmMessage(java.lang.Object message)
Method to show a message and ask for confirmation. |
EditWindow_ |
displayCell(Cell cell)
Method to request that a Cell be displayed in a new window. |
Cell |
getCurrentCell()
Get current cell from current library |
EditWindow_ |
getCurrentEditWindow_()
Method to return the current "EditWindow_" object. |
EDatabase |
getDatabase()
Method to return the current database object. |
int |
getDefaultTextSize()
Method to return the height of default text (in points). |
java.lang.String |
getProgressNote()
Method to get text message in the progress dialgo. |
Cell |
needCurrentCell()
Method to demand the current Cell. |
EditWindow_ |
needCurrentEditWindow_()
Method to demand the current "EditWindow_" object. |
void |
printMessage(java.lang.String message,
boolean newLine)
Method print a message. |
void |
repaintAllWindows()
Method to request that all windows be redisplayed including palettes. |
java.lang.String |
reportLog(ErrorLogger.MessageLog log,
boolean showhigh,
Geometric[] gPair,
int position)
Method to return the error message associated with the current error. |
void |
saveMessages(java.lang.String filePath)
Method to start saving messages. |
void |
setProgressNote(java.lang.String message)
Method to set a text message in the progress dialog. |
void |
setProgressValue(int pct)
Method to update the progress bar |
void |
showErrorMessage(java.lang.String[] message,
java.lang.String title)
Method to show an error message. |
void |
showErrorMessage(java.lang.String message,
java.lang.String title)
Method to show an error message. |
void |
showInformationMessage(java.lang.String message,
java.lang.String title)
Method to show an informational message. |
protected void |
showJobQueue(Job.Inform[] jobQueue)
|
void |
startProgressDialog(java.lang.String type,
java.lang.String filePath)
Method to start the display of a progress dialog. |
void |
stopProgressDialog()
Method to stop the progress bar |
protected void |
terminateJob(EJob ejob)
|
void |
termLogging(ErrorLogger logger,
boolean explain,
boolean terminate)
|
Methods inherited from class com.sun.electric.tool.AbstractUserInterface |
---|
beep, finishInitialization, getCurrentLibrary, getCurrentLibraryId, getCurrentTechId, getCurrentTechnology, getJobKey, restoreHighlights, saveHighlights, setClientThread, setCurrentLibrary, setCurrentTechnology, showSnapshot, showUndoRedoStatus, updateIncrementalDRCErrors, updateNetworkErrors |
Methods inherited from class com.sun.electric.tool.Client |
---|
getOperatingSystem, isOSMac, isOSWindows, newJobId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main.UserInterfaceDummy(int connectionId)
Method Detail |
---|
public void startProgressDialog(java.lang.String type, java.lang.String filePath)
UserInterface
type
- the message to show in the progress dialog.filePath
- the file being read (null if not reading a file).public void stopProgressDialog()
UserInterface
public void setProgressValue(int pct)
UserInterface
pct
- the percentage done (from 0 to 100).public void setProgressNote(java.lang.String message)
UserInterface
message
- the new progress message.public java.lang.String getProgressNote()
UserInterface
public EDatabase getDatabase()
UserInterface
getDatabase
in interface UserInterface
getDatabase
in class AbstractUserInterface
public EditWindow_ getCurrentEditWindow_()
UserInterface
public EditWindow_ needCurrentEditWindow_()
UserInterface
public Cell getCurrentCell()
public Cell needCurrentCell()
UserInterface
public void repaintAllWindows()
UserInterface
public void adjustReferencePoint(Cell cell, double cX, double cY)
UserInterface
public int getDefaultTextSize()
UserInterface
public EditWindow_ displayCell(Cell cell)
UserInterface
cell
- the Cell to be displayed.
public void termLogging(ErrorLogger logger, boolean explain, boolean terminate)
public java.lang.String reportLog(ErrorLogger.MessageLog log, boolean showhigh, Geometric[] gPair, int position)
public void showErrorMessage(java.lang.String message, java.lang.String title)
message
- the error message to show.title
- the title of a dialog with the error message.public void showErrorMessage(java.lang.String[] message, java.lang.String title)
message
- the error message to show.title
- the title of a dialog with the error message.public void showInformationMessage(java.lang.String message, java.lang.String title)
message
- the message to show.title
- the title of a dialog with the message.public void printMessage(java.lang.String message, boolean newLine)
message
- the message to show.newLine
- add new line after the messagepublic void saveMessages(java.lang.String filePath)
filePath
- file to savepublic boolean confirmMessage(java.lang.Object message)
message
- the message to show.
public int askForChoice(java.lang.String message, java.lang.String title, java.lang.String[] choices, java.lang.String defaultChoice)
message
- the message to show.title
- the title of the dialog with the query.choices
- an array of choices to present, each in a button.defaultChoice
- the default choice.
public java.lang.String askForInput(java.lang.Object message, java.lang.String title, java.lang.String def)
message
- the prompt message.title
- the title of a dialog with the message.def
- the default response.
protected void terminateJob(EJob ejob)
terminateJob
in class AbstractUserInterface
protected void showJobQueue(Job.Inform[] jobQueue)
showJobQueue
in class AbstractUserInterface
protected void addEvent(Client.ServerEvent serverEvent)
addEvent
in class AbstractUserInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |