|
|||||||||
| 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,
UniqueSetting setting)
Returns all VElements, that would we disabled if possibleValues would be set for the given
settings. |
Map<VElement,Boolean> |
getHiddenRenderables(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleValues,
UniqueSetting setting)
Returns all VElements, that would we hidden if possibleValues would be set for the given
settings. |
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 ViewModelServicecontext - the ViewModelContextViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public Map<VElement,Boolean> getDisabledRenderables(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleValues,
UniqueSetting setting)
VElements, that would we disabled if possibleValues would be set for the given
settings.
possibleValues - a mapping of settings to their would-be new valuesetting - the changed setting
VElements and their new state if possibleValues would be set
public Map<VElement,Boolean> getHiddenRenderables(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleValues,
UniqueSetting setting)
VElements, that would we hidden if possibleValues would be set for the given
settings.
possibleValues - a mapping of settings to their would-be new valuesetting - the setting that was changed
VElements and their new state if possibleValues would be setpublic void dispose()
dispose in interface ViewModelServicepublic int getPriority()
getPriority in interface ViewModelServiceViewModelService.getPriority()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||