org.xnap.plugin
Class AbstractThemePlugin

java.lang.Object
  extended by org.xnap.plugin.AbstractPlugin
      extended by org.xnap.plugin.AbstractThemePlugin
All Implemented Interfaces:
Plugin
Direct Known Subclasses:
EclipsePlugin, LiquidPlugin, TechnicalPlugin

public abstract class AbstractThemePlugin
extends AbstractPlugin

Provides the default implementation for theme plugin classes.


Constructor Summary
AbstractThemePlugin()
           
 
Method Summary
protected abstract  Theme createTheme()
          Creates and returns the theme.
 Theme getTheme()
           
 void start()
          Registers the theme.
 void startGUI()
          Does nothing.
 void stop()
          Unregisters the theme
 void stopGUI()
          Does nothing.
 
Methods inherited from class org.xnap.plugin.AbstractPlugin
getInfo, setInfo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractThemePlugin

public AbstractThemePlugin()
Method Detail

createTheme

protected abstract Theme createTheme()
Creates and returns the theme.


getTheme

public Theme getTheme()

start

public void start()
Registers the theme. We need to do this before the gui is started (except for the SplashWindow).

See Also:
Plugin.start()

startGUI

public void startGUI()
Does nothing.

See Also:
Plugin.startGUI()

stop

public void stop()
Unregisters the theme

See Also:
Plugin.stop()

stopGUI

public void stopGUI()
Does nothing.

See Also:
Plugin.stopGUI()


Copyright © 2001-2005 XNap Team. All Rights Reserved.