public class MainController extends PluginController implements IInfoPanel
IInfoPanel.Action| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALERT_ACTION_EVENT |
ALERT_EVENT_NAME, DROP_EVENT_NAME, DROP_ID, EVENT_NAME| Constructor and Description |
|---|
MainController() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitialized(org.fujion.component.BaseComponent comp)
Set the drop id of the root component.
|
void |
clearAlerts()
Clear all alerts.
|
void |
drop(org.fujion.component.BaseComponent droppedItem)
Drops the specified item onto the panel, invoking its renderer.
|
String |
getDropId()
Returns the drop id for the panel.
|
void |
onAlertAction$alertRoot(org.fujion.event.Event event)
Handles onAlertAction event which an alert container sends after it has processed an action.
|
void |
onClick$alertIcon()
Toggles the alert panel open state.
|
void |
onDrop(org.fujion.event.DropEvent event)
Handler for drop events.
|
void |
onLoad(ElementPlugin plugin)
Subscribe to drop request events.
|
void |
onUnload()
Unsubscribe from drop request events.
|
void |
registerMenuItem(org.fujion.component.Menuitem menuitem,
String path)
Adds a menu item to the panel's menu bar.
|
void |
showAlert(org.fujion.component.BaseComponent root)
Displays an alert in the alert grid.
|
void |
unregisterMenuItem(org.fujion.component.Menuitem menuitem)
Removes a menu item from the panel's menu bar.
|
attachController, getPlugin, isActive, onActivate, onInactivate, removeThread, showBusyabortBackgroundThread, abortBackgroundThreads, addThread, cleanup, getAppContext, getAppFramework, getController, getController, getController, getEventManager, hasActiveThreads, initialize, onRefresh, refresh, startBackgroundThread, threadAborted, threadFinishedprotected static final String ALERT_ACTION_EVENT
public void afterInitialized(org.fujion.component.BaseComponent comp)
afterInitialized in interface org.fujion.ancillary.IAutoWiredafterInitialized in class PluginControllercomp - The root component of the info panel.public void registerMenuItem(org.fujion.component.Menuitem menuitem,
String path)
registerMenuItem in interface IInfoPanelmenuitem - The menu item to register.path - The menu path under which the item should appear.IInfoPanel.registerMenuItem(Menuitem,
String)public void unregisterMenuItem(org.fujion.component.Menuitem menuitem)
unregisterMenuItem in interface IInfoPanelmenuitem - Menu item to remove.IInfoPanel.unregisterMenuItem(Menuitem)public void onDrop(org.fujion.event.DropEvent event)
event - The drop event.public void onClick$alertIcon()
public void onAlertAction$alertRoot(org.fujion.event.Event event)
event - The onAlertAction event.public String getDropId()
getDropId in interface org.fujion.dragdrop.IDropHandlerpublic void drop(org.fujion.component.BaseComponent droppedItem)
drop in interface org.fujion.dragdrop.IDropHandlerdroppedItem - Item to drop.public void showAlert(org.fujion.component.BaseComponent root)
showAlert in interface IInfoPanelroot - Root component for the rendered alert.public void clearAlerts()
clearAlerts in interface IInfoPanelpublic void onLoad(ElementPlugin plugin)
onLoad in interface IPluginEventonLoad in class PluginControllerpublic void onUnload()
onUnload in interface IPluginEventonUnload in class PluginControllerCopyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.