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 SummaryConstructorsConstructorDescriptionAddFeatureCommandWithContext(IFeature feature, IContext context) Instantiates a new adds the feature command with context.
- 
Method SummaryMethods inherited from class org.eclipse.graphiti.internal.command.GenericFeatureCommandWithContextcanExecute, canUndo, undoMethods inherited from class org.eclipse.graphiti.internal.command.FeatureCommandWithContextgetContextMethods 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.features.IFeatureHoldergetFeature
- 
Constructor Details- 
AddFeatureCommandWithContextInstantiates a new adds the feature command with context.- Parameters:
- feature- the feature
- context- the context
 
 
- 
- 
Method Details- 
getAddedPictogramElementsGets the added pictogram elements.- Returns:
- the added pictogram elements
 
- 
executepublic boolean execute()Description copied from interface:ICommandExecute.- Specified by:
- executein interface- ICommand
- Overrides:
- executein class- GenericFeatureCommandWithContext
- Returns:
- true, if successful
 
 
-