public class PluginController extends FrameworkController implements IPluginController, IPluginEvent
root| Constructor and Description |
|---|
PluginController() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitialized(org.fujion.component.BaseComponent comp)
Wire controller from toolbar components first, then from plugin.
|
void |
attachController(org.fujion.component.BaseComponent comp,
org.fujion.ancillary.IAutoWired controller)
Attaches a controller to the specified component and registers any recognized listeners to
the plugin.
|
ElementPlugin |
getPlugin() |
boolean |
isActive() |
void |
onActivate()
Fired when the plugin is activated in the UI
|
void |
onInactivate()
Fired when the plugin is inactivated in the UI
|
void |
onLoad(ElementPlugin plugin)
Fired when the plugin is first loaded
|
void |
onUnload()
Fired when the plugin is unloaded
|
protected org.carewebframework.api.thread.IAbortable |
removeThread(org.carewebframework.api.thread.IAbortable thread)
Remove a thread from the active list.
|
void |
showBusy(String message)
Displays/clears a busy message.
|
abortBackgroundThread, abortBackgroundThreads, addThread, cleanup, getAppContext, getAppFramework, getController, getController, getController, getEventManager, hasActiveThreads, initialize, onRefresh, refresh, startBackgroundThread, threadAborted, threadFinishedpublic void afterInitialized(org.fujion.component.BaseComponent comp)
afterInitialized in interface org.fujion.ancillary.IAutoWiredafterInitialized in class FrameworkControllerpublic void showBusy(String message)
message - The message.public void onLoad(ElementPlugin plugin)
IPluginEventonLoad in interface IPluginEventplugin - The plugin.public void onActivate()
IPluginEventonActivate in interface IPluginEventpublic void onInactivate()
IPluginEventonInactivate in interface IPluginEventpublic void onUnload()
IPluginEventonUnload in interface IPluginEventpublic boolean isActive()
public void attachController(org.fujion.component.BaseComponent comp,
org.fujion.ancillary.IAutoWired controller)
comp - Target component.controller - Controller to attach.public ElementPlugin getPlugin()
protected org.carewebframework.api.thread.IAbortable removeThread(org.carewebframework.api.thread.IAbortable thread)
removeThread in class FrameworkControllerthread - Thread to remove.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.