Class FeatureCommandWithContext
java.lang.Object
org.eclipse.graphiti.internal.command.FeatureCommand
org.eclipse.graphiti.internal.command.FeatureCommandWithContext
- All Implemented Interfaces:
IContextHolder, IFeatureAndContext, IFeatureHolder, IFeatureProviderHolder, IDescription, ICommand, IReadOnlyProvider
- Direct Known Subclasses:
GenericFeatureCommandWithContext, MoveAnchorFeatureCommandWithContext, MoveShapeFeatureCommandWithContext, ResizeShapeFeatureCommandWithContext
public abstract class FeatureCommandWithContext
extends FeatureCommand
implements IFeatureAndContext
The Class FeatureCommandWithContext.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFeatureCommandWithContext(IFeature feature, IContext context) The Constructor. -
Method Summary
Methods inherited from class FeatureCommand
getDescription, getFeature, getFeatureProvider, isReadOnlyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ICommand
canExecute, executeMethods inherited from interface IFeatureHolder
getFeature
-
Constructor Details
-
FeatureCommandWithContext
-
-
Method Details
-
getContext
Gets the context.- Specified by:
getContextin interfaceIContextHolder- Returns:
- Returns the context.
-
canUndo
-
undo
-