org.nakedobjects.metamodel.facets.disable
Interface DisableForContextFacet

All Superinterfaces:
DisablingInteractionAdvisor, Facet, InteractionAdvisor, InteractionAdvisorFacet
All Known Implementing Classes:
DisableForContextFacetAbstract, DisableForContextFacetNone, DisableForContextFacetViaMethod

public interface DisableForContextFacet
extends Facet, DisablingInteractionAdvisor

Disable a property, collection or action based on the state of the target object.

In the standard Naked Objects Programming Model, corresponds to invoking the disableXxx support method for the member.


Field Summary
 
Fields inherited from interface org.nakedobjects.metamodel.consent.InteractionAdvisorFacet
NOOP
 
Method Summary
 java.lang.String disabledReason(NakedObject object)
          The reason this object is disabled, or null otherwise.
 
Methods inherited from interface org.nakedobjects.metamodel.interactions.DisablingInteractionAdvisor
disables
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Method Detail

disabledReason

java.lang.String disabledReason(NakedObject object)
The reason this object is disabled, or null otherwise.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.