public class GenericFeatureCommandWithContext extends FeatureCommandWithContext
| Constructor and Description |
|---|
GenericFeatureCommandWithContext(IFeature feature,
IContext context)
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute()
Can execute.
|
boolean |
canUndo()
Can undo.
|
boolean |
execute()
Execute.
|
boolean |
undo()
Undo.
|
getContextgetDescription, getFeature, getFeatureProvider, isReadOnlyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeaturepublic boolean canExecute()
ICommandpublic boolean execute()
ICommandpublic boolean canUndo()
ICommandcanUndo in interface ICommandcanUndo in class FeatureCommandWithContextpublic boolean undo()
ICommandundo in interface ICommandundo in class FeatureCommandWithContext