Package org.eclipse.ui.internal
Interface IObjectContributor
- All Known Subinterfaces:
- IObjectActionContributor
- All Known Implementing Classes:
- ObjectActionContributor
public interface IObjectContributor
Objects of classes that implement this interface can be registered for
 certain object type in the IObjectContributorManager. Unlike with extenders,
 all the matching contributors will be processed in a sequence.
 
By implementing 'isApplicableTo' method, a contributor can tell the manager to skip it if the object is of the desired type, but its other properties do not match additional requirements imposed by the contributor.
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanAdapt()Return whether or not the receiver can adapt to IResource.booleanisApplicableTo(Object object) Returns true if this contributor should be considered for the given object.
- 
Method Details- 
isApplicableToReturns true if this contributor should be considered for the given object.- Parameters:
- object- the object to text
- Returns:
- boolean
 
- 
canAdaptboolean canAdapt()Return whether or not the receiver can adapt to IResource.- Returns:
- boolean
 
 
-