Interface MApplication

    • Method Detail

      • getCommands

        List<MCommand> getCommands()
        Returns the value of the 'Commands' containment reference list. The list contents are of type MCommand.

        This is the list of MCommand elements available in the application. Commands represent some logical operation. The actual implementation of the operation is determined by the MHandler chosen by the system based on the current execution context.

        Returns:
        the value of the 'Commands' containment reference list.
      • getAddons

        List<MAddon> getAddons()
        Returns the value of the 'Addons' containment reference list. The list contents are of type MAddon.

        This is the ordered list of MAddons for this model. The individual addons will be created through injection after the model loads but before it is rendered.

        Returns:
        the value of the 'Addons' containment reference list.
      • getCategories

        List<MCategory> getCategories()
        Returns the value of the 'Categories' containment reference list. The list contents are of type MCategory.

        Developers: Add more detailed documentation by editing this comment in org.eclipse.ui.model.workbench/model/UIElements.ecore. There is a GenModel/documentation node under each type and attribute.

        Returns:
        the value of the 'Categories' containment reference list.
      • getDialogs

        @Deprecated
        List<MDialog> getDialogs()
        Deprecated.
        Returns the value of the 'Dialogs' reference list. The list contents are of type MDialog.

        This is the ordered list of MDialogs for this model.

        Returns:
        the value of the 'Dialogs' reference list.
        Since:
        1.1
        See Also:
        Bug 531054
        Restriction:
        MDialog was provisional and will be removed.
      • getCommand

        MCommand getCommand​(String elementId)
        Returns the model element for the command identified via the elementId or null if the element cannot be found.
        Parameters:
        elementId - the ID of the command.
        Returns:
        the model element for the command identified via the elementId or null if the element cannot be found.
        Since:
        1.2