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 boolean
canExecute()
Can execute.boolean
canUndo()
Can undo.boolean
execute()
Execute.java.lang.String
getDescription()
Gets the description.IFeatureProvider
getFeatureProvider()
Gets the feature provider.boolean
undo()
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:ICommand
Can execute.- Specified by:
canExecute
in interfaceICommand
- Returns:
- true, if successful
-
canUndo
public boolean canUndo()
Description copied from interface:ICommand
Can undo.
-
execute
public boolean execute()
Description copied from interface:ICommand
Execute.
-
undo
public boolean undo()
Description copied from interface:ICommand
Undo.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IDescription
Gets the description.- Specified by:
getDescription
in interfaceIDescription
- Returns:
- the description
-
getFeatureProvider
public IFeatureProvider getFeatureProvider()
Description copied from interface:IFeatureProviderHolder
Gets the feature provider.- Specified by:
getFeatureProvider
in interfaceIFeatureProviderHolder
- Returns:
- the feature provider
-
-