|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.application.DefaultGraphApplication
com.tensegrity.application.swt.DefaultSwtGraphApplication
DefaultSwtGraphApplication is an abstract default
implementation of a GraphApplication for applications using the
SWT window toolkit.
| Field Summary |
| Fields inherited from class com.tensegrity.application.DefaultGraphApplication |
applicationFrames |
| Constructor Summary | |
DefaultSwtGraphApplication(Applet applet)
Constructor |
|
| Method Summary | |
CommandRegistry |
getCommandRegistry()
Overridden to return a specific SwtCommandRegistry. |
org.eclipse.swt.widgets.Display |
getDisplay()
Returns the current display |
KeyStrokeProvider |
getKeyStrokeProvider()
Overridden to return a specific SwtKeyStrokeProvider. |
UIManager |
getUIManager()
Overridden to return a specific AWT UIManager. |
protected void |
initGraphicsEnvironment()
Implementations of this method should initialize the graphics environment. e.g. instances of TextOperations
and ImageOperations should be
registered here. |
boolean |
launch()
Launches the application. |
| Methods inherited from class com.tensegrity.application.DefaultGraphApplication |
createApplicationFrames, getApplet, getApplicationFrame, getApplicationFrames, getDefaultLayoutController, getDragContext, getLocale, getPreferenceHelp, getPreferences, getRuleRegistry, getUIManagerResources, initLocale, savePreferences, setPreferenceHelp, setPreferences, setRuleRegistry, showError, shutDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tensegrity.application.Application |
getDefaultPreferencesFileName, getDefaultPreferencesLoadClass, getPreferencesFileName, getTitle |
| Constructor Detail |
public DefaultSwtGraphApplication(Applet applet)
applet - The applet context this application is running in or
null if it is standalone| Method Detail |
protected void initGraphicsEnvironment()
DefaultGraphApplicationTextOperations
and ImageOperations should be
registered here.
initGraphicsEnvironment in class DefaultGraphApplicationpublic KeyStrokeProvider getKeyStrokeProvider()
SwtKeyStrokeProvider.
KeyStrokeProvider instance of this Application.Application.getKeyStrokeProvider()public org.eclipse.swt.widgets.Display getDisplay()
public UIManager getUIManager()
UIManager.Application.getUIManager()public CommandRegistry getCommandRegistry()
SwtCommandRegistry.
getCommandRegistry in interface ApplicationgetCommandRegistry in class DefaultGraphApplicationApplication.getCommandRegistry()public boolean launch()
Application
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||