Class GFOnEmfCommand
java.lang.Object
org.eclipse.graphiti.ui.internal.editor.GFOnEmfCommand
- All Implemented Interfaces:
IFeatureProviderHolder
,IDescription
,ICommand
-
Constructor Summary
ConstructorDescriptionGFOnEmfCommand
(org.eclipse.emf.common.command.Command emfCom, IFeatureProvider fp) -
Method Summary
-
Constructor Details
-
GFOnEmfCommand
-
-
Method Details
-
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
Description copied from interface:IDescription
Gets the description.- Specified by:
getDescription
in interfaceIDescription
- Returns:
- the description
-
getFeatureProvider
Description copied from interface:IFeatureProviderHolder
Gets the feature provider.- Specified by:
getFeatureProvider
in interfaceIFeatureProviderHolder
- Returns:
- the feature provider
-