org.herac.tuxguitar.gui.system.plugins.base
Class TGToolItemPlugin

java.lang.Object
  extended by org.herac.tuxguitar.gui.system.plugins.base.TGPluginAdapter
      extended by org.herac.tuxguitar.gui.system.plugins.base.TGToolItemPlugin
All Implemented Interfaces:
TGPlugin

public abstract class TGToolItemPlugin
extends TGPluginAdapter


Nested Class Summary
protected  class TGToolItemPlugin.TGCustomToolAction
           
 
Constructor Summary
TGToolItemPlugin()
           
 
Method Summary
protected  void addPlugin()
           
 void close()
           
protected abstract  void doAction()
           
protected abstract  java.lang.String getItemName()
           
 void init()
           
protected  void removePlugin()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class org.herac.tuxguitar.gui.system.plugins.base.TGPluginAdapter
getAuthor, getDescription, getName, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGToolItemPlugin

public TGToolItemPlugin()
Method Detail

doAction

protected abstract void doAction()

getItemName

protected abstract java.lang.String getItemName()
                                         throws TGPluginException
Throws:
TGPluginException

init

public void init()
          throws TGPluginException
Throws:
TGPluginException

close

public void close()
           throws TGPluginException
Throws:
TGPluginException

setEnabled

public void setEnabled(boolean enabled)
                throws TGPluginException
Throws:
TGPluginException

addPlugin

protected void addPlugin()
                  throws TGPluginException
Throws:
TGPluginException

removePlugin

protected void removePlugin()
                     throws TGPluginException
Throws:
TGPluginException