Package jadex.base.gui.plugin
Interface IControlCenter
- 
- All Known Implementing Classes:
- PlatformControlCenter
 
 public interface IControlCenterControl center interface providing useful methods that may be called from plugins.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddStatusComponent(java.lang.Object id, javax.swing.JComponent comp)Add a component to the status bar.voiddisplayError(java.lang.String errortitle, java.lang.String errormessage, java.lang.Exception exception)Display an error dialog.IFuture<java.lang.ClassLoader>getClassLoader(IResourceIdentifier rid)Get the resource identifier.CMSUpdateHandlergetCMSHandler()Get the cms update handler shared by all tools.ComponentIconCachegetIconCache()Get the component icon cache shared by all tools.IExternalAccessgetJCCAccess()Get the external access of the JCC component (always local).IExternalAccessgetPlatformAccess()Get the external access of the administered platform (potentially remote).PropertyUpdateHandlergetPropertyHandler()Get the cms update handler shared by all tools.javax.swing.JComponentgetStatusComponent(java.lang.Object id)Get a component from the status bar.voidremoveStatusComponent(java.lang.Object id)Remove a previously added component from the status bar.voidsetStatusText(java.lang.String text)Set a text to be displayed in the status bar.voidshowPlatform(IExternalAccess platformaccess)Add a new platform control center or switch to tab if already exists.voidshowPlugin(java.lang.String name)Switch to a plugin.
 
- 
- 
- 
Method Detail- 
getPlatformAccessIExternalAccess getPlatformAccess() Get the external access of the administered platform (potentially remote).- Returns:
- The external access.
 
 - 
getJCCAccessIExternalAccess getJCCAccess() Get the external access of the JCC component (always local).- Returns:
- The external access.
 
 - 
getCMSHandlerCMSUpdateHandler getCMSHandler() Get the cms update handler shared by all tools.
 - 
getPropertyHandlerPropertyUpdateHandler getPropertyHandler() Get the cms update handler shared by all tools.
 - 
getIconCacheComponentIconCache getIconCache() Get the component icon cache shared by all tools.
 - 
showPluginvoid showPlugin(java.lang.String name) Switch to a plugin. Shows the plugin, if available.
 - 
showPlatformvoid showPlatform(IExternalAccess platformaccess) Add a new platform control center or switch to tab if already exists.
 - 
setStatusTextvoid setStatusText(java.lang.String text) Set a text to be displayed in the status bar. The text will be removed automatically after some delay (or replaced by some other text).
 - 
getStatusComponentjavax.swing.JComponent getStatusComponent(java.lang.Object id) Get a component from the status bar.- Parameters:
- id- Id used for adding a component.
- Returns:
- The component to display.
 
 - 
addStatusComponentvoid addStatusComponent(java.lang.Object id, javax.swing.JComponent comp)Add a component to the status bar.- Parameters:
- id- An id for later reference.
- comp- The component to display.
 
 - 
removeStatusComponentvoid removeStatusComponent(java.lang.Object id) Remove a previously added component from the status bar.- Parameters:
- id- The id used for adding the component.
 
 - 
displayErrorvoid displayError(java.lang.String errortitle, java.lang.String errormessage, java.lang.Exception exception)Display an error dialog.- Parameters:
- errortitle- The title to use for an error dialog (required).
- errormessage- An optional error message displayed before the exception.
- exception- The exception (if any).
 
 - 
getClassLoaderIFuture<java.lang.ClassLoader> getClassLoader(IResourceIdentifier rid) Get the resource identifier.
 
- 
 
-