Class AddModelObjectCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.graphiti.ui.internal.command.AbstractCommand
org.eclipse.graphiti.ui.internal.command.AddModelObjectCommand
- All Implemented Interfaces:
IConfigurationProviderHolder
-
Constructor Summary
ConstructorDescriptionAddModelObjectCommand
(IConfigurationProvider configurationProvider, ContainerShape parent, org.eclipse.jface.viewers.ISelection sel, org.eclipse.draw2d.geometry.Rectangle rectangle) AddModelObjectCommand
(IConfigurationProvider configurationProvider, ContainerShape parent, org.eclipse.jface.viewers.ISelection sel, org.eclipse.draw2d.geometry.Rectangle rectangle, Connection connection) -
Method Summary
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, undo
-
Constructor Details
-
AddModelObjectCommand
public AddModelObjectCommand(IConfigurationProvider configurationProvider, ContainerShape parent, org.eclipse.jface.viewers.ISelection sel, org.eclipse.draw2d.geometry.Rectangle rectangle) -
AddModelObjectCommand
public AddModelObjectCommand(IConfigurationProvider configurationProvider, ContainerShape parent, org.eclipse.jface.viewers.ISelection sel, org.eclipse.draw2d.geometry.Rectangle rectangle, Connection connection)
-
-
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
-
getFeaturesAndContexts
-