Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.ui.internal
Interface IObjectContributor  view IObjectContributor download IObjectContributor.java

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 Summary
 boolean canAdapt()
          Return whether or not the receiver can adapt to IResource.
 boolean isApplicableTo(java.lang.Object object)
          Returns true if this contributor should be considered for the given object.
 

Method Detail

isApplicableTo

public boolean isApplicableTo(java.lang.Object object)
Returns true if this contributor should be considered for the given object.


canAdapt

public boolean canAdapt()
Return whether or not the receiver can adapt to IResource.