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

E17493-02

oracle.ide.runner
Interface DebuggerBreakpointDeclarator


public interface DebuggerBreakpointDeclarator

Interface that helps with registering debugger extender custom breakpoint types in a declarative way Register in a declarative way in extension.xml, as follows: Use a fully qualified class name of an implementation of oracle.ide.runner.DebuggerBreakpointDeclarator for the 'class' attribute
Use the unique type string of the breakpoint type for the 'type-string' attribute, such as 'ADF Breakpoint'
Add a <hooks> section or use the existing one
Add a <jdeveloper-hook> section or use the existing one

<hooks>
<jdeveloper-hook xmlns="http://xmlns.oracle.com/jdeveloper/1013/extension">
<debugger-hook>
<debugger-extender-custom-breakpoint-type
class="mycompany.MyDebuggerBreakpointDeclarator" type-string="My Breakpoint" />
</debugger-hook>
</jdeveloper-hook>
</hooks>

Since:
11.1.2.0.0

Method Summary
 DebuggerBreakpoint.BreakpointKind getBreakpointKind()
          Get the kind of the breakpoint
 DebuggerBreakpoint getBreakpointTemplate()
          Get the template from which the breakpoint is created.
 java.lang.String getBreakpointTypeString()
          Get the type string that uniquely identifies this kind of breakpoint.
 java.lang.String getDebuggerExtenderId()
          Get the ID of the DebuggerExtender that owns this breakpoint
 

Method Detail

getDebuggerExtenderId

java.lang.String getDebuggerExtenderId()
Get the ID of the DebuggerExtender that owns this breakpoint

Returns:
An ID of a DebuggerExtender

getBreakpointKind

DebuggerBreakpoint.BreakpointKind getBreakpointKind()
Get the kind of the breakpoint

Returns:
The breakpoint kind

getBreakpointTemplate

DebuggerBreakpoint getBreakpointTemplate()
Get the template from which the breakpoint is created.

Returns:
A breakpoint template; if null is returned, the default breakpoint template for this breakpoint kind will be used

getBreakpointTypeString

java.lang.String getBreakpointTypeString()
Get the type string that uniquely identifies this kind of breakpoint. This type string is used in the drop down list of breakpoint types. If a custom template is used, this type string should be the same as returned by the 'getCustomTypeString()' method of the DebuggerBreakpoint template class

Returns:
A type string

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.