Interface ICommand
- All Superinterfaces:
IDescription
,IFeatureProviderHolder
- All Known Implementing Classes:
AddFeatureCommandWithContext
,CommandContainer
,DirectEditingFeatureCommandWithContext
,FeatureCommand
,FeatureCommandWithContext
,GenericFeatureCommandWithContext
,GFOnEmfCommand
,MoveAnchorFeatureCommandWithContext
,MoveShapeFeatureCommandWithContext
,ResizeShapeFeatureCommandWithContext
The Interface ICommand. Defines the general GF Command
-
Method Summary
Methods inherited from interface org.eclipse.graphiti.IDescription
getDescription
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder
getFeatureProvider
-
Method Details
-
canExecute
boolean canExecute()Can execute.- Returns:
- true, if successful
-
execute
boolean execute()Execute.- Returns:
- true, if successful
-
canUndo
boolean canUndo()Can undo.- Returns:
- true, if successful
-
undo
boolean undo()Undo.- Returns:
- true, if successful
-