Interface MToolItem

All Superinterfaces:
MApplicationElement, MItem, MLocalizable, MToolBarElement, MUIElement, MUILabel
All Known Subinterfaces:
MDirectToolItem, MHandledToolItem
All Known Implementing Classes:
DirectToolItemImpl, HandledToolItemImpl, ToolItemImpl

public interface MToolItem extends MItem, MToolBarElement
A representation of the model object 'Tool Item'.

This is the base type for both Direct and Handled tool items.

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

The following features are supported:

  • Method Details

    • getMenu

      MMenu getMenu()
      Returns the value of the 'Menu' containment reference.

      When set this represents the menu that appears when the 'drop down' arrow is clicked on this tool item.

      Returns:
      the value of the 'Menu' containment reference.
      See Also:
    • setMenu

      void setMenu(MMenu value)
      Sets the value of the 'Menu' containment reference.
      Parameters:
      value - the new value of the 'Menu' containment reference.
      See Also: