Skip navigation links

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

E17493-03


oracle.ide.runner
Interface DebuggerInspectorExpressionProvider


public interface DebuggerInspectorExpressionProvider

Defines an interface that the debugger will call to get a suitable expression for the inspector based on where the cursor is in the editor


Method Summary
 boolean canProvideInspectorExpression(Node node)
          Determine if the implementation can return inspector expressions if the cursor is in the editor of the incoming Node
 java.lang.String getInspectorExpression(java.lang.String lineOfText, int cursorOffset)
          Given a line of text and a cursor position in that line, return the expression suitable for the debugger inspector.

 

Method Detail

canProvideInspectorExpression

boolean canProvideInspectorExpression(Node node)
Determine if the implementation can return inspector expressions if the cursor is in the editor of the incoming Node
Parameters:
node - The node whose editor contains the current cursor position
Returns:
True if this implementation can return inspector expressions for the incoming node

getInspectorExpression

java.lang.String getInspectorExpression(java.lang.String lineOfText,
                                        int cursorOffset)
Given a line of text and a cursor position in that line, return the expression suitable for the debugger inspector. Inspector expressions are different from tooltip expressions, since tooltip expressions typically don't include method calls, while inspector expressions do.
Parameters:
lineOfText - A line of text
cursorOffset - The position of the cursor in that line of text
Returns:
An inspector expression or null if there is none

Skip navigation links

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

E17493-03


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