|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.view.internal.rule.RuleServiceHelperImpl
public class RuleServiceHelperImpl
Constructor Summary | |
---|---|
RuleServiceHelperImpl()
|
Method Summary | ||
---|---|---|
void |
dispose()
Dispose. |
|
|
getInvolvedEObjects(org.eclipse.emf.ecore.EStructuralFeature.Setting setting,
Object newValue,
org.eclipse.emf.ecore.EAttribute attribute,
Class<T> renderableClass)
Gets the involved EObject s that would be hidden
or disabled if newValue would be set. |
|
|
getInvolvedEObjects(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues,
org.eclipse.emf.ecore.EAttribute changedAttribute,
Class<T> renderableClass)
Gets the involved EObject s that would be hidden
or disabled if possibleNewValues would be set. |
|
int |
getPriority()
Returns the priority for this view service. |
|
void |
instantiate(ViewModelContext context)
Instantiate the view service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleServiceHelperImpl()
Method Detail |
---|
public <T extends VElement> Set<T> getInvolvedEObjects(org.eclipse.emf.ecore.EStructuralFeature.Setting setting, Object newValue, org.eclipse.emf.ecore.EAttribute attribute, 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 settingnewValue
- the new valueattribute
- the EAttribute
to find involved VElements
forrenderableClass
- the class type that has to be matched. Used for filtering the result set
VElement
s that match the given type T
RuleServiceHelper.getInvolvedEObjects(org.eclipse.emf.ecore.EStructuralFeature.Setting,
java.lang.Object, org.eclipse.emf.ecore.EAttribute, java.lang.Class)
public <T extends VElement> Set<T> getInvolvedEObjects(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues, org.eclipse.emf.ecore.EAttribute changedAttribute, Class<T> renderableClass)
EObject
s that would be hidden
or disabled if possibleNewValues
would be set.
getInvolvedEObjects
in interface RuleServiceHelper
T
- the type of the returned EObjects
possibleNewValues
- a mapping of settings to their would-be new valuechangedAttribute
- the attribute that was changedrenderableClass
- the class type that has to be matched. Used for filtering the result set
VElement
s that match the given type T
RuleServiceHelper.getInvolvedEObjects(java.util.Map,
org.eclipse.emf.ecore.EAttribute, java.lang.Class)
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |