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
Constructors Modifier Constructor Description protectedFeatureCommandWithContext(IFeature feature, IContext context)The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanUndo()Can undo.IContextgetContext()Gets the context.booleanundo()Undo.-
Methods inherited from class org.eclipse.graphiti.internal.command.FeatureCommand
getDescription, getFeature, getFeatureProvider, isReadOnly
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.graphiti.internal.command.ICommand
canExecute, execute
-
Methods inherited from interface org.eclipse.graphiti.features.IFeatureHolder
getFeature
-
-
-
-
Method Detail
-
getContext
public IContext getContext()
Gets the context.- Specified by:
getContextin interfaceIContextHolder- Returns:
- Returns the context.
-
canUndo
public boolean canUndo()
Description copied from interface:ICommandCan undo.
-
-