public class CreateModelObjectCommand extends GFCommand
| Constructor and Description |
|---|
CreateModelObjectCommand(IConfigurationProvider configurationProvider,
ICreateFeature feature,
ICreateContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute() |
boolean |
canUndo() |
void |
execute() |
void |
undo() |
getContext, getFeature, setContext, setFeaturegetConfigurationProviderpublic CreateModelObjectCommand(IConfigurationProvider configurationProvider, ICreateFeature feature, ICreateContext context)
public boolean canExecute()
canExecute in class org.eclipse.gef.commands.Commandpublic void execute()
execute in class org.eclipse.gef.commands.Commandpublic boolean canUndo()
canUndo in class org.eclipse.gef.commands.Commandpublic void undo()
undo in class org.eclipse.gef.commands.Command