|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.launch.LaunchTask
com.tensegrity.skeleton.swing.launch.AbstractLaunchTask
com.tensegrity.skeleton.swing.launch.InitFrameLaunchTask
Initializes the GUI of an
ApplicationFrame.
| Nested Class Summary | |
static class |
InitFrameLaunchTask.DockContainerViewConfig
This class configures a view of an existing Container for the dock-mdi framework.
|
| Field Summary |
| Fields inherited from class com.tensegrity.gui.launch.LaunchTask |
lasterror, LAUNCHTASKSTATUS_FATAL, LAUNCHTASKSTATUS_FATAL_RETRY, LAUNCHTASKSTATUS_SERIOUS, LAUNCHTASKSTATUS_SERIOUS_RETRY, LAUNCHTASKSTATUS_SHUTDOWN, LAUNCHTASKSTATUS_SUCCESS, LAUNCHTASKSTATUS_WARNING |
| Constructor Summary | |
InitFrameLaunchTask(ApplicationFrame applicationFrame)
Creates a new InitFrameLaunchTask. |
|
| Method Summary | |
InitFrameLaunchTask.DockContainerViewConfig[] |
getDockConfigs()
This method is relevant only of if the dock-gui is enabled. |
void |
loadViewConfig()
This method loads the view-config that is stored inside the preferences. |
void |
postCreate(java.lang.Object object)
This method is called right before the run method is
finished. |
int |
run()
The run method of this launch task. |
| Methods inherited from class com.tensegrity.skeleton.swing.launch.AbstractLaunchTask |
findResourceText, getApplicationFrame, getName, getStatusPrefix, getStatusPrefixResourceKey |
| Methods inherited from class com.tensegrity.gui.launch.LaunchTask |
getError, getStatusDetails |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InitFrameLaunchTask(ApplicationFrame applicationFrame)
InitFrameLaunchTask.
applicationFrame - Application context for this LaunchTask.| Method Detail |
public final int run()
throws java.lang.Exception
LaunchTask
run in class LaunchTaskLAUNCHTASKSTATUS_* constants defined
in this interface.
java.lang.Exceptionpublic void postCreate(java.lang.Object object)
AbstractLaunchTaskrun method is
finished. This method is an entry point to modify a created item.
postCreate in class AbstractLaunchTaskobject - public InitFrameLaunchTask.DockContainerViewConfig[] getDockConfigs()
LNFConfiguration.getMDIStyle()
returns LNFConfiguration.MDISTYLE_DOCK.
This method returns an array of InitFrameLaunchTask.DockContainerViewConfigs.
This instances each represent a configuration of a view in the mdi-dock.
A view is a window that wraps a tensegrity Container inside of it.
The configuration instance define a symbolic name (entrytag) to the
Container, a preferred tab-pane name, an optional icon and a
display string.
Subclasses of InitFrameLaunchTask can override this method
to provide their own default mapping of containers to views and
preferred tabpanes.
public void loadViewConfig()
LNFConfiguration.getMDIStyle() is not the
dock-mdi style, this method returns silently without performing
any work.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||