com.tensegrity.skeleton.commands
Class EditRuleConfigurationCommand
java.lang.Object
com.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
com.tensegrity.skeleton.commands.DocumentCommand
com.tensegrity.skeleton.commands.GraphDocumentCommand
com.tensegrity.skeleton.commands.EditRuleConfigurationCommand
- All Implemented Interfaces:
- Command
- public class EditRuleConfigurationCommand
- extends GraphDocumentCommand
The EditRuleConfigurationCommand can be used to open a dialog
that contains all rule checks that can be enabled/disabled using the
RuleConfiguration. The user can then use the checkbox next to
the corresponding rule check to globally enable/disable it for the current
GraphDocument
- Author:
- BurkhardWick
|
Method Summary |
void |
perform(java.lang.Object args)
Updates the StatusBar with this commands title string.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHECK_SELECTABLE
public static final java.lang.String CHECK_SELECTABLE
- See Also:
- Constant Field Values
CHECK_MOVABLE
public static final java.lang.String CHECK_MOVABLE
- See Also:
- Constant Field Values
CHECK_DELETABLE
public static final java.lang.String CHECK_DELETABLE
- See Also:
- Constant Field Values
CHECK_CUTABLE
public static final java.lang.String CHECK_CUTABLE
- See Also:
- Constant Field Values
CHECK_COPYABLE
public static final java.lang.String CHECK_COPYABLE
- See Also:
- Constant Field Values
CHECK_SNAPTOPORTDISTANCE
public static final java.lang.String CHECK_SNAPTOPORTDISTANCE
- See Also:
- Constant Field Values
CHECK_EDGEINSERTMODE
public static final java.lang.String CHECK_EDGEINSERTMODE
- See Also:
- Constant Field Values
CHECK_DETACHTARGET
public static final java.lang.String CHECK_DETACHTARGET
- See Also:
- Constant Field Values
CHECK_DETACHSOURCE
public static final java.lang.String CHECK_DETACHSOURCE
- See Also:
- Constant Field Values
CHECK_VISUALNODEOVERLAYHANDLERNAME
public static final java.lang.String CHECK_VISUALNODEOVERLAYHANDLERNAME
- See Also:
- Constant Field Values
CHECK_SUBGRAPHREMOVEHANDLERNAME
public static final java.lang.String CHECK_SUBGRAPHREMOVEHANDLERNAME
- See Also:
- Constant Field Values
CHECK_PROHIBITEDGESPLIT
public static final java.lang.String CHECK_PROHIBITEDGESPLIT
- See Also:
- Constant Field Values
CHECK_OVERLAYEDGECREATION
public static final java.lang.String CHECK_OVERLAYEDGECREATION
- See Also:
- Constant Field Values
CHECK_OUTDEGREEMINIMUM
public static final java.lang.String CHECK_OUTDEGREEMINIMUM
- See Also:
- Constant Field Values
CHECK_OUTDEGREEMAXIMUM
public static final java.lang.String CHECK_OUTDEGREEMAXIMUM
- See Also:
- Constant Field Values
CHECK_NODEMOVEDINSUBGRAPHHANDLERNAME
public static final java.lang.String CHECK_NODEMOVEDINSUBGRAPHHANDLERNAME
- See Also:
- Constant Field Values
CHECK_MINIMUMINSTANCECOUNT
public static final java.lang.String CHECK_MINIMUMINSTANCECOUNT
- See Also:
- Constant Field Values
CHECK_MAXIMUMINSTANCECOUNT
public static final java.lang.String CHECK_MAXIMUMINSTANCECOUNT
- See Also:
- Constant Field Values
CHECK_LEGALSUBGRAPH
public static final java.lang.String CHECK_LEGALSUBGRAPH
- See Also:
- Constant Field Values
CHECK_INDEGREEMINIMUM
public static final java.lang.String CHECK_INDEGREEMINIMUM
- See Also:
- Constant Field Values
CHECK_INDEGREEMAXIMUM
public static final java.lang.String CHECK_INDEGREEMAXIMUM
- See Also:
- Constant Field Values
CHECK_DISALLOWEDGESPLIT
public static final java.lang.String CHECK_DISALLOWEDGESPLIT
- See Also:
- Constant Field Values
CHECK_DETACHONMOVE
public static final java.lang.String CHECK_DETACHONMOVE
- See Also:
- Constant Field Values
CHECK_CASCADEDELETEEDGES
public static final java.lang.String CHECK_CASCADEDELETEEDGES
- See Also:
- Constant Field Values
CHECK_CASCADE1TO1NODEDELETE
public static final java.lang.String CHECK_CASCADE1TO1NODEDELETE
- See Also:
- Constant Field Values
CHECK_APPLYEDGESPLITHIERARCHICAL
public static final java.lang.String CHECK_APPLYEDGESPLITHIERARCHICAL
- See Also:
- Constant Field Values
CHECK_APPLYDEGREESHIERARCHICAL
public static final java.lang.String CHECK_APPLYDEGREESHIERARCHICAL
- See Also:
- Constant Field Values
CHECK_APPLYCASCADENODEDELETEHIERARCHICAL
public static final java.lang.String CHECK_APPLYCASCADENODEDELETEHIERARCHICAL
- See Also:
- Constant Field Values
CHECK_ACCEPTPASTEIFGROUP
public static final java.lang.String CHECK_ACCEPTPASTEIFGROUP
- See Also:
- Constant Field Values
CHECK_ACCEPTOVERLAYEDGECREATION
public static final java.lang.String CHECK_ACCEPTOVERLAYEDGECREATION
- See Also:
- Constant Field Values
CHECK_ACCEPTLOOSENODESIFGROUP
public static final java.lang.String CHECK_ACCEPTLOOSENODESIFGROUP
- See Also:
- Constant Field Values
CHECK_LEGALCROSSVISUALSUBGRAPHEDGESPLIT
public static final java.lang.String CHECK_LEGALCROSSVISUALSUBGRAPHEDGESPLIT
- See Also:
- Constant Field Values
CHECK_EDGESPLITTOLERANCE
public static final java.lang.String CHECK_EDGESPLITTOLERANCE
- See Also:
- Constant Field Values
CHECK_EDGEINSERTSINGLEPOSITION
public static final java.lang.String CHECK_EDGEINSERTSINGLEPOSITION
- See Also:
- Constant Field Values
CHECK_DROPHANDLERNAME
public static final java.lang.String CHECK_DROPHANDLERNAME
- See Also:
- Constant Field Values
CHECK_AUTOSPACEENABLED
public static final java.lang.String CHECK_AUTOSPACEENABLED
- See Also:
- Constant Field Values
CHECK_ACCEPTLOOSENODES
public static final java.lang.String CHECK_ACCEPTLOOSENODES
- See Also:
- Constant Field Values
CHECK_ALLCHECKS
public static final java.lang.String CHECK_ALLCHECKS
- See Also:
- Constant Field Values
EditRuleConfigurationCommand
public EditRuleConfigurationCommand(ApplicationFrame applicationFrame,
java.lang.String command)
- Constructor
- Parameters:
applicationFrame - The application frame of the current
applicationcommand - The ID this command will be registered with
EditRuleConfigurationCommand
public EditRuleConfigurationCommand(ApplicationFrame applicationFrame,
java.lang.String command,
java.util.Set rules)
- Constructor
- Parameters:
applicationFrame - The application frame of the current
applicationcommand - The ID this command will be registered withrules - A set containing all rules that should be
visible in the dialog. To add a rule to the
set the corresponding constant has to be
added to the set.
(See the constants in this class starting
with "CHECK_"!)
perform
public void perform(java.lang.Object args)
- Description copied from class:
CommonBaseCommand
- Updates the StatusBar with this commands title string.
(non-Javadoc)
- Specified by:
perform in interface Command- Overrides:
perform in class CommonBaseCommand
- See Also:
Command.perform(java.lang.Object)
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.