Interface MHandledItem

All Superinterfaces:
MApplicationElement, MItem, MLocalizable, MUIElement, MUILabel
All Known Subinterfaces:
MHandledMenuItem, MHandledToolItem
All Known Implementing Classes:
HandledItemImpl, HandledMenuItemImpl, HandledToolItemImpl

public interface MHandledItem extends MItem
A representation of the model object 'Handled Item'.

This is the base class for menu and tool items associated with Commands.

Since:
1.0
Restriction:
This interface is not intended to be implemented by clients.

The following features are supported:

  • Method Details

    • getCommand

      MCommand getCommand()
      Returns the value of the 'Command' reference.

      A reference to the Command associated with this item.

      Returns:
      the value of the 'Command' reference.
      See Also:
    • setCommand

      void setCommand(MCommand value)
      Sets the value of the 'Command' reference.
      Parameters:
      value - the new value of the 'Command' reference.
      See Also:
    • getWbCommand

      ParameterizedCommand getWbCommand()
      Returns the value of the 'Wb Command' attribute.

      This is used for low level implementation and is not intended to be used by clients

      Returns:
      the value of the 'Wb Command' attribute.
      See Also:
      Restriction:
    • setWbCommand

      void setWbCommand(ParameterizedCommand value)
      Sets the value of the 'Wb Command' attribute.
      Parameters:
      value - the new value of the 'Wb Command' attribute.
      See Also:
      Restriction:
    • getParameters

      List<MParameter> getParameters()
      Returns the value of the 'Parameters' containment reference list. The list contents are of type MParameter.

      Defines the specific parameters to use when executing the command through this item.

      Returns:
      the value of the 'Parameters' containment reference list.