Class SingleModelElementAction

All Implemented Interfaces:
com.nomagic.magicdraw.actions.ShortcutSchemaAction, ISingleModelElementAction, ActionListener, Serializable, Cloneable, Comparable, EventListener, Action
Direct Known Subclasses:
MultipleModelElementAction

@OpenApiAll public class SingleModelElementAction extends MDAction implements ISingleModelElementAction
Base class for actions to work with one model element selection.
See Also:
  • Constructor Details

    • SingleModelElementAction

      public SingleModelElementAction(@CheckForNull String actionID, @CheckForNull String actionName, @CheckForNull KeyStroke stroke, @CheckForNull String group)
      Constructor for ModelElementAction.
      Parameters:
      actionID - action id
      actionName - action name
      stroke - stroke
      group - group
    • SingleModelElementAction

      public SingleModelElementAction(@CheckForNull String actionID, @CheckForNull String actionName, @CheckForNull KeyStroke stroke, @CheckForNull String group, boolean useSchema)
      Constructor for ModelElementAction.
      Parameters:
      actionID - action id
      actionName - action name
      stroke - stroke
      group - group
      useSchema - use shortcuts schema
  • Method Details