|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fife.ui.app.AbstractPlugin org.fife.ui.app.GUIPlugin org.fife.rtext.plugins.tasks.TasksPlugin
public class TasksPlugin
Plugin that adds "Tasks" support to RText.
Field Summary |
---|
Fields inherited from interface org.fife.ui.app.GUIApplicationConstants |
---|
OS_LINUX, OS_MAC_OSX, OS_OTHER, OS_WINDOWS |
Fields inherited from interface org.fife.ui.dockablewindows.DockableWindowConstants |
---|
BOTTOM, FLOATING, LEFT, RIGHT, TOP |
Constructor Summary | |
---|---|
TasksPlugin(AbstractPluggableGUIApplication app)
Constructor. |
Method Summary | |
---|---|
PluginOptionsDialogPanel |
getOptionsDialogPanel()
Returns an options panel for use in an Options dialog. |
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. |
java.lang.String |
getTaskIdentifiers()
Returns the current task identifiers. |
void |
install(AbstractPluggableGUIApplication app)
Called just after a plugin is added to a GUI application. |
boolean |
isTaskWindowVisible()
Returns whether the task window is currently visible. |
void |
savePreferences()
Called when the GUI application is shutting down. |
boolean |
uninstall()
Called just before this Plugin is removed from an
GUIApplication . |
Methods inherited from class org.fife.ui.app.GUIPlugin |
---|
dockableWindowIterator, getDockableWindow, lookAndFeelChanged, putDockableWindow |
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 TasksPlugin(AbstractPluggableGUIApplication app)
app
- The parent RText application.Method Detail |
---|
public PluginOptionsDialogPanel getOptionsDialogPanel()
public java.lang.String getPluginAuthor()
public javax.swing.Icon getPluginIcon()
null
to represent no icon.public java.lang.String getPluginName()
public java.lang.String getPluginVersion()
public java.lang.String getTaskIdentifiers()
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.
app
- The application to which this plugin was just added.Plugin.uninstall()
public boolean isTaskWindowVisible()
public void savePreferences()
Plugin
should save any preferences.
public 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.).
Plugin.install(org.fife.ui.app.AbstractPluggableGUIApplication)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |