ti.chimera.plugin
Class WindowModePlugin
java.lang.Object
ti.chimera.Plugin
ti.chimera.plugin.AbstractModePlugin
ti.chimera.plugin.WindowModePlugin
- public class WindowModePlugin
- extends AbstractModePlugin
This plugin provides an implementation of the window manager mode. It
provides an implementation of the WindowMode
service for the
window manager to use to activate/deactivate this mode. The rest of
this plugin realizes the implementation of displaying dialogs, tool-
bars, menubar entries, etc., on behalf of the window manager plugin.
This plugin is only half of the equasion as far as window management.
The other half is the plugin that implements the "window manager"
service, which is the "front end" that the rest of the system uses.
The devision is labor is that the this plugin responds to data written
into the registry.
- Version:
- 0.1
- Author:
- Rob Clark
Fields inherited from class ti.chimera.Plugin |
main |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WindowModePlugin
public WindowModePlugin(Main main)
- Class Constructor.
- Parameters:
main
- the main application
getDefaultMainWindowBounds
protected java.awt.Rectangle getDefaultMainWindowBounds()
- Get the appropriate default main-window size for this mode
createMainWindow
protected java.awt.Component createMainWindow()
- Create the main-window, in which the menubar, toolbar, etc. are
displayed.
- Specified by:
createMainWindow
in class AbstractModePlugin
- Returns:
- the main-window
- See Also:
#diposeMainWindow
disposeMainWindow
protected void disposeMainWindow(java.awt.Component mainWindow)
- Dispose of the main-window created by
createMainWindow()
.
- Specified by:
disposeMainWindow
in class AbstractModePlugin
- Parameters:
mainWindow
- the main-window to dispose- See Also:
createMainWindow()