public class RuleServiceHelperImpl extends Object implements ViewModelService, RuleServiceHelper
Constructor and Description |
---|
RuleServiceHelperImpl() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose.
|
<T extends VElement> |
getInvolvedEObjects(org.eclipse.emf.ecore.EStructuralFeature.Setting setting,
Object newValue,
Class<T> renderableClass)
Gets the involved
EObject s that would be hidden
or disabled if newValue would be set. |
int |
getPriority()
Returns the priority for this view service.
|
void |
instantiate(ViewModelContext context)
Instantiate the view service.
|
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 <T extends VElement> Set<T> getInvolvedEObjects(org.eclipse.emf.ecore.EStructuralFeature.Setting setting, Object newValue, Class<T> renderableClass)
EObject
s that would be hidden
or disabled if newValue
would be set.getInvolvedEObjects
in interface RuleServiceHelper
T
- the type of the returned EObject
ssetting
- the current settingnewValue
- the new value which may be setrenderableClass
- the class type that has to be matched. Used for filtering the result setVElement
s that match the given type T
RuleServiceHelper.getInvolvedEObjects(org.eclipse.emf.ecore.EStructuralFeature.Setting,
java.lang.Object, java.lang.Class)
Copyright © 2018. All rights reserved.