Class ScopeBasedContentProvider

  • All Implemented Interfaces:
    IContentProvider, IStructuredContentProvider

    public class ScopeBasedContentProvider
    extends Object
    implements IStructuredContentProvider
    This implementation of IStructuredContentProvider handles the case where the viewer input is an Pair. Given EObject must be contained by resource.

    This implementation tries to get appropriate IScopeProvider registered for resource which contains given EObject. With the help of this scope provider and input pair it gets scope and returns array of IEObjectDescriptions or empty array if input arguments are wrong or there is no appropriate scope provider.

    Restriction:
    This class is not intended to be subclassed by clients.