Class AbstractCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.graphiti.ui.internal.command.AbstractCommand
- All Implemented Interfaces:
IConfigurationProviderHolder
- Direct Known Subclasses:
AddModelObjectCommand
,CreateConnectionCommand
,GFCommand
,ReconnectCommand
public abstract class AbstractCommand
extends org.eclipse.gef.commands.Command
implements IConfigurationProviderHolder
-
Constructor Summary
ConstructorDescriptionAbstractCommand
(IConfigurationProvider configurationProvider) AbstractCommand
(IConfigurationProvider configurationProvider, String label) -
Method Summary
Modifier and TypeMethodDescriptionReturns the IConfigurationProviderInternal.protected IFeatureProvider
protected org.eclipse.emf.transaction.TransactionalEditingDomain
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canRedo, canUndo, chain, dispose, execute, getDebugLabel, getLabel, redo, setDebugLabel, setLabel, undo
-
Constructor Details
-
AbstractCommand
-
AbstractCommand
-
-
Method Details
-
getConfigurationProvider
Description copied from interface:IConfigurationProviderHolder
Returns the IConfigurationProviderInternal. Must not return null.- Specified by:
getConfigurationProvider
in interfaceIConfigurationProviderHolder
- Returns:
- The IConfigurationProviderInternal. Must not return null.
- Throws:
IllegalStateException
- If no IConfigurationProviderInternal is available (if it is null).
-
getFeatureProvider
-
getTransactionalEditingDomain
protected org.eclipse.emf.transaction.TransactionalEditingDomain getTransactionalEditingDomain()
-