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 ViewModelService
context
- the ViewModelContext
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public void dispose()
dispose
in interface ViewModelService
ViewModelService.dispose()
public int getPriority()
getPriority
in interface ViewModelService
ViewModelService.getPriority()
public void putContext(VElement element, org.eclipse.e4.core.contexts.IEclipseContext context)
VElement
.putContext
in interface EclipseContextViewService
element
- 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 EclipseContextViewService
element
- the element for which the IEclipseContext
is to be returned.IEclipseContext
EclipseContextViewService.getContext(org.eclipse.emf.ecp.view.spi.model.VElement)
Copyright © 2018. All rights reserved.