Uses of Interface
org.eclipse.e4.core.contexts.IEclipseContext
-
Packages that use IEclipseContext 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. -
-
Uses of IEclipseContext in org.eclipse.e4.core.contexts
Methods in org.eclipse.e4.core.contexts that return IEclipseContext Modifier and Type Method Description static IEclipseContextEclipseContextFactory. create()Creates and returns a new empty context.static IEclipseContextEclipseContextFactory. create(String name)Creates and returns a new empty context.IEclipseContextIEclipseContext. createChild()Creates a new context using this context as a parent.IEclipseContextIEclipseContext. createChild(String name)Creates a new named context using this context as a parent.static IEclipseContextEclipseContextFactory. createServiceContext(BundleContext bundleContext)Creates and returns a new context that can be used to lookup OSGi services.IEclipseContextIEclipseContext. getActiveChild()Returns active child for this context.IEclipseContextIEclipseContext. getActiveLeaf()Follows active child chain to return the active leaf for this context.IEclipseContextIEclipseContext. getParent()Returns parent context, ornullif there is no parent context.static IEclipseContextIContextFunction. getRootContext(IEclipseContext context)Recursively looks up the rootIEclipseContextin the context hierarchy.static IEclipseContextEclipseContextFactory. getServiceContext(BundleContext bundleContext)Returns a context that can be used to lookup OSGi services.Methods in org.eclipse.e4.core.contexts with parameters of type IEclipseContext Modifier and Type Method Description abstract booleanRunAndTrack. changed(IEclipseContext context)This method is initially called by the framework when an instance of this class is associated with the context viarunAndTrack(RunAndTrack).ObjectContextFunction. compute(IEclipseContext context)Deprecated.IContextFunction's compute() was changed to take the context keyObjectContextFunction. compute(IEclipseContext context, String contextKey)ObjectIContextFunction. compute(IEclipseContext context, String contextKey)Evaluates the function based on the provided arguments and context to produce a consistent result.static IEclipseContextIContextFunction. getRootContext(IEclipseContext context)Recursively looks up the rootIEclipseContextin the context hierarchy.static voidContextInjectionFactory. inject(Object object, IEclipseContext context)Injects a context into a domain object.static voidContextInjectionFactory. inject(Object object, IEclipseContext context, IEclipseContext staticContext)Injects a context into a domain object.static ObjectContextInjectionFactory. invoke(Object object, Class<? extends Annotation> qualifier, IEclipseContext context)Call a method, injecting the parameters from the context.static ObjectContextInjectionFactory. invoke(Object object, Class<? extends Annotation> qualifier, IEclipseContext context, Object defaultValue)Call a method, injecting the parameters from the context.static ObjectContextInjectionFactory. invoke(Object object, Class<? extends Annotation> qualifier, IEclipseContext context, IEclipseContext localContext, Object defaultValue)Call a method, injecting the parameters from two contexts.static <T> TContextInjectionFactory. make(Class<T> clazz, IEclipseContext context)Obtain an instance of the specified class and inject it with the context.static <T> TContextInjectionFactory. make(Class<T> clazz, IEclipseContext context, IEclipseContext staticContext)Obtain an instance of the specified class and inject it with the context.static voidContextInjectionFactory. setDefault(IEclipseContext context)Specifies context used by the injector to create its internal objects.voidIEclipseContext. setParent(IEclipseContext parentContext)Sets parent context.static voidContextInjectionFactory. uninject(Object object, IEclipseContext context)Un-injects the context from the object. -
Uses of IEclipseContext in org.eclipse.e4.ui.model.application.ui
Methods in org.eclipse.e4.ui.model.application.ui that return IEclipseContext Modifier and Type Method Description IEclipseContextMContext. getContext()Returns the value of the 'Context' attribute.Methods in org.eclipse.e4.ui.model.application.ui with parameters of type IEclipseContext Modifier and Type Method Description voidMContext. setContext(IEclipseContext value)Sets the value of the 'Context' attribute. -
Uses of IEclipseContext in org.eclipse.e4.ui.services
Methods in org.eclipse.e4.ui.services with parameters of type IEclipseContext Modifier and Type Method Description voidContextServiceAddon. init(IEclipseContext context) -
Uses of IEclipseContext in org.eclipse.e4.ui.workbench
Methods in org.eclipse.e4.ui.workbench with parameters of type IEclipseContext Modifier and Type Method Description ObjectIPresentationEngine. createGui(MUIElement element, Object parentWidget, IEclipseContext parentContext)Creates and returns the UI element for the given model element.ObjectIPresentationEngine. run(MApplicationElement uiRoot, IEclipseContext appContext)Run the UI. -
Uses of IEclipseContext in org.eclipse.e4.ui.workbench.modeling
Methods in org.eclipse.e4.ui.workbench.modeling that return IEclipseContext Modifier and Type Method Description IEclipseContextEModelService. getContainingContext(MUIElement element)Locate the context that is closest to the given element in the parent hierarchy.Methods in org.eclipse.e4.ui.workbench.modeling with parameters of type IEclipseContext Modifier and Type Method Description voidEModelService. hostElement(MUIElement element, MWindow hostWindow, Object uiContainer, IEclipseContext hostContext)Allows an element to be rendered in an arbitrary UI container (I.e.
-