com.tensegrity.skeleton.swing
Class SwingApplicationFrame

java.lang.Object
  extended bycom.tensegrity.application.ApplicationFrame
      extended bycom.tensegrity.skeleton.swing.SwingApplicationFrame
All Implemented Interfaces:
DocumentListener, Evaluable, EventListenerTag

public abstract class SwingApplicationFrame
extends ApplicationFrame

The Swing based ApplicationFrame implementation.

Version:
$Id: SwingApplicationFrame.java,v 1.300 2006/06/08 10:01:30 BurkhardWick Exp $
Author:
GillesIachelini

Nested Class Summary
 class SwingApplicationFrame.NavigatorUpdater
          The NavigatorUpdater is an Observer which updates the Navigator of an ApplicationFrame.
 
Field Summary
 javax.swing.JButton floatbutton
          Button to make the frame of the applet version floating.
 Frame floatframe
          The frame to which the applet will be embedded.
protected  Frame frame
          When being in application(non-applet-) mode, this instance represents the outer JFrame instance.
 MDIComponent mdiComponent
          This applications mdiComponent (tabbed style).
protected  javax.swing.JPanel mdiPanel
          The swing container for the MDIComponent
protected  ToolBar[] toolBars
          This applications ToolBar.
 
Fields inherited from class com.tensegrity.application.ApplicationFrame
application, EAST, NORTH, NORTHEAST, NORTHWEST, SOUTH, SOUTHEAST, SOUTHWEST, TYPE_CLONED_DOCUMENT, TYPE_LOADED_DOCUMENT, TYPE_NEW_DOCUMENT, UNDEFINED, WEST
 
Constructor Summary
SwingApplicationFrame(Frame frame, SwingApplet applet)
          Creates SwingApplicationFrame based on the given target frame (ExtendedJFrame) and applet (SwingApplet).
SwingApplicationFrame(GraphApplication application, Frame frame, SwingApplet applet)
          Creates SwingApplicationFrame based on the given target frame (ExtendedJFrame) and applet (SwingApplet).
 
Method Summary
 void applyEvList()
          Applies the currently language pack to all the previously stored components by invoking uiItemEvList's apply method and subsequently invoking it on all contained components of this application rootpane.
 void applyLookAndFeel()
          This method is useful to apply the change of a LookAndFeel at runtime.
 void configureDocumentView(Document document, int documenttype)
          Configures the view of a document.
 void configureEmptyDocument(Document document)
          Configures a newly created document.
 void configureNewDocument(Document document)
          This method performs post-creation configuration of the passed document.
 DockMDIComponent createDockMDIComponent(java.util.List initialdocuments, MenuTool menuTool, Command closeDocumentCommand, UIManager uimanager)
          Hook to create a DockMDIComponent subclass.
 boolean exit()
          Cleanup method that is called when the application will be closed to free all resources from the application frame and store all contained documents, etc.
 Applet getApplet()
           
protected  java.awt.Image getApplicationIconImage()
          Returns null.
 AttributeEditorContainer getAttributeEditorContainer()
          Returns either the AttributeEditorContainer or null if no such Container is used by this Application.
 Container getCustomContainer()
          Returns a custom not yet specified type of Container.
 DocumentDropContext getDocumentDropContext()
          Returns the Document drop context to be used when files are dropped into the frame.
 javax.swing.JComponent getDomainSelectorComponent()
          Returns the component that will be used as domain selector component in the layout tools container
 javax.swing.JButton getFloatButton()
          Returns the button used to trigger the float of the applet.
 javax.swing.JFrame getFloatFrame()
          Returns the FloatFrame.
 Frame getFrame()
          Returns either the awt.Frame of this ApplicationFrame or null if this ApplicationFrame is running as Applet.
 SwingFrameLayoutController getFrameLayoutController()
          Returns the SwingFrameLayoutController instance.
 GraphDocumentReader getGraphDocumentReader()
          Returns the GraphDocumentReader to use for reading documents
 GraphDocumentWriter getGraphDocumentWriter()
          Returns the GraphDocumentWriter to use for writing documents
 JPopupMenuSourceWithUpdateUI getGraphPanelPopupMenuSource()
          Returns a popup menu instance for this application's graph panels.
protected  LaunchTask[] getLauncherTasks()
          Returns all the launchertasks to be executed while starting the applicationframe.
 int getLayoutConstraint(Container container)
          Returns the default constraints for the SwingApplicationFrame.
 LayoutToolsContainer getLayoutToolsContainer()
          Returns the LayoutToolsContainer of this Application or null if no such Container is used.
 MDIComponent getMDIComponent()
          Returns the central component for this application frame.
 java.awt.Container getMdiComponentContainer()
          Returns a Container which uses a BorderLayout as the LayoutManager.
 MenuBar getMenuBar()
          Returns the MenuBar of this ApplicationFrame.
 MenuTool getMenuTool()
          Returns the Menu Tool of this swing application frame.
 NavigatorContainer getNavigatorContainer()
          Returns the NavigatorContainer of this Application or null if no such Container is used.
 OutlinerContainer getOutlinerContainer()
          Returns the OutlinerContainer of this Application or null if no such Container is used.
 PreferenceHelper getPreferenceHelper()
          Returns the preference helper of this application.
 RepositoryContainer getRepositoryContainer()
          Returns the RepositoryContainer of this Application or null if no such Container is used.
 javax.swing.JRootPane getRootPane()
          Gets the Jrootpane we live in.
protected  java.awt.Color getSplashBackground()
          Returns the background color of the splash screen
protected  java.awt.Color getSplashForeground()
          Returns the foreground color for the splash screen
protected  java.awt.Color getSplashRectColor()
          This method returns an instance of Color which is used by the SplashScreen to color the progress bar.
protected  java.awt.Image getSplashScreenImage()
          Returns null.
protected  java.awt.Insets getSplashWindowInsets()
          Returns the insets dividing the splash window contents from the border.
 StatusBar getStatusBar()
          Returns The StatusBar of the ApplicationFrame.
 ToolBar[] getToolBars()
          Returns the list of toolbars.
 void init()
          Initializes the ApplicationFrame.
protected  void initServices()
          Utility method called from the constructor of this SwingApplicationFrame.
 void installEvList()
          Creates a new UIItemEvaluationList
protected  boolean isSplashGradientEnabled()
          Return true, to enable the drawing of a vertical gradient in the progress bar of the splash screen.
protected  void launchTasks()
          Retrieves all the launcher tasks for this application and starts them.
 Document newDocument()
          Sublcasses may override it to specify the creation of new documents.
 Document openDocument(java.io.File file)
          This method is responsible to load a document from a specified file location.
 Document openDocument(java.io.InputStream is, java.lang.String name)
          This method is responsible to load a document from a specified input stream.
protected  void postLaunch()
          This method will be invoked right after the last launch task has been executed.
 void saveDocument(Document document, java.io.File file)
          This method is responsible to save a given document to a specified file location.
 void saveDocument(Document document, java.io.OutputStream os)
          This method is responsible to save a given document to a specified output stream.
 void savePreferences()
          Saves the currently stored Preferences of this application.
protected  void setApplicationIcon()
          The method setApplicationIcon sets the image icon at the internal Swing frame instance.
 void setFloatFrame(Frame floatframe)
          Sets the Frame, which is used, when this application enters the floating mode.
 void setGraphPanelPopupMenuSource(JPopupMenuSourceWithUpdateUI graphPanelPopupMenuSource)
          Sets the JPopupMenuSourceWithUpdateUI for this application.
 void setPreferenceHelper(PreferenceHelper helper)
          Sets the preference helper of this application.
 void setRepository(RepositoryContainer container)
          Allows to explicitly set the RepositoryContainer.
 boolean showSplashScreen()
          Returns true, if the splash screen should be shown.
 java.lang.String toString()
           
 void updateSplashStatus()
          Updates the status text in the application launcher
 void updateStatus(java.lang.Object caller, java.lang.Object obj)
          Sends out an update call to all connected to the toolbars.
 
Methods inherited from class com.tensegrity.application.ApplicationFrame
addKeyCommand, addPostLaunchTask, documentAdded, documentModelChanged, documentPreAdd, documentPreRemove, documentRemoved, documentSelected, documentUnselected, getApplication, getAttributeEditorTranslator, getAttributeEditorTranslatorPool, getAutomaticLayoutContextName, getCommandRegistry, getCompositeViewListener, getCustomContainers, getDefaultLayoutController, getDragContext, getKeyStrokeProvider, getLayoutEditorTranslator, getLocale, getPreferenceAttributeEditorTranslator, getPreferences, getResourceName, getResourceNames, getRootFrame, getRuleRegistry, getTitle, getUIManager, getUiMap, installClipboard, installInteractionSettings, installKeyboardCommands, installLayoutController, installListeners, isApplet, registerDragRepresentation, registerHighlightRepresentation, removePostLaunchTask, runPostLaunchTasks, setAutomaticLayoutContextName, setLocale, setPreferences, setRuleRegistry, updateResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

frame

protected Frame frame
When being in application(non-applet-) mode, this instance represents the outer JFrame instance.


toolBars

protected ToolBar[] toolBars
This applications ToolBar. Is protected, to allow subclasses to alter this array.


mdiComponent

public MDIComponent mdiComponent
This applications mdiComponent (tabbed style).


mdiPanel

protected javax.swing.JPanel mdiPanel
The swing container for the MDIComponent


floatbutton

public javax.swing.JButton floatbutton
Button to make the frame of the applet version floating.


floatframe

public Frame floatframe
The frame to which the applet will be embedded.

Constructor Detail

SwingApplicationFrame

public SwingApplicationFrame(Frame frame,
                             SwingApplet applet)
Creates SwingApplicationFrame based on the given target frame (ExtendedJFrame) and applet (SwingApplet).

Parameters:
frame - the instance of ExtendedJFrame to place this application into.
applet - an instance of SwingApplet to use as applet reference and container.

SwingApplicationFrame

public SwingApplicationFrame(GraphApplication application,
                             Frame frame,
                             SwingApplet applet)
Creates SwingApplicationFrame based on the given target frame (ExtendedJFrame) and applet (SwingApplet).

Parameters:
application - The application this frame belongs to
frame - the instance of ExtendedJFrame to place this application into.
applet - an instance of SwingApplet to use as applet reference and container.
Method Detail

init

public void init()
Initializes the ApplicationFrame. Sets the frame title, icon and starts the launchTasks. Must be called before showing the ApplicationFrame!

Specified by:
init in class ApplicationFrame

getAttributeEditorContainer

public AttributeEditorContainer getAttributeEditorContainer()
Description copied from class: ApplicationFrame
Returns either the AttributeEditorContainer or null if no such Container is used by this Application.

Specified by:
getAttributeEditorContainer in class ApplicationFrame
Returns:
the AttributeEditorContainer of this Application or null.

getNavigatorContainer

public NavigatorContainer getNavigatorContainer()
Description copied from class: ApplicationFrame
Returns the NavigatorContainer of this Application or null if no such Container is used.

Specified by:
getNavigatorContainer in class ApplicationFrame
Returns:
the NavigatorContainer of this Application or null.

getOutlinerContainer

public OutlinerContainer getOutlinerContainer()
Description copied from class: ApplicationFrame
Returns the OutlinerContainer of this Application or null if no such Container is used.

Specified by:
getOutlinerContainer in class ApplicationFrame
Returns:
the OutlinerContainer of this Application or null.

getLayoutToolsContainer

public LayoutToolsContainer getLayoutToolsContainer()
Description copied from class: ApplicationFrame
Returns the LayoutToolsContainer of this Application or null if no such Container is used.

Specified by:
getLayoutToolsContainer in class ApplicationFrame
Returns:
the LayoutToolsContainer of this Application or null.

getFrameLayoutController

public SwingFrameLayoutController getFrameLayoutController()
Returns the SwingFrameLayoutController instance.

Returns:
the SwingFrameLayoutController instance
See Also:
SwingFrameLayoutController

getRepositoryContainer

public RepositoryContainer getRepositoryContainer()
Description copied from class: ApplicationFrame
Returns the RepositoryContainer of this Application or null if no such Container is used.

Specified by:
getRepositoryContainer in class ApplicationFrame
Returns:
the RepositoryContainer of this Application or null.

setRepository

public void setRepository(RepositoryContainer container)
Allows to explicitly set the RepositoryContainer. Useful, because we have a separate LaunchTask for this container.

Parameters:
container - the RepositoryContainer to set.

getCustomContainer

public Container getCustomContainer()
Description copied from class: ApplicationFrame
Returns a custom not yet specified type of Container.

Specified by:
getCustomContainer in class ApplicationFrame
Returns:
a custom Container.

getFrame

public Frame getFrame()
Description copied from class: ApplicationFrame
Returns either the awt.Frame of this ApplicationFrame or null if this ApplicationFrame is running as Applet.

Specified by:
getFrame in class ApplicationFrame
Returns:
Frame either an instance of java.awt.Frame or null.

getApplet

public Applet getApplet()
Overrides:
getApplet in class ApplicationFrame
See Also:
Application.getApplet()

getFloatButton

public javax.swing.JButton getFloatButton()
Returns the button used to trigger the float of the applet. Return null to remove the button from the status bar

Returns:
the Button instance to be used to make this ApplicationFrame float. might be null.

getFloatFrame

public javax.swing.JFrame getFloatFrame()
Returns the FloatFrame.

Returns:
the float frame or null.

setFloatFrame

public void setFloatFrame(Frame floatframe)
Sets the Frame, which is used, when this application enters the floating mode.

Parameters:
floatframe - The FloatFrame to set

getLayoutConstraint

public int getLayoutConstraint(Container container)
Returns the default constraints for the SwingApplicationFrame. These are: Repository=NW, Outliner=SW,AttributeTable=NE and Navigator SE.

Specified by:
getLayoutConstraint in class ApplicationFrame
Parameters:
container - A container to retrieve the layout constraint for.
Returns:
the constraint to be used for the parameter container.
See Also:
ApplicationFrame.getLayoutConstraint(com.tensegrity.gui.container.Container)

newDocument

public Document newDocument()
Sublcasses may override it to specify the creation of new documents. This method is not made abstract to avoid unecessary code for non-using classes.

Specified by:
newDocument in class ApplicationFrame
Returns:
the newly created Document.

configureEmptyDocument

public void configureEmptyDocument(Document document)
Description copied from class: ApplicationFrame
Configures a newly created document. Usually applies a set of document settings which depend on some defaults in the preferences.

Specified by:
configureEmptyDocument in class ApplicationFrame
Parameters:
document - The document to configure

configureDocumentView

public void configureDocumentView(Document document,
                                  int documenttype)
Description copied from class: ApplicationFrame
Configures the view of a document. Usually the document is a GraphDocument and the layout controller is assigned and some settings from the preferences are applied to it.

Specified by:
configureDocumentView in class ApplicationFrame
Parameters:
document - The document to configure
documenttype - A constant describing the source of this document, one of these constants: ApplicationFrame.TYPE_NEW_DOCUMENT ApplicationFrame.TYPE_CLONED_DOCUMENT ApplicationFrame.TYPE_LOADED_DOCUMENT

configureNewDocument

public void configureNewDocument(Document document)
This method performs post-creation configuration of the passed document. It is called when creating a new document, opening a previously saved document and when cloning a document. The passed document's SwingGraphPanel is initialized as follow:

Specified by:
configureNewDocument in class ApplicationFrame
Parameters:
document - The document to configure.
See Also:
ApplicationFrame.configureNewDocument(com.tensegrity.gui.document.Document), NewDocumentCommand, OpenCommand, CloneDocumentCommand

openDocument

public Document openDocument(java.io.InputStream is,
                             java.lang.String name)
Description copied from class: ApplicationFrame
This method is responsible to load a document from a specified input stream.

Specified by:
openDocument in class ApplicationFrame
Parameters:
is - the input stream to load the document from.
name - the name for the loaded document
Returns:
the document that has been read.

getGraphDocumentReader

public GraphDocumentReader getGraphDocumentReader()
Returns the GraphDocumentReader to use for reading documents

Specified by:
getGraphDocumentReader in class ApplicationFrame
Returns:
the GraphDocumentReader to use for reading documents

getGraphDocumentWriter

public GraphDocumentWriter getGraphDocumentWriter()
Returns the GraphDocumentWriter to use for writing documents

Specified by:
getGraphDocumentWriter in class ApplicationFrame
Returns:
the GraphDocumentWriter to use for writing documents

openDocument

public Document openDocument(java.io.File file)
Description copied from class: ApplicationFrame
This method is responsible to load a document from a specified file location. Internally calls ApplicationFrame.openDocument(InputStream, String).

Specified by:
openDocument in class ApplicationFrame
Parameters:
file - the location to load the document from.
Returns:
the document that has been read.

saveDocument

public void saveDocument(Document document,
                         java.io.OutputStream os)
Description copied from class: ApplicationFrame
This method is responsible to save a given document to a specified output stream.

Specified by:
saveDocument in class ApplicationFrame
Parameters:
document - the document to save.
os - the OutputStream to save the document to.

saveDocument

public void saveDocument(Document document,
                         java.io.File file)
Description copied from class: ApplicationFrame
This method is responsible to save a given document to a specified file location. Internally calls ApplicationFrame.saveDocument(Document, OutputStream).

Specified by:
saveDocument in class ApplicationFrame
Parameters:
document - the document to save.
file - the location to save the document to.

getMenuBar

public MenuBar getMenuBar()
Description copied from class: ApplicationFrame
Returns the MenuBar of this ApplicationFrame.

Specified by:
getMenuBar in class ApplicationFrame
Returns:
an instance of the MenuBar interface.

getGraphPanelPopupMenuSource

public JPopupMenuSourceWithUpdateUI getGraphPanelPopupMenuSource()
Description copied from class: ApplicationFrame
Returns a popup menu instance for this application's graph panels.

Specified by:
getGraphPanelPopupMenuSource in class ApplicationFrame
Returns:
a pop up menu instance for this application's graph panels.
See Also:
ApplicationFrame.getGraphPanelPopupMenuSource()

setGraphPanelPopupMenuSource

public void setGraphPanelPopupMenuSource(JPopupMenuSourceWithUpdateUI graphPanelPopupMenuSource)
Sets the JPopupMenuSourceWithUpdateUI for this application.

Specified by:
setGraphPanelPopupMenuSource in class ApplicationFrame
Parameters:
graphPanelPopupMenuSource -

getStatusBar

public StatusBar getStatusBar()
Description copied from class: ApplicationFrame
Returns The StatusBar of the ApplicationFrame.

Specified by:
getStatusBar in class ApplicationFrame
Returns:
StatusBar

exit

public boolean exit()
Description copied from class: ApplicationFrame
Cleanup method that is called when the application will be closed to free all resources from the application frame and store all contained documents, etc.

Overrides:
exit in class ApplicationFrame
Returns:
true if the exit was successful, false if the shutdown should be canceled

getMDIComponent

public MDIComponent getMDIComponent()
Returns the central component for this application frame. The MDIComponent of this application is built from all available tool containers and menus. An update listener is added to keep the CompositeNavigator (if there is any) up-to-date, the OutlinerContainer is connected to the MDIComponent and the ToolBar objects are registered as a DocumentListener as well.

Specified by:
getMDIComponent in class ApplicationFrame
Returns:
a initialized MDIComponent.
See Also:
ApplicationFrame.getMDIComponent()

Find more information in the class documentation


getToolBars

public ToolBar[] getToolBars()
Returns the list of toolbars. The SwingApplicationFrame creates a default Toolbar and sets it at index 0 of the internal ToolBar[].

Specified by:
getToolBars in class ApplicationFrame
Returns:
array of ToolBar instances used within this ApplicationFrame.
See Also:
ApplicationFrame.getToolBars()

updateStatus

public void updateStatus(java.lang.Object caller,
                         java.lang.Object obj)
Sends out an update call to all connected to the toolbars. Invoke the specific update call to other components if necessary.

Overrides:
updateStatus in class ApplicationFrame
Parameters:
caller - The caller of this method.
obj - an optional parameter to pass an object along. This could be the updated item for example.
See Also:
ApplicationFrame.updateStatus(Object, Object)

getRootPane

public javax.swing.JRootPane getRootPane()
Gets the Jrootpane we live in.

Returns:
JRootPane instance that is used.

applyEvList

public void applyEvList()
Applies the currently language pack to all the previously stored components by invoking uiItemEvList's apply method and subsequently invoking it on all contained components of this application rootpane.


installEvList

public void installEvList()
Creates a new UIItemEvaluationList

See Also:
Evaluable.installEvList()

launchTasks

protected final void launchTasks()
Retrieves all the launcher tasks for this application and starts them.

See Also:
getLauncherTasks()

getSplashRectColor

protected java.awt.Color getSplashRectColor()
This method returns an instance of Color which is used by the SplashScreen to color the progress bar.

Returns:
the tensegrity green.

Find more information in the class documentation


getSplashBackground

protected java.awt.Color getSplashBackground()
Returns the background color of the splash screen

Returns:
the background color of the splash screen

Find more information in the class documentation


getSplashWindowInsets

protected java.awt.Insets getSplashWindowInsets()
Returns the insets dividing the splash window contents from the border.

Returns:
the insets dividing the splash window contents from the border.

Find more information in the class documentation


getSplashForeground

protected java.awt.Color getSplashForeground()
Returns the foreground color for the splash screen

Returns:
the foreground color for the splash screen

Find more information in the class documentation


isSplashGradientEnabled

protected boolean isSplashGradientEnabled()
Return true, to enable the drawing of a vertical gradient in the progress bar of the splash screen.

Returns:
true, to enable the drawing of a vertical gradient in the progress bar of the splash screen.

Find more information in the class documentation


updateSplashStatus

public void updateSplashStatus()
Updates the status text in the application launcher

Find more information in the class documentation


getMdiComponentContainer

public java.awt.Container getMdiComponentContainer()
Returns a Container which uses a BorderLayout as the LayoutManager.

Returns:
a Container which uses a BorderLayout as the LayoutManager.

Find more information in the class documentation


getLauncherTasks

protected LaunchTask[] getLauncherTasks()
Returns all the launchertasks to be executed while starting the applicationframe. Subclasses may either alter this list or use their custom versions of Task implementations.

Returns:
LaunchTask[]

setApplicationIcon

protected final void setApplicationIcon()
The method setApplicationIcon sets the image icon at the internal Swing frame instance.


getApplicationIconImage

protected java.awt.Image getApplicationIconImage()
Returns null. Subclasses may override this method to specify their own icon. If this method is not specified by a subclass, the frame will use the java standard icon.

Returns:
null.

getSplashScreenImage

protected java.awt.Image getSplashScreenImage()
Returns null. Subclasses may override this method to specify a custom splashscreen image. If no such image is specified the default Tensegrity Splash will be used.

Returns:
null.

Find more information in the class documentation


showSplashScreen

public boolean showSplashScreen()
Returns true, if the splash screen should be shown.

Returns:
true, if the splash screen should be shown.

Find more information in the class documentation


postLaunch

protected void postLaunch()
This method will be invoked right after the last launch task has been executed. Subclasses may do further actions to initialize the application. This class does by intention nothing in the postLaunch.


initServices

protected void initServices()
Utility method called from the constructor of this SwingApplicationFrame. Users of this class may use this method, to install services or make any other initialization which must happen in the constructor of this class. NOTE: You also may use a custom LaunchTask instead of the initServices method.


savePreferences

public void savePreferences()
Saves the currently stored Preferences of this application. This method does nothing, if ApplicationFrame.getPreferences() returns null.

Specified by:
savePreferences in class ApplicationFrame

getMenuTool

public MenuTool getMenuTool()
Returns the Menu Tool of this swing application frame.

Returns:
MenuTool

applyLookAndFeel

public void applyLookAndFeel()
This method is useful to apply the change of a LookAndFeel at runtime. This method will also update the PreferenceDialog, if its visible (and available).

See Also:
LookAndFeelCommand

getDomainSelectorComponent

public javax.swing.JComponent getDomainSelectorComponent()
Returns the component that will be used as domain selector component in the layout tools container

Returns:
the component that will be used as domain selector component in the layout tools container

toString

public java.lang.String toString()

createDockMDIComponent

public DockMDIComponent createDockMDIComponent(java.util.List initialdocuments,
                                               MenuTool menuTool,
                                               Command closeDocumentCommand,
                                               UIManager uimanager)
Hook to create a DockMDIComponent subclass.

Parameters:
initialdocuments - list of initial-document.
menuTool - menutool reference.
closeDocumentCommand - close document command.
uimanager - the ui-manager to use.
Returns:
The created DockMDIComponent

getDocumentDropContext

public DocumentDropContext getDocumentDropContext()
Description copied from class: ApplicationFrame
Returns the Document drop context to be used when files are dropped into the frame. Returns null by default because subclasses have to define an implementation depending on the window toolkit they're using.

Overrides:
getDocumentDropContext in class ApplicationFrame
Returns:
the Document drop context to be used when files are dropped into the frame.

getPreferenceHelper

public PreferenceHelper getPreferenceHelper()
Returns the preference helper of this application.

Returns:
PreferenceHelper

setPreferenceHelper

public void setPreferenceHelper(PreferenceHelper helper)
Sets the preference helper of this application.

Parameters:
helper - the PreferenceHelper to set.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.