|
|||||||||||
| 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
com.tensegrity.skeleton.swt.CompatibleSwtGraphApplication
CompatibleSwtGraphApplication is a default implementation
of a GraphApplication that is used when the parameter application
is omitted in the constructor of an ApplicationFrame.
This class is final and for internal use only. Customers should implement
an own GraphApplication using the DefaultGraphApplication.
| Field Summary |
| Fields inherited from class com.tensegrity.application.DefaultGraphApplication |
applicationFrames |
| Constructor Summary | |
CompatibleSwtGraphApplication(Applet applet,
ApplicationFrame applicationFrame)
Constructor |
|
| Method Summary | |
protected ApplicationFrame[] |
createApplicationFrames()
This method creates the ApplicationFrames of the
application. |
java.lang.String |
getDefaultPreferencesFileName()
Returns the file name that should be used for reading the default preferences |
java.lang.Class |
getDefaultPreferencesLoadClass()
Returns the reference class that should be used to load the default preferences |
java.lang.String |
getPreferencesFileName()
Returns the file name that should be used for storing the preferences |
org.eclipse.swt.widgets.Composite |
getSwtParentContainer()
Returns the . which can be used as
container for other s. |
java.lang.String |
getTitle()
Returns the name of this Application. |
protected void |
initGraphicsEnvironment()
Implementations of this method should initialize the graphics environment. e.g. instances of TextOperations
and ImageOperations should be
registered here. |
protected void |
initLocale()
Initializes the locale of the application. |
void |
setSwtParentContainer(org.eclipse.swt.widgets.Composite parent)
|
| Methods inherited from class com.tensegrity.application.swt.DefaultSwtGraphApplication |
getCommandRegistry, getDisplay, getKeyStrokeProvider, getUIManager, launch |
| Methods inherited from class com.tensegrity.application.DefaultGraphApplication |
getApplet, getApplicationFrame, getApplicationFrames, getDefaultLayoutController, getDragContext, getLocale, getPreferenceHelp, getPreferences, getRuleRegistry, getUIManagerResources, savePreferences, setPreferenceHelp, setPreferences, setRuleRegistry, showError, shutDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompatibleSwtGraphApplication(Applet applet,
ApplicationFrame applicationFrame)
applet - The applet context of this application or null
if this is a standalone applicationapplicationFrame - The application frame| Method Detail |
protected ApplicationFrame[] createApplicationFrames()
DefaultGraphApplicationApplicationFrames of the
application.
createApplicationFrames in class DefaultGraphApplicationpublic java.lang.String getPreferencesFileName()
Application
getPreferencesFileName in interface Applicationpublic java.lang.String getDefaultPreferencesFileName()
Application
getDefaultPreferencesFileName in interface Applicationpublic java.lang.Class getDefaultPreferencesLoadClass()
Application
getDefaultPreferencesLoadClass in interface Applicationpublic java.lang.String getTitle()
ApplicationApplication.
getTitle in interface ApplicationApplication.protected void initGraphicsEnvironment()
DefaultGraphApplicationTextOperations
and ImageOperations should be
registered here.
initGraphicsEnvironment in class DefaultSwtGraphApplicationprotected void initLocale()
DefaultGraphApplication
initLocale in class DefaultGraphApplicationpublic org.eclipse.swt.widgets.Composite getSwtParentContainer()
SwtParentContainerProviderComposite. which can be used as
container for other Controls.
getSwtParentContainer in interface SwtParentContainerProviderComposite. which can be used as
container for other Controls.public final void setSwtParentContainer(org.eclipse.swt.widgets.Composite parent)
setSwtParentContainer in interface SwtParentContainerProvider
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||