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