public class AddPathAction
extends jadex.commons.gui.ToolTipAction
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JFileChooser |
filechooser
The file chooser.
|
protected static javax.swing.UIDefaults |
icons
The image icons.
|
protected ITreeAbstraction |
treepanel
The tree.
|
Constructor and Description |
---|
AddPathAction(ITreeAbstraction treepanel)
Create a new action
|
AddPathAction(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.
|
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 javax.swing.JFileChooser filechooser
public AddPathAction(ITreeAbstraction treepanel)
public AddPathAction(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)
public static javax.swing.Icon getIcon()
public static java.lang.String getName()
public static java.lang.String getTooltipText()