Package | Description |
---|---|
org.eclipse.e4.core.contexts |
Application programming interfaces for Eclipse contexts.
|
org.eclipse.e4.ui.model.application.ui |
Application programming interfaces describing the Eclipse 4 state and container model elements.
|
org.eclipse.e4.ui.services |
Application programming interfaces describing the Eclipse 4 context service.
|
org.eclipse.e4.ui.workbench |
Application programming interfaces describing Eclipse 4 handlers and the workbench.
|
org.eclipse.e4.ui.workbench.modeling |
Application programming interfaces describing the Eclipse 4 model services.
|
Modifier and Type | Method and Description |
---|---|
static IEclipseContext |
EclipseContextFactory.create()
Creates and returns a new empty context.
|
static IEclipseContext |
EclipseContextFactory.create(String name)
Creates and returns a new empty context.
|
IEclipseContext |
IEclipseContext.createChild()
Creates a new context using this context as a parent.
|
IEclipseContext |
IEclipseContext.createChild(String name)
Creates a new named context using this context as a parent.
|
IEclipseContext |
IEclipseContext.getActiveChild()
Returns active child for this context.
|
IEclipseContext |
IEclipseContext.getActiveLeaf()
Follows active child chain to return the active leaf for this context.
|
IEclipseContext |
IEclipseContext.getParent()
Returns parent context, or
null if there is no parent context. |
static IEclipseContext |
EclipseContextFactory.getServiceContext(BundleContext bundleContext)
Returns a context that can be used to lookup OSGi services.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
RunAndTrack.changed(IEclipseContext context)
This method is initially called by the framework when an instance of this
class is associated with the context via
runAndTrack(RunAndTrack) . |
Object |
ContextFunction.compute(IEclipseContext context)
Deprecated.
IContextFunction 's compute() was changed to take the context key |
Object |
ContextFunction.compute(IEclipseContext context,
String contextKey)
Evaluates the function based on the provided arguments and context to
produce a consistent result.
|
Object |
IContextFunction.compute(IEclipseContext context,
String contextKey)
Evaluates the function based on the provided arguments and context to
produce a consistent result.
|
static void |
ContextInjectionFactory.inject(Object object,
IEclipseContext context)
Injects a context into a domain object.
|
static Object |
ContextInjectionFactory.invoke(Object object,
Class<? extends Annotation> qualifier,
IEclipseContext context)
Call a method, injecting the parameters from the context.
|
static Object |
ContextInjectionFactory.invoke(Object object,
Class<? extends Annotation> qualifier,
IEclipseContext context,
IEclipseContext localContext,
Object defaultValue)
Call a method, injecting the parameters from two contexts.
|
static Object |
ContextInjectionFactory.invoke(Object object,
Class<? extends Annotation> qualifier,
IEclipseContext context,
Object defaultValue)
Call a method, injecting the parameters from the context.
|
static <T> T |
ContextInjectionFactory.make(Class<T> clazz,
IEclipseContext context)
Obtain an instance of the specified class and inject it with the context.
|
static <T> T |
ContextInjectionFactory.make(Class<T> clazz,
IEclipseContext context,
IEclipseContext staticContext)
Obtain an instance of the specified class and inject it with the context.
|
static void |
ContextInjectionFactory.setDefault(IEclipseContext context)
Specifies context used by the injector to create its internal objects.
|
void |
IEclipseContext.setParent(IEclipseContext parentContext)
Sets parent context.
|
static void |
ContextInjectionFactory.uninject(Object object,
IEclipseContext context)
Un-injects the context from the object.
|
Modifier and Type | Method and Description |
---|---|
IEclipseContext |
MContext.getContext()
Returns the value of the 'Context' attribute
|
Modifier and Type | Method and Description |
---|---|
void |
MContext.setContext(IEclipseContext value)
Sets the value of the '
Context ' attribute |
Modifier and Type | Method and Description |
---|---|
void |
ContextServiceAddon.init(IEclipseContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
IPresentationEngine.createGui(MUIElement element,
Object parentWidget,
IEclipseContext parentContext)
Creates and returns the UI element for the given model element.
|
Object |
IPresentationEngine.run(MApplicationElement uiRoot,
IEclipseContext appContext)
Run the UI.
|
Modifier and Type | Method and Description |
---|---|
IEclipseContext |
EModelService.getContainingContext(MUIElement element)
Locate the context that is closest to the given element in the parent hierarchy.
|
Modifier and Type | Method and Description |
---|---|
void |
EModelService.hostElement(MUIElement element,
MWindow hostWindow,
Object uiContainer,
IEclipseContext hostContext)
Allows an element to be rendered in an arbitrary UI container (I.e.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.