org.eclipse.emf.ecp.view.spi.rule
Interface RuleServiceHelper
- All Known Implementing Classes:
- RuleServiceHelperImpl
public interface RuleServiceHelper
- Since:
- 1.2
- Author:
- Eugen Neufeld
Method Summary |
|
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. |
getInvolvedEObjects
<T extends VElement> Set<T> 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.
- Type Parameters:
T
- the type of the returned EObject
s- Parameters:
setting
- 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
- Returns:
- the involved
VElement
s that match the given type T
getInvolvedEObjects
<T extends VElement> Set<T> 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.
- Type Parameters:
T
- the type of the returned EObjects
- Parameters:
possibleNewValues
- a mapping of settings to their would-be new valuerenderableClass
- the class type that has to be matched. Used for filtering the result setchangedAttribute
- the attribute that was changed
- Returns:
- the involved
VElement
s that match the given type T
Copyright © 2014. All Rights Reserved.