|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DisablingInteractionAdvisor
Mix-in interface for facets that can advise as to whether a member should be disabled.
ValidatingInteractionAdvisor,
HidingInteractionAdvisor| Field Summary |
|---|
| Fields inherited from interface org.nakedobjects.metamodel.consent.InteractionAdvisorFacet |
|---|
NOOP |
| Method Summary | |
|---|---|
java.lang.String |
disables(UsabilityContext<? extends UsabilityEvent> ic)
Whether the rule represented by this facet disables the member to which it applies. |
| Methods inherited from interface org.nakedobjects.metamodel.facets.Facet |
|---|
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet |
| Method Detail |
|---|
java.lang.String disables(UsabilityContext<? extends UsabilityEvent> ic)
Implementations should use the provided InteractionContext to determine whether they disable
the member from being modified or used. They must however guard against a null
target and session -
neither are guaranteed to be populated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||