public class AddModelObjectCommand extends AbstractCommand
| Constructor and Description |
|---|
AddModelObjectCommand(IConfigurationProvider configurationProvider,
ContainerShape parent,
ISelection sel,
org.eclipse.draw2d.geometry.Rectangle rectangle) |
AddModelObjectCommand(IConfigurationProvider configurationProvider,
ContainerShape parent,
ISelection sel,
org.eclipse.draw2d.geometry.Rectangle rectangle,
Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute() |
boolean |
canUndo() |
void |
execute() |
IFeatureAndContext[] |
getFeaturesAndContexts() |
getConfigurationProviderpublic AddModelObjectCommand(IConfigurationProvider configurationProvider, ContainerShape parent, ISelection sel, org.eclipse.draw2d.geometry.Rectangle rectangle)
public AddModelObjectCommand(IConfigurationProvider configurationProvider, ContainerShape parent, ISelection sel, org.eclipse.draw2d.geometry.Rectangle rectangle, Connection connection)
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 IFeatureAndContext[] getFeaturesAndContexts()