|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.freehep.application.studio.Plugin
public abstract class Plugin
A base class which Plugins must extend
| Constructor Summary | |
|---|---|
Plugin()
|
|
| Method Summary | |
|---|---|
protected void |
addMenu(JMenuItem item,
long location)
|
protected void |
applicationVisible()
Called after all plugins have been loaded, and the GUI has become visible |
boolean |
canBeShutDown()
Test if the plugin can be shutdown. |
Studio |
getApplication()
|
protected void |
init()
Called to initialize the plugin. |
protected void |
postInit()
Called after all plugins have been loaded, but before the GUI has become visible |
protected void |
shutdown()
Called to shutdown the plugin (if supported) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Plugin()
| Method Detail |
|---|
protected void init()
throws Throwable
Throwableprotected void postInit()
protected void applicationVisible()
public boolean canBeShutDown()
protected void shutdown()
public Studio getApplication()
protected void addMenu(JMenuItem item,
long location)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||