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
ConstructorsConstructorDescriptionAbstractCommand(IConfigurationProvider configurationProvider) AbstractCommand(IConfigurationProvider configurationProvider, String label) -
Method Summary
Modifier and TypeMethodDescriptionReturns the IConfigurationProviderInternal.protected IFeatureProviderprotected org.eclipse.emf.transaction.TransactionalEditingDomainMethods 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:IConfigurationProviderHolderReturns the IConfigurationProviderInternal. Must not return null.- Specified by:
getConfigurationProviderin 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()
-