Class SingleModelElementAction

  • All Implemented Interfaces:
    com.nomagic.magicdraw.actions.ShortcutSchemaAction, ISingleModelElementAction, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener, javax.swing.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:
    Serialized Form
    • Constructor Detail

      • SingleModelElementAction

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

        public SingleModelElementAction​(@CheckForNull
                                        java.lang.String actionID,
                                        @CheckForNull
                                        java.lang.String actionName,
                                        @CheckForNull
                                        javax.swing.KeyStroke stroke,
                                        @CheckForNull
                                        java.lang.String group,
                                        boolean useSchema)
        Constructor for ModelElementAction.
        Parameters:
        actionID - action id
        actionName - action name
        stroke - stroke
        group - group
        useSchema - use shortcuts schema