Uses of Interface
org.eclipse.e4.core.contexts.IEclipseContext
Packages that use IEclipseContext
Package
Description
Application programming interfaces for Eclipse contexts.
Application programming interfaces for translations .
Application programming interfaces describing the Eclipse 4 state and container model elements.
Application programming interfaces describing the Eclipse 4 context service.
Application programming interfaces describing Eclipse 4 handlers and the workbench.
Application programming interfaces describing the Eclipse 4 model services.
-
Uses of IEclipseContext in org.eclipse.e4.core.commands
Fields in org.eclipse.e4.core.commands declared as IEclipseContextMethods in org.eclipse.e4.core.commands with parameters of type IEclipseContextModifier and TypeMethodDescriptionbooleanEHandlerService.canExecute(ParameterizedCommand command, IEclipseContext staticContext) Check if a command can be executed.EHandlerService.executeHandler(ParameterizedCommand command, IEclipseContext staticContext) Execute a handler for the command.Constructors in org.eclipse.e4.core.commands with parameters of type IEclipseContext -
Uses of IEclipseContext in org.eclipse.e4.core.commands.internal
Methods in org.eclipse.e4.core.commands.internal that return IEclipseContextModifier and TypeMethodDescriptionHandlerServiceImpl.getContext()protected IEclipseContextHandlerServiceHandler.getExecutionContext(Object evalObj) HandlerServiceImpl.getExecutionContext()Methods in org.eclipse.e4.core.commands.internal with parameters of type IEclipseContextModifier and TypeMethodDescriptionbooleanHandlerServiceImpl.canExecute(ParameterizedCommand command, IEclipseContext staticContext) CommandServiceCreationFunction.compute(IEclipseContext context, String contextKey) HandlerServiceCreationFunction.compute(IEclipseContext context, String contextKey) HandlerServiceImpl.executeHandler(ParameterizedCommand command, IEclipseContext staticContext) ICommandHelpService.getHelpContextId(String commandId, IEclipseContext context) Calculates the active help context for the command and returns the ID of the help context.static ObjectHandlerServiceImpl.lookUpHandler(IEclipseContext context, String commandId) static voidHandlerServiceImpl.push(IEclipseContext ctx, IEclipseContext staticCtx) voidHandlerServiceImpl.setContext(IEclipseContext c) -
Uses of IEclipseContext in org.eclipse.e4.core.contexts
Methods in org.eclipse.e4.core.contexts that return IEclipseContextModifier and TypeMethodDescriptionstatic IEclipseContextEclipseContextFactory.create()Creates and returns a new empty context.static IEclipseContextCreates and returns a new empty context.IEclipseContext.createChild()Creates a new context using this context as a parent.IEclipseContext.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.IEclipseContext.getActiveChild()Returns active child for this context.IEclipseContext.getActiveLeaf()Follows active child chain to return the active leaf for this context.IEclipseContext.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(Class<?> contextClass) Returns a context that can be used to lookup OSGi services.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 IEclipseContextModifier and TypeMethodDescriptionabstract 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).ContextFunction.compute(IEclipseContext context) Deprecated.ContextFunction.compute(IEclipseContext context, String contextKey) IContextFunction.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.core.services.contributions
Methods in org.eclipse.e4.core.services.contributions with parameters of type IEclipseContextModifier and TypeMethodDescriptionIContributionFactorySpi.call(Object object, String methodName, IEclipseContext context, Object defaultValue) IContributionFactory.create(String uriString, IEclipseContext context) IContributionFactory.create(String uriString, IEclipseContext context, IEclipseContext staticContext) IContributionFactorySpi.create(Bundle bundle, String className, IEclipseContext context) -
Uses of IEclipseContext in org.eclipse.e4.core.services.translation
Methods in org.eclipse.e4.core.services.translation with parameters of type IEclipseContextModifier and TypeMethodDescriptionstatic TranslationServiceTranslationProviderFactory.bundleTranslationService(IEclipseContext context) Returns default bundle-based translation provider. -
Uses of IEclipseContext in org.eclipse.e4.ui.bindings
Methods in org.eclipse.e4.ui.bindings with parameters of type IEclipseContext -
Uses of IEclipseContext in org.eclipse.e4.ui.bindings.internal
Methods in org.eclipse.e4.ui.bindings.internal that return IEclipseContextMethods in org.eclipse.e4.ui.bindings.internal with parameters of type IEclipseContextModifier and TypeMethodDescriptionBindingServiceCreationFunction.compute(IEclipseContext context, String contextKey) Constructors in org.eclipse.e4.ui.bindings.internal with parameters of type IEclipseContextModifierConstructorDescriptionKeyAssistDialog(IEclipseContext context, KeyBindingDispatcher associatedKeyboard) Constructs a new instance ofKeyAssistDialog. -
Uses of IEclipseContext in org.eclipse.e4.ui.bindings.keys
Methods in org.eclipse.e4.ui.bindings.keys with parameters of type IEclipseContext -
Uses of IEclipseContext in org.eclipse.e4.ui.internal
Methods in org.eclipse.e4.ui.internal with parameters of type IEclipseContextModifier and TypeMethodDescriptionLocaleChangeServiceContextFunction.compute(IEclipseContext context, String contextKey) -
Uses of IEclipseContext in org.eclipse.e4.ui.model
Methods in org.eclipse.e4.ui.model with parameters of type IEclipseContextModifier and TypeMethodDescriptionstatic StringLocalizationHelper.getLocalized(String key, MApplicationElement element, IEclipseContext context) Returns localized string for the key from the application element using translation service from the context. -
Uses of IEclipseContext in org.eclipse.e4.ui.model.application.impl
Fields in org.eclipse.e4.ui.model.application.impl declared as IEclipseContextModifier and TypeFieldDescriptionprotected IEclipseContextApplicationImpl.contextThe cached value of the 'Context' attribute.protected static final IEclipseContextApplicationImpl.CONTEXT_EDEFAULTThe default value of the 'Context' attribute.Methods in org.eclipse.e4.ui.model.application.impl that return IEclipseContextMethods in org.eclipse.e4.ui.model.application.impl with parameters of type IEclipseContext -
Uses of IEclipseContext in org.eclipse.e4.ui.model.application.ui
Methods in org.eclipse.e4.ui.model.application.ui that return IEclipseContextModifier and TypeMethodDescriptionMContext.getContext()Returns the value of the 'Context' attribute.Methods in org.eclipse.e4.ui.model.application.ui with parameters of type IEclipseContextModifier and TypeMethodDescriptionvoidMContext.setContext(IEclipseContext value) Sets the value of the 'Context' attribute. -
Uses of IEclipseContext in org.eclipse.e4.ui.model.application.ui.advanced.impl
Fields in org.eclipse.e4.ui.model.application.ui.advanced.impl declared as IEclipseContextModifier and TypeFieldDescriptionprotected IEclipseContextPerspectiveImpl.contextThe cached value of the 'Context' attribute.protected static final IEclipseContextPerspectiveImpl.CONTEXT_EDEFAULTThe default value of the 'Context' attribute.Methods in org.eclipse.e4.ui.model.application.ui.advanced.impl that return IEclipseContextMethods in org.eclipse.e4.ui.model.application.ui.advanced.impl with parameters of type IEclipseContext -
Uses of IEclipseContext in org.eclipse.e4.ui.model.application.ui.basic.impl
Fields in org.eclipse.e4.ui.model.application.ui.basic.impl declared as IEclipseContextModifier and TypeFieldDescriptionprotected IEclipseContextPartImpl.contextThe cached value of the 'Context' attribute.protected IEclipseContextWindowImpl.contextThe cached value of the 'Context' attribute.protected static final IEclipseContextPartImpl.CONTEXT_EDEFAULTThe default value of the 'Context' attribute.protected static final IEclipseContextWindowImpl.CONTEXT_EDEFAULTThe default value of the 'Context' attribute.Methods in org.eclipse.e4.ui.model.application.ui.basic.impl that return IEclipseContextMethods in org.eclipse.e4.ui.model.application.ui.basic.impl with parameters of type IEclipseContextModifier and TypeMethodDescriptionvoidPartImpl.setContext(IEclipseContext newContext) voidWindowImpl.setContext(IEclipseContext newContext) -
Uses of IEclipseContext in org.eclipse.e4.ui.model.internal
Methods in org.eclipse.e4.ui.model.internal that return IEclipseContextModifier and TypeMethodDescriptionstatic IEclipseContextModelUtils.getContainingContext(MApplicationElement element) -
Uses of IEclipseContext in org.eclipse.e4.ui.services
Methods in org.eclipse.e4.ui.services with parameters of type IEclipseContext -
Uses of IEclipseContext in org.eclipse.e4.ui.services.events
Methods in org.eclipse.e4.ui.services.events with parameters of type IEclipseContextModifier and TypeMethodDescriptionEventBrokerFactory.compute(IEclipseContext context, String contextKey) -
Uses of IEclipseContext in org.eclipse.e4.ui.workbench
Methods in org.eclipse.e4.ui.workbench with parameters of type IEclipseContextModifier and TypeMethodDescriptionIPresentationEngine.createGui(MUIElement element, Object parentWidget, IEclipseContext parentContext) Creates and returns the UI element for the given model element.IPresentationEngine.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 IEclipseContextModifier and TypeMethodDescriptionEModelService.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 IEclipseContextModifier and TypeMethodDescriptionvoidEModelService.hostElement(MUIElement element, MWindow hostWindow, Object uiContainer, IEclipseContext hostContext) Allows an element to be rendered in an arbitrary UI container (I.e. -
Uses of IEclipseContext in org.eclipse.e4.ui.workbench.renderers.swt
Methods in org.eclipse.e4.ui.workbench.renderers.swt that return IEclipseContextModifier and TypeMethodDescriptionprotected IEclipseContextAbstractContributionItem.getContext(MUIElement part) Return a context for this part.MenuManagerRenderer.getContext(MUIElement el) ToolBarManagerRenderer.getContext(MUIElement el) protected IEclipseContextAbstractContributionItem.getContextForParent(MUIElement element) Return a parent context for this part.Methods in org.eclipse.e4.ui.workbench.renderers.swt with parameters of type IEclipseContextModifier and TypeMethodDescriptionstatic voidMenuManagerRendererFilter.collectInfo(ExpressionInfo info, MMenu menuModel, MenuManagerRenderer renderer, IEclipseContext evalContext, boolean recurse) voidSWTPartRenderer.init(IEclipseContext context) voidTrimBarRenderer.init(IEclipseContext context) voidWorkbenchRendererFactory.init(IEclipseContext context) static voidMenuManagerRendererFilter.updateElementVisibility(MMenu menuModel, MenuManagerRenderer renderer, MenuManager menuManager, IEclipseContext evalContext, int recurseLevel, boolean updateEnablement) voidContributionRecord.updateVisibility(IEclipseContext context) voidToolBarContributionRecord.updateVisibility(IEclipseContext context) Constructors in org.eclipse.e4.ui.workbench.renderers.swt with parameters of type IEclipseContextModifierConstructorDescriptionCSSEngineHelper(IEclipseContext context, Control control) Create a CSSEngineHelper that can retrieve engine values for a particular control. -
Uses of IEclipseContext in org.eclipse.ui.internal
Methods in org.eclipse.ui.internal that return IEclipseContextMethods in org.eclipse.ui.internal with parameters of type IEclipseContextModifier and TypeMethodDescriptionorg.eclipse.ui.internal.dialogs.cpd.CustomizePerspectiveDialogWorkbenchWindow.createCustomizePerspectiveDialog(Perspective persp, IEclipseContext context) voidWorkbenchPlugin.initializeContext(IEclipseContext context) Initialized the workbench plug-in with the e4 contextstatic final voidPartSite.registerContextMenu(String menuId, MenuManager menuManager, ISelectionProvider selectionProvider, boolean includeEditorInput, IWorkbenchPart part, IEclipseContext context, Collection<PopupMenuExtender> menuExtenders) This is a helper method for the register context menu functionality.Constructors in org.eclipse.ui.internal with parameters of type IEclipseContextModifierConstructorDescriptionEditorReference(IEclipseContext windowContext, IWorkbenchPage page, MPart part, IEditorInput input, org.eclipse.ui.internal.registry.EditorDescriptor descriptor, IMemento editorState) PopupMenuExtender(String id, MenuManager menu, ISelectionProvider prov, IWorkbenchPart part, IEclipseContext context) Construct a new menu extender.PopupMenuExtender(String id, MenuManager menu, ISelectionProvider prov, IWorkbenchPart part, IEclipseContext context, boolean includeEditorInput) Construct a new menu extender.ViewReference(IEclipseContext windowContext, IWorkbenchPage page, MPart part, org.eclipse.ui.internal.registry.ViewDescriptor descriptor) WorkbenchPartReference(IEclipseContext windowContext, IWorkbenchPage page, MPart part)
IContextFunction's compute() was changed to take the context key