ti.chimera.plugin
Class AbstractModePlugin.AbstractWindowMode

java.lang.Object
  extended byti.chimera.Service
      extended byti.chimera.service.WindowMode
          extended byti.chimera.plugin.AbstractModePlugin.AbstractWindowMode
Enclosing class:
AbstractModePlugin

protected abstract class AbstractModePlugin.AbstractWindowMode
extends WindowMode

Base class for service... makes use of startHook()/stopHook()/ createDialog() which must be implemented by derived class.


Constructor Summary
protected AbstractModePlugin.AbstractWindowMode(java.lang.String name)
           
 
Method Summary
protected abstract  void createDialog(java.lang.String name)
          Called to realize a dialog
 void start()
          Start this mode.
protected abstract  void startHook()
          Called after mainWindow is created, but before subscribes in start()
 void stop()
          Stop this mode.
protected abstract  void stopHook()
          Called after unsubscribes in stop()
 
Methods inherited from class ti.chimera.Service
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractModePlugin.AbstractWindowMode

protected AbstractModePlugin.AbstractWindowMode(java.lang.String name)
Method Detail

start

public final void start()
Description copied from class: WindowMode
Start this mode. The registry may already be (partially) populated with data (dialogs, toolbars, menubar entries, etc.)

Specified by:
start in class WindowMode

stop

public final void stop()
Description copied from class: WindowMode
Stop this mode. Perform any necessary cleanup.

Specified by:
stop in class WindowMode

startHook

protected abstract void startHook()
Called after mainWindow is created, but before subscribes in start()


stopHook

protected abstract void stopHook()
Called after unsubscribes in stop()


createDialog

protected abstract void createDialog(java.lang.String name)
Called to realize a dialog