verf.core
Class CorePlugin

java.lang.Object
  extended by org.java.plugin.Plugin
      extended by org.java.plugin.boot.ApplicationPlugin
          extended by verf.core.CorePlugin
All Implemented Interfaces:
org.java.plugin.boot.Application

public final class CorePlugin
extends org.java.plugin.boot.ApplicationPlugin
implements org.java.plugin.boot.Application

Version:
$Id: CorePlugin.java,v 1.1 2007/03/04 13:00:56 ddimon Exp $

Field Summary
static java.lang.String PLUGIN_ID
          This plug-in ID.
 
Fields inherited from class org.java.plugin.Plugin
log
 
Constructor Summary
CorePlugin()
           
 
Method Summary
protected  void activateTool(javax.swing.JComponent toolComponent)
           
 void addTools(javax.swing.JTabbedPane pane)
          Allows to add tool into content.
protected  void doStart()
           
protected  void doStop()
           
 java.io.File getDataFolder(org.java.plugin.registry.PluginDescriptor descr)
          Returns folder where given plug-in can store it's data.
protected  org.java.plugin.boot.Application initApplication(org.java.plugin.util.ExtendedProperties config, java.lang.String[] args)
           
 void startApplication()
           
 
Methods inherited from class org.java.plugin.Plugin
getDescriptor, getManager, isActive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
This plug-in ID.

See Also:
Constant Field Values
Constructor Detail

CorePlugin

public CorePlugin()
Method Detail

getDataFolder

public java.io.File getDataFolder(org.java.plugin.registry.PluginDescriptor descr)
                           throws java.io.IOException
Returns folder where given plug-in can store it's data.

Parameters:
descr - plug-in descriptor
Returns:
plug-in data folder
Throws:
java.io.IOException - if folder doesn't exist and can't be created

doStart

protected void doStart()
                throws java.lang.Exception
Specified by:
doStart in class org.java.plugin.Plugin
Throws:
java.lang.Exception
See Also:
Plugin.doStart()

doStop

protected void doStop()
               throws java.lang.Exception
Specified by:
doStop in class org.java.plugin.Plugin
Throws:
java.lang.Exception
See Also:
Plugin.doStop()

initApplication

protected org.java.plugin.boot.Application initApplication(org.java.plugin.util.ExtendedProperties config,
                                                           java.lang.String[] args)
                                                    throws java.lang.Exception
Specified by:
initApplication in class org.java.plugin.boot.ApplicationPlugin
Throws:
java.lang.Exception
See Also:
ApplicationPlugin.initApplication( ExtendedProperties, String[])

startApplication

public void startApplication()
Specified by:
startApplication in interface org.java.plugin.boot.Application
See Also:
Application.startApplication()

addTools

public void addTools(javax.swing.JTabbedPane pane)
Allows to add tool into content.

Parameters:
pane - Tool content pane.

activateTool

protected void activateTool(javax.swing.JComponent toolComponent)