org.grinvin.list.actions

Class WorksheetRenameOne


public class WorksheetRenameOne
extends AbstractAction

GUI command which allows the user to rename the current worksheet.

Acts upon a WorksheetModel stored as an attribute in an attributed command manager.

Constructor Summary

WorksheetRenameOne(WorksheetModel model)
Construct an action command of this type.

Method Summary

void
actionPerformed(ActionEvent e)
Ask the user to rename the currently selected worksheet.

Constructor Details

WorksheetRenameOne

public WorksheetRenameOne(WorksheetModel model)
Construct an action command of this type.

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)
Ask the user to rename the currently selected worksheet.