org.grinvin.list.commands

Class GraphRenameOne


public class GraphRenameOne
extends ActionCommand

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.

Constructor Summary

GraphRenameOne(CommandManager commandManager, String id)
Construct an action command of this type.

Method Summary

protected void
handleExecute()
Ask the user to rename the currently selected graph list element.

Constructor Details

GraphRenameOne

public GraphRenameOne(CommandManager commandManager,
                      String id)
Construct an action command of this type.
Parameters:
commandManager - Command manager, which must be of class AttributedCommandManager

Method Details

handleExecute

protected void handleExecute()
Ask the user to rename the currently selected graph list element.