Class ResizeShapeFeatureCommandWithContext
java.lang.Object
org.eclipse.graphiti.internal.command.FeatureCommand
org.eclipse.graphiti.internal.command.FeatureCommandWithContext
org.eclipse.graphiti.internal.command.ResizeShapeFeatureCommandWithContext
- All Implemented Interfaces:
IContextHolder, IFeatureAndContext, IFeatureHolder, IFeatureProviderHolder, IDescription, ICommand, IReadOnlyProvider
The Class ResizeShapeFeatureCommandWithContext.
-
Constructor Summary
ConstructorsConstructorDescriptionResizeShapeFeatureCommandWithContext(IFeature feature, IResizeShapeContext context) The Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCan execute.final booleanexecute()Execute.protected IResizeShapeFeatureGets the resize shape feature.Methods inherited from class FeatureCommandWithContext
canUndo, getContext, undoMethods 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 IFeatureHolder
getFeature
-
Constructor Details
-
ResizeShapeFeatureCommandWithContext
The Constructor.- Parameters:
feature- the featurecontext- the context
-
-
Method Details
-
canExecute
public boolean canExecute()Description copied from interface:ICommandCan execute.- Returns:
- true, if successful
-
execute
public final boolean execute()Description copied from interface:ICommandExecute.- Returns:
- true, if successful
-
getResizeShapeFeature
Gets the resize shape feature.- Returns:
- the resize shape feature
-