public interface GUIApplication
AbstractGUIApplication
.Modifier and Type | Method and Description |
---|---|
Defaults |
getApplicationDefaults()
Get the default values of settings for this application
|
java.lang.String |
getApplicationID()
Get the ID of this application - any string unique to this application can
be used
|
java.lang.String |
getApplicationName()
Get the name of this application
|
Settings |
getApplicationSettings()
Get the current settings for this application
|
Perspective |
getMainPerspective()
Get the main
Perspective of this application - i.e. |
PerspectiveManager |
getPerspectiveManager()
Get the
PerspectiveManager in use by this application |
void |
hidePerspectivesToolBar()
Hide the perspectives toolbar
|
boolean |
isPerspectivesToolBarVisible()
Returns true if the perspectives toolbar is visible at the current time
|
void |
revalidate()
Force a re-validation and repaint() of the application
|
void |
settingsChanged()
Called when settings are changed by the user
|
void |
showErrorDialog(java.lang.Exception cause)
Popup a dialog displaying the supplied Exception
|
void |
showInfoDialog(java.lang.Object information,
java.lang.String title,
boolean isWarning)
Popup an information dialog
|
void |
showMenuBar(javax.swing.JFrame topLevelAncestor)
Show the menu bar for the application
|
void |
showPerspectivesToolBar()
Show the perspectives toolbar
|
java.lang.String getApplicationName()
java.lang.String getApplicationID()
PerspectiveManager getPerspectiveManager()
PerspectiveManager
in use by this applicationPerspective Manager
Perspective getMainPerspective()
Perspective
of this application - i.e. this is the
panel, tab, screen etc. that is visible first at start-up.boolean isPerspectivesToolBarVisible()
void hidePerspectivesToolBar()
void showPerspectivesToolBar()
void showErrorDialog(java.lang.Exception cause)
cause
- the exception to showvoid showInfoDialog(java.lang.Object information, java.lang.String title, boolean isWarning)
information
- the "information" (typically some text) to displaytitle
- the title for the dialogisWarning
- true if this is a warning rather than just informationDefaults getApplicationDefaults()
Settings getApplicationSettings()
void settingsChanged()
void revalidate()
void showMenuBar(javax.swing.JFrame topLevelAncestor)
topLevelAncestor
- the JFrame that contains the application