Class AddFeatureCommandWithContext
java.lang.Object
org.eclipse.graphiti.internal.command.FeatureCommand
org.eclipse.graphiti.internal.command.FeatureCommandWithContext
org.eclipse.graphiti.internal.command.GenericFeatureCommandWithContext
org.eclipse.graphiti.internal.command.AddFeatureCommandWithContext
- All Implemented Interfaces:
IContextHolder, IFeatureAndContext, IFeatureHolder, IFeatureProviderHolder, IDescription, ICommand, IReadOnlyProvider
The Class AddFeatureCommandWithContext.
-
Constructor Summary
ConstructorsConstructorDescriptionAddFeatureCommandWithContext(IFeature feature, IContext context) Instantiates a new adds the feature command with context. -
Method Summary
Methods inherited from class GenericFeatureCommandWithContext
canExecute, canUndo, undoMethods inherited from class FeatureCommandWithContext
getContextMethods 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
-
AddFeatureCommandWithContext
-
-
Method Details
-
getAddedPictogramElements
Gets the added pictogram elements.- Returns:
- the added pictogram elements
-
execute
public boolean execute()Description copied from interface:ICommandExecute.- Specified by:
executein interfaceICommand- Overrides:
executein classGenericFeatureCommandWithContext- Returns:
- true, if successful
-