Class DtMoveDownAction

All Implemented Interfaces:
IDtAction

public class DtMoveDownAction extends AbstractDtModelEditingSupportAwareAction
DT move down action.
  • Constructor Details

  • Method Details

    • getIcon

      public org.eclipse.swt.graphics.Image getIcon()
      Returns:
      action icon image.
    • getToolTip

      public String getToolTip()
      Returns:
      action tool tip text.
    • isEnabledFor

      public boolean isEnabledFor(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)
      Description copied from class: AbstractDtModelEditingSupportAwareAction
      Checks whether the action is enabled for a given model, model feature and selection..
      Returns true if the specified selection incapsulates the EObject instance that can be edited.
      Specified by:
      isEnabledFor in interface IDtAction
      Overrides:
      isEnabledFor in class AbstractDtModelEditingSupportAwareAction
      Parameters:
      model - model to check.
      feature - feature to check.
      selection - selection to check.
      Returns:
      true if action is enabled, false otherwise.
    • getCommandId

      protected String getCommandId()
      Description copied from class: DtCommandActionBase
      Returns the command id to execute.
      Specified by:
      getCommandId in class DtCommandActionBase
      Returns:
      the command id to execute, never null