Class CreateModelObjectCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.graphiti.ui.internal.command.AbstractCommand
org.eclipse.graphiti.ui.internal.command.GFCommand
org.eclipse.graphiti.ui.internal.command.CreateModelObjectCommand
- All Implemented Interfaces:
IConfigurationProviderHolder
-
Constructor Summary
ConstructorDescriptionCreateModelObjectCommand
(IConfigurationProvider configurationProvider, ICreateFeature feature, ICreateContext context) -
Method Summary
Methods inherited from class org.eclipse.graphiti.ui.internal.command.GFCommand
getContext, getFeature, setContext, setFeature
Methods inherited from class org.eclipse.graphiti.ui.internal.command.AbstractCommand
getConfigurationProvider, getFeatureProvider, getTransactionalEditingDomain
Methods inherited from class org.eclipse.gef.commands.Command
canRedo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel
-
Constructor Details
-
CreateModelObjectCommand
public CreateModelObjectCommand(IConfigurationProvider configurationProvider, ICreateFeature feature, ICreateContext context)
-
-
Method Details
-
canExecute
public boolean canExecute()- Overrides:
canExecute
in classorg.eclipse.gef.commands.Command
-
execute
public void execute()- Overrides:
execute
in classorg.eclipse.gef.commands.Command
-
canUndo
public boolean canUndo()- Overrides:
canUndo
in classorg.eclipse.gef.commands.Command
-
undo
public void undo()- Overrides:
undo
in classorg.eclipse.gef.commands.Command
-