|
|||||||||
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.RuleService
public class RuleService
Rule service that, once instantiated, maintains and synchronizes
the state of a rule with its VElement
.
Constructor Summary | |
---|---|
RuleService()
Instantiates the rule service. |
Method Summary | |
---|---|
void |
dispose()
Dispose. |
Map<VElement,Boolean> |
getDisabledRenderables(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleValues,
org.eclipse.emf.ecore.EAttribute changedAttribute)
Returns all VElement s, that would we disabled if possibleValues would be set for the given
setting s. |
Map<VElement,Boolean> |
getHiddenRenderables(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleValues,
org.eclipse.emf.ecore.EAttribute changedAttribute)
Returns all VElement s, that would we hidden if possibleValues would be set for the given
setting s. |
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 RuleService()
Method Detail |
---|
public void instantiate(ViewModelContext context)
instantiate
in interface ViewModelService
context
- the ViewModelContext
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public Map<VElement,Boolean> getDisabledRenderables(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleValues, org.eclipse.emf.ecore.EAttribute changedAttribute)
VElement
s, that would we disabled if possibleValues
would be set for the given
setting
s.
possibleValues
- a mapping of settings to their would-be new valuechangedAttribute
- the changed attribute
VElement
s and their new state if possibleValues
would be setpublic Map<VElement,Boolean> getHiddenRenderables(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleValues, org.eclipse.emf.ecore.EAttribute changedAttribute)
VElement
s, that would we hidden if possibleValues
would be set for the given
setting
s.
possibleValues
- a mapping of settings to their would-be new valuechangedAttribute
- the attribute that was changed
VElement
s and their new state if possibleValues
would be setpublic void dispose()
dispose
in interface ViewModelService
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 |