|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.ui.app.AbstractPlugin
org.fife.rtext.plugins.tidy.Plugin
A plugin that "tidies" source code. This code calls into other libraries for its functionality.
| Constructor Summary | |
Plugin(AbstractPluggableGUIApplication app)
Constructor. |
|
| Method Summary | |
HtmlOptions |
getHtmlOptions()
Returns the options related to tidying HTML. |
PluginOptionsDialogPanel |
getOptionsDialogPanel()
Returns an options panel for use in an Options dialog. This panel should contain all options pertaining to this plugin. |
java.lang.String |
getPluginAuthor()
Returns the author of the plugin. |
javax.swing.Icon |
getPluginIcon()
Returns the icon to display beside the name of this plugin in the application's interface. |
java.lang.String |
getPluginName()
Returns the name of the plugin. |
java.lang.String |
getPluginVersion()
Returns the version of the plugin. |
XmlOptions |
getXmlOptions()
Returns the options related to tidying XML. |
void |
install(AbstractPluggableGUIApplication app)
Called just after a plugin is added to a GUI application. If this is a GUIPlugin, it has already been added visually. Plugins
should use this method to register any listeners to the GUI application
and do any other necessary setup. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Called whenever a change we're interested in occurs in RText. |
void |
savePreferences()
Called when the GUI application is shutting down. When this method is called, the Plugin should save any preferences. |
boolean |
uninstall()
Called just before this Plugin is removed from an
GUIApplication. This gives the plugin a chance to clean
up any loose ends (kill any threads, close any files, remove listeners,
etc.). |
| Methods inherited from class org.fife.ui.app.AbstractPlugin |
getOptionsDialogPanelParentPanelID, setOptionsDialogPanelParentPanelID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Plugin(AbstractPluggableGUIApplication app)
app - The parent application.| Method Detail |
public HtmlOptions getHtmlOptions()
public PluginOptionsDialogPanel getOptionsDialogPanel()
getOptionsDialogPanel in interface Pluginpublic java.lang.String getPluginAuthor()
getPluginAuthor in interface Pluginpublic javax.swing.Icon getPluginIcon()
getPluginIcon in interface Pluginnull
to represent no icon.public java.lang.String getPluginName()
getPluginName in interface Pluginpublic java.lang.String getPluginVersion()
getPluginVersion in interface Pluginpublic XmlOptions getXmlOptions()
public void install(AbstractPluggableGUIApplication app)
GUIPlugin, it has already been added visually. Plugins
should use this method to register any listeners to the GUI application
and do any other necessary setup.
install in interface Pluginapp - The application to which this plugin was just added.Plugin.uninstall()public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenere - The event.public void savePreferences()
Plugin should save any preferences.
savePreferences in interface Pluginpublic boolean uninstall()
Plugin is removed from an
GUIApplication. This gives the plugin a chance to clean
up any loose ends (kill any threads, close any files, remove listeners,
etc.).
uninstall in interface PluginPlugin.install(org.fife.ui.app.AbstractPluggableGUIApplication)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||