public interface DebuggerExtenderCallback
| Modifier and Type | Method and Description | 
|---|---|
DebuggerBreakpoint | 
addBreakpoint(DebuggerBreakpoint breakpoint)
Called by the DebuggerExtender to add a new breakpoint. 
 | 
boolean | 
deleteBreakpoint(DebuggerBreakpoint breakpoint)
Called by the DebuggerExtender to delete a previously added breakpoint. 
 | 
boolean | 
editBreakpoint(DebuggerBreakpoint breakpoint)
Called by the DebuggerExtender to ask the Debugger to show the dialog
 where the user can edit the incoming breakpoint. 
 | 
javax.swing.Icon | 
getBreakpointIcon(DebuggerBreakpoint breakpoint)
Called by the DebuggerExtender to get the icon that corresponds to the 
 current state of a previously added breakpoint in the context of the 
 current debugging process 
 | 
java.util.List<? extends DebuggerBreakpoint> | 
getBreakpoints()
Called by the DebuggerExtender to get the list of breakpoints previously
 added by this DebuggerExtender (and not deleted yet). 
 | 
DebuggerBreakpoint.BreakpointState | 
getBreakpointState(DebuggerBreakpoint breakpoint)
Called by the DebuggerExtender to get the current state of a previously
 added breakpoint in the context of the current debugging process 
 | 
DebuggerBreakpoint.BreakpointScope | 
getDefaultBreakpointScope()
Called by the DebuggerExtender to ask the Debugger what the default
 breakpoint scope is for new breakpoints. 
 | 
DebuggerBreakpoint | 
getDefaultBreakpointSettings()
Called by the DebuggerExtender to ask the Debugger for the settings
 of a 'default' breakpoint. 
 | 
void | 
registerCustomBreakpointType(java.lang.String customBreakpointType,
                            DebuggerBreakpoint.BreakpointKind breakpointKind)
Deprecated. 
 
Use registerCustomBreakpointType(String, BreakpointKind,
 DebuggerBreakpoint) instead. 
 | 
void | 
registerCustomBreakpointType(java.lang.String customBreakpointType,
                            DebuggerBreakpoint.BreakpointKind breakpointKind,
                            DebuggerBreakpoint breakpointTemplate)
Deprecated. 
 
The programmatic way of registering breakpoint types is
 discouraged. Instead 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>  | 
boolean | 
setEnableBreakpoint(DebuggerBreakpoint breakpoint,
                   boolean enable)
Called by the DebuggerExtender to set the preferred state of a previously 
 added breakpoint to enabled or disabled 
 | 
DebuggerBreakpoint addBreakpoint(DebuggerBreakpoint breakpoint)
breakpoint - The new breakpoint as defined by the DebuggerExtenderboolean deleteBreakpoint(DebuggerBreakpoint breakpoint)
breakpoint - The breakpoint to deleteboolean setEnableBreakpoint(DebuggerBreakpoint breakpoint, boolean enable)
breakpoint - The breakpointenable - True if the preferred state should be set to enabled, false
 if the preferred state should be set to disabledjava.util.List<? extends DebuggerBreakpoint> getBreakpoints()
DebuggerBreakpoint.BreakpointState getBreakpointState(DebuggerBreakpoint breakpoint)
breakpoint - The breakpointjavax.swing.Icon getBreakpointIcon(DebuggerBreakpoint breakpoint)
breakpoint - The breakpoint@Deprecated
void registerCustomBreakpointType(java.lang.String customBreakpointType,
                                              DebuggerBreakpoint.BreakpointKind breakpointKind)
customBreakpointType - The new custom breakpoint type String. 
 This type is further used by the DebuggerExtender to create and edit 
 breakpoints of this typebreakpointKind - The underlying breakpoint kind of this breakpoint type@Deprecated
void registerCustomBreakpointType(java.lang.String customBreakpointType,
                                              DebuggerBreakpoint.BreakpointKind breakpointKind,
                                              DebuggerBreakpoint breakpointTemplate)
customBreakpointType - The new custom breakpoint type String. 
 This type is further used by the DebuggerExtender to create and edit 
 breakpoints of this typebreakpointKind - The underlying breakpoint kind of this breakpoint typebreakpointTemplate - The (optional) template that will be used when 
 new breakpoints are created. This is useful if certain properties of a new
 breakpoint, such as the condition, have defaults and/or are read-only and 
 should not be editable by the user on creation.DebuggerBreakpoint.BreakpointScope getDefaultBreakpointScope()
boolean editBreakpoint(DebuggerBreakpoint breakpoint)
breakpoint - The breakpointDebuggerBreakpoint getDefaultBreakpointSettings()