TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.ui.extension
Interface IAssociationDescriptorFilter


public interface IAssociationDescriptorFilter

Instances of this interface can be used with a IAssociationMappingRegistry so clients can customize which association descriptors can be added to the registry's mappings.


Method Summary
 boolean isValid(IAssociationMapping associationMapping, IAssociationDescriptor associationDescriptor)
          Returns true if the descriptor is valid or false otherwise.
 

Method Detail

isValid

boolean isValid(IAssociationMapping associationMapping,
                IAssociationDescriptor associationDescriptor)
Returns true if the descriptor is valid or false otherwise. If this methods returns false the associationDescriptor is removed from the its mapping.

Implementors are not supposed to cache any of the argument since they should be always retrieved through the association classes.

Parameters:
associationDescriptor -
associationMapping -
Returns:
boolean

TPTP 4.6.0 Platform Project
Public API Specification