Package jadex.tools.convcenter
Class ConversationPlugin
- java.lang.Object
- 
- jadex.base.gui.plugin.AbstractJCCPlugin
- 
- jadex.tools.convcenter.ConversationPlugin
 
 
- 
- All Implemented Interfaces:
- IControlCenterPlugin,- IPropertiesProvider
 
 public class ConversationPlugin extends AbstractJCCPlugin The conversation plugin
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jadex.base.gui.plugin.AbstractJCCPluginAbstractJCCPlugin.ShowRemoteControlCenterHandler
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected ComponentTreePanelcomptreeThe agent tree table.protected ConversationPanelconvcenterThe conversation center panel.protected static javax.swing.UIDefaultsiconsThe image icons.static java.lang.StringLAST_MESSAGEThe property storing the last state of the message panel.static java.lang.StringSENT_MESSAGEThe property storing sent messages (from 0..4).- 
Fields inherited from class jadex.base.gui.plugin.AbstractJCCPluginjcc
 
- 
 - 
Constructor SummaryConstructors Constructor Description ConversationPlugin()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent[]createToolBar()The actions.javax.swing.JComponentcreateView()Create main panel.java.lang.StringgetName()Return the unique name of this plugin.IFuturegetProperties()Return properties to be saved in project.javax.swing.IcongetToolIcon(boolean selected)Return the icon representing this plugin.booleanisLazy()ConvCenter should initialize non-lazy to catch all incoming messages.IFuturesetProperties(Properties props)Set properties loaded from project.IFuture<java.lang.Void>shutdown()Shutdown the plugin.- 
Methods inherited from class jadex.base.gui.plugin.AbstractJCCPlugincreateMenuBar, getClassLoader, getJCC, getMenuBar, getToolBar, getView, init, pushPlatformSettings
 
- 
 
- 
- 
- 
Field Detail- 
LAST_MESSAGEpublic static final java.lang.String LAST_MESSAGE The property storing the last state of the message panel.- See Also:
- Constant Field Values
 
 - 
SENT_MESSAGEpublic static final java.lang.String SENT_MESSAGE The property storing sent messages (from 0..4).- See Also:
- Constant Field Values
 
 - 
iconsprotected static final javax.swing.UIDefaults icons The image icons.
 - 
comptreeprotected ComponentTreePanel comptree The agent tree table.
 - 
convcenterprotected ConversationPanel convcenter The conversation center panel.
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Description copied from interface:IControlCenterPluginReturn the unique name of this plugin. This method may be called before init(). Used e.g. to store properties of each plugin.- Returns:
- "Conversation Center"
- See Also:
- IControlCenterPlugin.getName()
 
 - 
isLazypublic boolean isLazy() ConvCenter should initialize non-lazy to catch all incoming messages.- Specified by:
- isLazyin interface- IControlCenterPlugin
- Overrides:
- isLazyin class- AbstractJCCPlugin
 
 - 
getToolIconpublic javax.swing.Icon getToolIcon(boolean selected) Description copied from interface:IControlCenterPluginReturn the icon representing this plugin. This method may be called before init().- Returns:
- the conversation icon
- See Also:
- jadex.base.gui.plugin.IControlCenterPlugin#getToolIcon()
 
 - 
createViewpublic javax.swing.JComponent createView() Create main panel.- Overrides:
- createViewin class- AbstractJCCPlugin
- Returns:
- The main panel.
 
 - 
createToolBarpublic javax.swing.JComponent[] createToolBar() The actions.- Overrides:
- createToolBarin class- AbstractJCCPlugin
- Returns:
- The tool bar.
 
 - 
setPropertiespublic IFuture setProperties(Properties props) Set properties loaded from project.- Specified by:
- setPropertiesin interface- IPropertiesProvider
- Overrides:
- setPropertiesin class- AbstractJCCPlugin
 
 - 
getPropertiespublic IFuture getProperties() Return properties to be saved in project.- Specified by:
- getPropertiesin interface- IPropertiesProvider
- Overrides:
- getPropertiesin class- AbstractJCCPlugin
 
 - 
shutdownpublic IFuture<java.lang.Void> shutdown() Shutdown the plugin.- Specified by:
- shutdownin interface- IControlCenterPlugin
- Overrides:
- shutdownin class- AbstractJCCPlugin
 
 
- 
 
-