Class GFOnEmfCommand
- java.lang.Object
-
- org.eclipse.graphiti.ui.internal.editor.GFOnEmfCommand
-
- All Implemented Interfaces:
IFeatureProviderHolder,IDescription,ICommand
public class GFOnEmfCommand extends java.lang.Object implements ICommand
-
-
Constructor Summary
Constructors Constructor Description GFOnEmfCommand(org.eclipse.emf.common.command.Command emfCom, IFeatureProvider fp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanExecute()Can execute.booleancanUndo()Can undo.booleanexecute()Execute.java.lang.StringgetDescription()Gets the description.IFeatureProvidergetFeatureProvider()Gets the feature provider.booleanundo()Undo.
-
-
-
Constructor Detail
-
GFOnEmfCommand
public GFOnEmfCommand(org.eclipse.emf.common.command.Command emfCom, IFeatureProvider fp)
-
-
Method Detail
-
canExecute
public boolean canExecute()
Description copied from interface:ICommandCan execute.- Specified by:
canExecutein interfaceICommand- Returns:
- true, if successful
-
canUndo
public boolean canUndo()
Description copied from interface:ICommandCan undo.
-
execute
public boolean execute()
Description copied from interface:ICommandExecute.
-
undo
public boolean undo()
Description copied from interface:ICommandUndo.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IDescriptionGets the description.- Specified by:
getDescriptionin interfaceIDescription- Returns:
- the description
-
getFeatureProvider
public IFeatureProvider getFeatureProvider()
Description copied from interface:IFeatureProviderHolderGets the feature provider.- Specified by:
getFeatureProviderin interfaceIFeatureProviderHolder- Returns:
- the feature provider
-
-