public interface MContext
This class is mixed into a UI element when that element is expected to participate in the Dependency Injection context hierarchy. The context life-cycle matches that of the rendered element it belongs to. It's automatically created when the element is rendered and disposed when the element is unrendered.
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
IEclipseContext |
getContext()
Returns the value of the 'Context' attribute
|
Map<String,String> |
getProperties()
Returns the value of the 'Properties' map.
|
List<String> |
getVariables()
Returns the value of the 'Variables' attribute list.
|
void |
setContext(IEclipseContext value)
Sets the value of the '
Context' attribute |
IEclipseContext getContext()
This attribute is a reference to the IEclipseContext for this UI element. It will be non-null only when the element is rendered.
setContext(IEclipseContext)void setContext(IEclipseContext value)
Context' attribute.
value - the new value of the 'Context' attribute.getContext()List<String> getVariables()
String.
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.
Map<String,String> getProperties()
String,
and the value is of type String,
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, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.