org.grinvin.list.commands
Class GraphRename
ActionCommand
org.grinvin.list.commands.GraphRename
- ListSelectionListener
public class GraphRename
extends ActionCommand
implements ListSelectionListener
GUI command which allows the user to rename the currently selected
graph list element.
Acts upon a array list model and a selection model stored as attributes in
an attributed command manager.
GraphRename(CommandManager commandManager, String id) - Construct an action command of this type.
|
protected void | handleExecute() - Ask the user to rename the currently selected graph list element.
|
void | valueChanged(ListSelectionEvent e)
|
GraphRename
public GraphRename(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.
valueChanged
public void valueChanged(ListSelectionEvent e)