com.tensegrity.gui.swing.control.attributetree.command
Class ToggleMergeElementTypesCommand
java.lang.Object
com.tensegrity.generic.command.BaseCommand
com.tensegrity.gui.swing.control.attributetree.command.ToggleMergeElementTypesCommand
- All Implemented Interfaces:
- Command, ToggleCommand
- public class ToggleMergeElementTypesCommand
- extends BaseCommand
- implements ToggleCommand
Command to toggle the visibility of the root node in the AttributeTree,
which described the type of Attributable. Hiding it will merge the subtrees.
- Version:
- $Id: ToggleMergeElementTypesCommand.java,v 1.3 2005/04/28 10:40:52 KevinCVS Exp $
- Author:
- BurkhardWick
|
Method Summary |
boolean |
isActive()
Returns true, if the toggle command is currently
selected (activated). |
void |
perform(java.lang.Object args)
This method will specify the functionality the command offers.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToggleMergeElementTypesCommand
public ToggleMergeElementTypesCommand(AttributeEditor editor,
java.lang.String id)
- Creates a new
ToggleMergeElementTypesCommand.
- Parameters:
editor - the enclosing AttributeEditor instance.id - the id of this command for later retrieval
isActive
public boolean isActive()
- Description copied from interface:
ToggleCommand
- Returns true, if the toggle command is currently
selected (activated).
- Specified by:
isActive in interface ToggleCommand
- Returns:
- The status of the toggle command
perform
public void perform(java.lang.Object args)
- Description copied from interface:
Command
- This method will specify the functionality the command offers.
Optionally a parameter can be specified.
- Specified by:
perform in interface Command
- Parameters:
args - optional parameter for this command
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.