Class GFOnEmfCommand

java.lang.Object
org.eclipse.graphiti.ui.internal.editor.GFOnEmfCommand
All Implemented Interfaces:
IFeatureProviderHolder, IDescription, ICommand

public class GFOnEmfCommand extends Object implements ICommand
  • Constructor Details

    • GFOnEmfCommand

      public GFOnEmfCommand(org.eclipse.emf.common.command.Command emfCom, IFeatureProvider fp)
  • Method Details

    • canExecute

      public boolean canExecute()
      Description copied from interface: ICommand
      Can execute.
      Specified by:
      canExecute in interface ICommand
      Returns:
      true, if successful
    • canUndo

      public boolean canUndo()
      Description copied from interface: ICommand
      Can undo.
      Specified by:
      canUndo in interface ICommand
      Returns:
      true, if successful
    • execute

      public boolean execute()
      Description copied from interface: ICommand
      Execute.
      Specified by:
      execute in interface ICommand
      Returns:
      true, if successful
    • undo

      public boolean undo()
      Description copied from interface: ICommand
      Undo.
      Specified by:
      undo in interface ICommand
      Returns:
      true, if successful
    • getDescription

      public String getDescription()
      Description copied from interface: IDescription
      Gets the description.
      Specified by:
      getDescription in interface IDescription
      Returns:
      the description
    • getFeatureProvider

      public IFeatureProvider getFeatureProvider()
      Description copied from interface: IFeatureProviderHolder
      Gets the feature provider.
      Specified by:
      getFeatureProvider in interface IFeatureProviderHolder
      Returns:
      the feature provider