org.grinvin.list.commands
Class GraphListRename
ActionCommand
org.grinvin.list.commands.GraphListRename
- ChangeListener, ListSelectionListener
public class GraphListRename
extends ActionCommand
implements ListSelectionListener, ChangeListener
GUI command which allows the user to rename the currently selected
graph list.
Acts upon a array list model and a selection model stored as attributes in
an attributed command manager.
GraphListRename(CommandManager commandManager, String id) - Construct an action command of this type.
|
GraphListRename
public GraphListRename(CommandManager commandManager,
String id)
Construct an action command of this type.
commandManager
- Command manager, which must be of class AttributedCommandManager
handleExecute
protected void handleExecute()
Ask the user to rename the currently selected graph list element.
stateChanged
public void stateChanged(ChangeEvent e)
valueChanged
public void valueChanged(ListSelectionEvent e)