Interface MPart

    • Method Detail

      • getMenus

        List<MMenu> getMenus()
        Returns the value of the 'Menus' containment reference list. The list contents are of type MMenu.

        This defines the list of the menus associated with this part. There are two specific menus that are managed by the core UI;

        • If the menu is the part's id prefixed with "menu:" then it will appear as the drop down menu available from the view's toolbar.
        • If the menu is the part's id prefixed with "popup:" then it will appear as the ddefault context menu for this view.
        Other menus can be added here but have to be managed by the part itsefl...

        Returns:
        the value of the 'Menus' containment reference list.
      • getToolbar

        MToolBar getToolbar()
        Returns the value of the 'Toolbar' containment reference.

        This is the Toolbar associated with tihs Part (if any).

        Returns:
        the value of the 'Toolbar' containment reference.
        See Also:
        setToolbar(MToolBar)
      • setToolbar

        void setToolbar​(MToolBar value)
        Sets the value of the 'Toolbar' containment reference.
        Parameters:
        value - the new value of the 'Toolbar' containment reference.
        See Also:
        getToolbar()
      • isCloseable

        boolean isCloseable()
        Returns the value of the 'Closeable' attribute. The default value is "false".

        Determines whether the user is allowed to close this view.

        Returns:
        the value of the 'Closeable' attribute.
        See Also:
        setCloseable(boolean)
      • setCloseable

        void setCloseable​(boolean value)
        Sets the value of the 'Closeable' attribute.
        Parameters:
        value - the new value of the 'Closeable' attribute.
        See Also:
        isCloseable()
      • getDescription

        String getDescription()
        Returns the value of the 'Description' attribute.

        The description of this Part; used when the Part appears in a list of Parts (i.e. 'Show View').

        Returns:
        the value of the 'Description' attribute.
        See Also:
        setDescription(String)
      • setDescription

        void setDescription​(String value)
        Sets the value of the 'Description' attribute.
        Parameters:
        value - the new value of the 'Description' attribute.
        See Also:
        getDescription()
      • getLocalizedDescription

        String getLocalizedDescription()
        Returns the value of the 'Localized Description' attribute.
        Returns:
        the value of the 'Localized Description' attribute.
      • getTrimBars

        List<MTrimBar> getTrimBars()
        Returns the value of the 'Trim Bars' containment reference list. The list contents are of type MTrimBar.

        The collection of TrimBars associated with this part.

        Returns:
        the value of the 'Trim Bars' containment reference list.
        Since:
        1.3