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 SummaryConstructorsModifierConstructorDescriptionprotectedFeatureCommandWithContext(IFeature feature, IContext context) The Constructor.
- 
Method SummaryMethods inherited from class org.eclipse.graphiti.internal.command.FeatureCommandgetDescription, getFeature, getFeatureProvider, isReadOnlyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.graphiti.internal.command.ICommandcanExecute, executeMethods inherited from interface org.eclipse.graphiti.features.IFeatureHoldergetFeature
- 
Constructor Details- 
FeatureCommandWithContextThe Constructor.- Parameters:
- context- the context
- feature- the feature
 
 
- 
- 
Method Details- 
getContextGets the context.- Specified by:
- getContextin interface- IContextHolder
- Returns:
- Returns the context.
 
- 
canUndopublic boolean canUndo()Description copied from interface:ICommandCan undo.
- 
undopublic boolean undo()Description copied from interface:ICommandUndo.
 
-