|
|||||||||
| Home >> All >> org >> [ jext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jext
Interface Plugin

- public interface Plugin
An interface which defines the basical behavior of a Jext plugin. A plugin MUST implement this.
| Method Summary | |
void |
createMenuItems(JextFrame parent,
java.util.Vector pluginsMenus,
java.util.Vector pluginsMenuItems)
Called by parent (instance of Jext) to requires menu items specific to the plugin. |
void |
createOptionPanes(org.jext.options.OptionsDialog parent)
Called by Jext when user request plugins options. |
void |
start()
Called by Jext on startup to start plugin. |
void |
stop()
Called by Jext on close to stop plugin activities. |
| Method Detail |
createMenuItems
public void createMenuItems(JextFrame parent, java.util.Vector pluginsMenus, java.util.Vector pluginsMenuItems) throws java.lang.Throwable
- Called by parent (instance of Jext) to requires menu items
specific to the plugin. Menu items have to be added into the
Vector pluginsMenuItems and submenus have to be added into the
Vector pluginsMenu.
createOptionPanes
public void createOptionPanes(org.jext.options.OptionsDialog parent) throws java.lang.Throwable
- Called by Jext when user request plugins options. Plugin has to
add an AbstractOptionPane to the AbstractOptionsDialog parent.
start
public void start()
throws java.lang.Throwable
- Called by Jext on startup to start plugin.
stop
public void stop()
throws java.lang.Throwable
- Called by Jext on close to stop plugin activities.
This is called, in the background mode, only when the JVM exits completely, differently from the
JextEvent.KILLING_JEXT>
JextEvent.KILLING_JEXT55 event. See its docs for a discussion of differencies.
|
|||||||||
| Home >> All >> org >> [ jext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC