Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.editor.language
Interface OffsetDescriptionProvider


public interface OffsetDescriptionProvider

Provides a way for a language to provide a user displayable description of a location in a text buffer


Method Summary
 java.lang.String getDescription(TextBuffer buffer, int offset)
          Provide the user displayable name for the given location
 

Method Detail

getDescription

java.lang.String getDescription(TextBuffer buffer,
                                int offset)
Provide the user displayable name for the given location

Parameters:
buffer - the text buffer contining the code
offset - the offset at which to provide a description
Returns:
a user displayable name, or null if one could not be created.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.