public class AddRIDAction
extends jadex.commons.gui.ToolTipAction
Modifier and Type | Field and Description |
---|---|
protected static javax.swing.UIDefaults |
icons
The image icons.
|
protected jadex.commons.concurrent.IThreadPool |
tp
The thread pool.
|
protected ITreeAbstraction |
treepanel
The tree.
|
Constructor and Description |
---|
AddRIDAction(ITreeAbstraction treepanel)
Create a new action
|
AddRIDAction(java.lang.String name,
javax.swing.Icon icon,
java.lang.String desc,
ITreeAbstraction treepanel)
Create a new action
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Action performed.
|
static javax.swing.Icon |
getIcon()
Get the icon.
|
static java.lang.String |
getName()
Get the name.
|
protected jadex.commons.future.IFuture<jadex.commons.concurrent.IThreadPool> |
getThreadPool()
Get the thread pool.
|
static java.lang.String |
getTooltipText()
Get the tooltip text.
|
boolean |
isEnabled()
Test if action is available in current context.
|
protected static final javax.swing.UIDefaults icons
protected ITreeAbstraction treepanel
protected jadex.commons.concurrent.IThreadPool tp
public AddRIDAction(ITreeAbstraction treepanel)
public AddRIDAction(java.lang.String name, javax.swing.Icon icon, java.lang.String desc, ITreeAbstraction treepanel)
public boolean isEnabled()
isEnabled
in interface javax.swing.Action
isEnabled
in class javax.swing.AbstractAction
public void actionPerformed(java.awt.event.ActionEvent e)
protected jadex.commons.future.IFuture<jadex.commons.concurrent.IThreadPool> getThreadPool()
public static javax.swing.Icon getIcon()
public static java.lang.String getName()
public static java.lang.String getTooltipText()