public interface MApplication extends MElementContainer<MWindow>, MContext, MHandlerContainer, MBindingTableContainer, MPartDescriptorContainer, MBindings, MMenuContributions, MToolBarContributions, MTrimContributions, MSnippetContainer
The MApplication acts as the root of the UI Model. It's children are the MWindows representing the UI for this application. It also owns the application's context (which is hooked to the OSGI context, allowing access not only to its own runtime information but also to any registered OSGI service.
It also owns a number of caches which, while independent of the UI itself are
used by the appliecation to populate new windows or to define state that is
epected to be the same for all windows:
The following features are supported:
Modifier and Type | Method and Description |
---|---|
List<MAddon> |
getAddons()
Returns the value of the 'Addons' containment reference list.
|
List<MCategory> |
getCategories()
Returns the value of the 'Categories' containment reference list.
|
List<MCommand> |
getCommands()
Returns the value of the 'Commands' containment reference list.
|
List<MDialog> |
getDialogs()
Returns the value of the 'Dialogs' reference list.
|
getChildren, getSelectedElement, setSelectedElement
getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidget
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
updateLocalization
getContext, getProperties, getVariables, setContext
getHandlers
getBindingTables, getRootContext
getDescriptors
getBindingContexts
getMenuContributions
getToolBarContributions
getTrimContributions
getSnippets
List<MCommand> getCommands()
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.
List<MAddon> getAddons()
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.
List<MCategory> getCategories()
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.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.