public interface IControlCenter
Modifier and Type | Method and Description |
---|---|
void |
addStatusComponent(java.lang.Object id,
javax.swing.JComponent comp)
Add a component to the status bar.
|
void |
displayError(java.lang.String errortitle,
java.lang.String errormessage,
java.lang.Exception exception)
Display an error dialog.
|
jadex.commons.future.IFuture<java.lang.ClassLoader> |
getClassLoader(jadex.bridge.IResourceIdentifier rid)
Get the resource identifier.
|
CMSUpdateHandler |
getCMSHandler()
Get the cms update handler shared by all tools.
|
ComponentIconCache |
getIconCache()
Get the component icon cache shared by all tools.
|
jadex.bridge.IExternalAccess |
getJCCAccess()
Get the external access of the JCC component (always local).
|
jadex.bridge.IExternalAccess |
getPlatformAccess()
Get the external access of the administered platform (potentially remote).
|
PropertyUpdateHandler |
getPropertyHandler()
Get the cms update handler shared by all tools.
|
javax.swing.JComponent |
getStatusComponent(java.lang.Object id)
Get a component from the status bar.
|
void |
removeStatusComponent(java.lang.Object id)
Remove a previously added component from the status bar.
|
void |
setStatusText(java.lang.String text)
Set a text to be displayed in the status bar.
|
void |
showPlatform(jadex.bridge.IExternalAccess platformaccess)
Add a new platform control center
or switch to tab if already exists.
|
void |
showPlugin(java.lang.String name)
Switch to a plugin.
|
jadex.bridge.IExternalAccess getPlatformAccess()
jadex.bridge.IExternalAccess getJCCAccess()
CMSUpdateHandler getCMSHandler()
PropertyUpdateHandler getPropertyHandler()
ComponentIconCache getIconCache()
void showPlugin(java.lang.String name)
void showPlatform(jadex.bridge.IExternalAccess platformaccess)
void setStatusText(java.lang.String text)
javax.swing.JComponent getStatusComponent(java.lang.Object id)
id
- Id used for adding a component.void addStatusComponent(java.lang.Object id, javax.swing.JComponent comp)
id
- An id for later reference.comp
- The component to display.void removeStatusComponent(java.lang.Object id)
id
- The id used for adding the component.void displayError(java.lang.String errortitle, java.lang.String errormessage, java.lang.Exception exception)
errortitle
- The title to use for an error dialog (required).errormessage
- An optional error message displayed before the exception.exception
- The exception (if any).jadex.commons.future.IFuture<java.lang.ClassLoader> getClassLoader(jadex.bridge.IResourceIdentifier rid)