Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jface.text.information
Interface IInformationProviderExtension

public interface IInformationProviderExtension

Extends `IInformationProvider` with the ability to provide the element for a given subject.

Since:
  2.1
See Also:
  `IInformationProvider`

Method Summary
`Object` | `getInformation2(ITextViewer textViewer, IRegion subject)` Returns the element for the given subject or `null` if no element is available.

Method Detail

### getInformation2

    public Object getInformation2(ITextViewer textViewer,
                                  IRegion subject)

  Returns the element for the given subject or `null` if no element is available.

  Implementers should ignore the text returned by `IInformationProvider.getInformation(ITextViewer, IRegion)`.

  Parameters:
    `textViewer` - the viewer in whose document the subject is contained
    `subject` - the text region constituting the information subject
  Returns:
    the element for the subject
  See Also:
    `IInformationProvider.getInformation(ITextViewer, IRegion)`, `ITextViewer`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.