public class EclipseContextViewServiceImpl extends Object implements EclipseContextViewService
EclipseContextViewService.| Constructor and Description |
|---|
EclipseContextViewServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose.
|
org.eclipse.e4.core.contexts.IEclipseContext |
getContext(VElement element)
Returns the context associated with the given
VElement. |
int |
getPriority()
Returns the priority for this view service.
|
void |
instantiate(ViewModelContext context)
Instantiate the view service.
|
void |
putContext(VElement element,
org.eclipse.e4.core.contexts.IEclipseContext context)
Sets the context for the
VElement. |
public void instantiate(ViewModelContext context)
instantiate in interface ViewModelServicecontext - the ViewModelContextViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)public void dispose()
dispose in interface ViewModelServiceViewModelService.dispose()public int getPriority()
getPriority in interface ViewModelServiceViewModelService.getPriority()public void putContext(VElement element, org.eclipse.e4.core.contexts.IEclipseContext context)
VElement.putContext in interface EclipseContextViewServiceelement - the element associated with the contextcontext - the IEclipseContext.EclipseContextViewService.putContext(org.eclipse.emf.ecp.view.spi.model.VElement,
org.eclipse.e4.core.contexts.IEclipseContext)public org.eclipse.e4.core.contexts.IEclipseContext getContext(VElement element)
VElement.getContext in interface EclipseContextViewServiceelement - the element for which the IEclipseContext is to be returned.IEclipseContextEclipseContextViewService.getContext(org.eclipse.emf.ecp.view.spi.model.VElement)Copyright © 2016. All rights reserved.