Class CommandContainer
java.lang.Object
org.eclipse.graphiti.internal.command.CommandContainer
- All Implemented Interfaces:
IFeatureProviderHolder, IDescription, ICommand
-
Constructor Summary
ConstructorsConstructorDescriptionCommandContainer(IFeatureProvider featureProvider) Instantiates a new command container. -
Method Summary
-
Constructor Details
-
CommandContainer
Instantiates a new command container.- Parameters:
featureProvider- the feature provider
-
-
Method Details
-
canExecute
public boolean canExecute()Description copied from interface:ICommandCan execute.- Specified by:
canExecutein interfaceICommand- Returns:
- true, if successful
-
execute
-
canUndo
-
undo
-
add
-
getDescription
Description copied from interface:IDescriptionGets the description.- Specified by:
getDescriptionin interfaceIDescription- Returns:
- the description
-
containsCommands
public boolean containsCommands()Contains commands.- Returns:
- true, if successful
-
getFeatureProvider
Description copied from interface:IFeatureProviderHolderGets the feature provider.- Specified by:
getFeatureProviderin interfaceIFeatureProviderHolder- Returns:
- the feature provider
-
getCommands
-