org.grinvin.list.actions

Class GraphRename

Implemented Interfaces:
ListSelectionListener

public class GraphRename
extends AbstractAction
implements ListSelectionListener

Action which allows the user to rename the currently selected graph list element.

Constructor Summary

GraphRename(GraphList list, ListSelectionModel selectionModel)
Construct an action command of this type.

Method Summary

void
actionPerformed(ActionEvent e)
Ask the user to rename the currently selected graph list element.
void
valueChanged(ListSelectionEvent e)

Constructor Details

GraphRename

public GraphRename(GraphList list,
                   ListSelectionModel selectionModel)
Construct an action command of this type.

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)
Ask the user to rename the currently selected graph list element.

valueChanged

public void valueChanged(ListSelectionEvent e)