public class ComponentSelectorDialog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
aborted
Was the dialog aborted?
|
protected jadex.bridge.IExternalAccess |
access
The shown platform.
|
protected CMSUpdateHandler |
cmshandler
The cms handler.
|
protected javax.swing.JComponent |
comptree
Panel as field for repaint in addSelectedAgent.
|
protected ComponentIconCache |
iconcache
The icon cache.
|
protected static javax.swing.UIDefaults |
icons
The image icons.
|
protected jadex.bridge.IExternalAccess |
jccaccess
The local platform.
|
protected javax.swing.JList |
list |
protected javax.swing.JButton |
newaid
Button as field for repaint in addSelectedAgent.
|
protected javax.swing.JButton |
ok
Button as field for repaint in addSelectedAgent.
|
protected java.awt.Component |
parent
The parent component.
|
protected PropertyUpdateHandler |
prophandler
The cms handler.
|
protected javax.swing.JButton |
remove
Button as field for repaint in addSelectedAgent.
|
protected javax.swing.JButton |
removeall
Button as field for repaint in addSelectedAgent.
|
protected javax.swing.JButton |
select
Button as field for repaint in addSelectedAgent.
|
protected javax.swing.DefaultListModel |
sels
The selected agents.
|
protected boolean |
singleselection
Is the single selection dialog showing?
|
Constructor and Description |
---|
ComponentSelectorDialog(java.awt.Component parent,
jadex.bridge.IExternalAccess access,
jadex.bridge.IExternalAccess jccaccess,
CMSUpdateHandler cmshandler,
PropertyUpdateHandler prophandler,
ComponentIconCache iconcache)
Create a new AgentSelectorDialog.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSelected() |
protected void |
addSelectedAgent(jadex.bridge.IComponentIdentifier agent,
javax.swing.JList list)
Add an agent to the list of selected agents
|
protected javax.swing.JDialog |
createDialog()
Create the dialog.
|
protected javax.swing.JComponent |
createTreeView() |
protected void |
disposeTreeView() |
protected java.lang.String |
getDialogName() |
protected java.lang.String |
getSelectedListName() |
protected jadex.bridge.IComponentIdentifier |
getSelectedObject() |
protected java.lang.String |
getTreeViewName() |
protected boolean |
isTreeViewSelectionEmpty() |
jadex.bridge.IComponentIdentifier |
selectAgent(jadex.bridge.IComponentIdentifier def)
Open a modal dialog to select/enter an agent identifier.
|
jadex.bridge.IComponentIdentifier[] |
selectAgents(jadex.bridge.IComponentIdentifier[] receivers)
Select/edit a list of agents.
|
protected static final javax.swing.UIDefaults icons
protected java.awt.Component parent
protected jadex.bridge.IExternalAccess access
protected jadex.bridge.IExternalAccess jccaccess
protected CMSUpdateHandler cmshandler
protected PropertyUpdateHandler prophandler
protected ComponentIconCache iconcache
protected javax.swing.DefaultListModel sels
protected boolean singleselection
protected boolean aborted
protected javax.swing.JButton select
protected javax.swing.JButton newaid
protected javax.swing.JButton remove
protected javax.swing.JButton removeall
protected javax.swing.JButton ok
protected javax.swing.JComponent comptree
protected javax.swing.JList list
public ComponentSelectorDialog(java.awt.Component parent, jadex.bridge.IExternalAccess access, jadex.bridge.IExternalAccess jccaccess, CMSUpdateHandler cmshandler, PropertyUpdateHandler prophandler, ComponentIconCache iconcache)
public jadex.bridge.IComponentIdentifier selectAgent(jadex.bridge.IComponentIdentifier def)
public jadex.bridge.IComponentIdentifier[] selectAgents(jadex.bridge.IComponentIdentifier[] receivers)
protected javax.swing.JDialog createDialog()
protected javax.swing.JComponent createTreeView()
protected void disposeTreeView()
protected boolean isTreeViewSelectionEmpty()
protected jadex.bridge.IComponentIdentifier getSelectedObject()
protected void addSelected()
protected void addSelectedAgent(jadex.bridge.IComponentIdentifier agent, javax.swing.JList list)
agent
- The agent to add.protected java.lang.String getDialogName()
protected java.lang.String getTreeViewName()
protected java.lang.String getSelectedListName()