org.grinvin.list.commands

Class GraphListRenameOne


public class GraphListRenameOne
extends ActionCommand

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.

Constructor Summary

GraphListRenameOne(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

GraphListRenameOne

public GraphListRenameOne(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.