|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jsxe.ActionPlugin
This defines the general interface that all plugins for jsXe must implement. There are two types of plugins, ViewPlugins and ActionPlugins. ViewPlugins specify a view that can be used to edit XML documents. ActionPlugins add actions to jsXe allowing it to do extra tasks such as XSLT transformation.
Nested Class Summary | |
static class |
ActionPlugin.Broken
|
Constructor Summary | |
ActionPlugin()
Constructs an ActionPlugin with the supplied values. |
Method Summary | |
protected void |
addAction(String name,
Action action)
Allows subclasses to add actions to the ActionSet for the plugin. |
ActionSet |
getActionSet()
Gets the ActionSet for this plugin. |
OptionsPanel |
getOptionsPanel(DocumentBuffer buffer)
Gets the options panel for setting general plugin options. |
JMenu |
getPluginMenu()
Returns the menu that appears in the tools menu in jsXe. |
Properties |
getProperties()
The properties to add to jsXe when the plugin is loaded. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionPlugin()
Method Detail |
public JMenu getPluginMenu()
public OptionsPanel getOptionsPanel(DocumentBuffer buffer)
public Properties getProperties()
protected void addAction(String name, Action action)
name
- the name of the actionaction
- the action itselfpublic ActionSet getActionSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |