Class CopyRosterGroupAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

Duplicate roster group.

This action prevents a user from creating a new roster group with the same name as an existing roster group.

If performAction(event) is being called in a context where the name of the group to be duplicated is already known, call setContext(groupName) prior to calling performAction(event) to bypass the group selection dialog.


This file is part of JMRI.

JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See Also: