@Deprecated public interface DebuggerExtenderCallback extends oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
Modifier and Type | Method and Description |
---|---|
DebuggerBreakpoint |
addBreakpoint(DebuggerBreakpoint breakpoint)
Deprecated.
Called by the DebuggerExtender to add a new breakpoint.
|
boolean |
deleteBreakpoint(DebuggerBreakpoint breakpoint)
Deprecated.
Called by the DebuggerExtender to delete a previously added breakpoint.
|
boolean |
editBreakpoint(DebuggerBreakpoint breakpoint)
Deprecated.
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)
Deprecated.
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()
Deprecated.
Called by the DebuggerExtender to get the list of breakpoints previously
added by this DebuggerExtender (and not deleted yet).
|
DebuggerBreakpoint.BreakpointState |
getBreakpointState(DebuggerBreakpoint breakpoint)
Deprecated.
Called by the DebuggerExtender to get the current state of a previously
added breakpoint in the context of the current debugging process
|
default DebuggerExtenderAPIVersion |
getDebuggerExtenderAPIVersion()
Deprecated.
Called by core debugger implementation to see what version of the
DebuggerExtender API is used by an extender, so that appropriate
return types can be used for methods that differ between versions.
|
DebuggerBreakpoint.BreakpointScope |
getDefaultBreakpointScope()
Deprecated.
Called by the DebuggerExtender to ask the Debugger what the default
breakpoint scope is for new breakpoints.
|
DebuggerBreakpoint |
getDefaultBreakpointSettings()
Deprecated.
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)
Deprecated.
Called by the DebuggerExtender to set the preferred state of a previously
added breakpoint to enabled or disabled
|
default DebuggerExtenderAPIVersion getDebuggerExtenderAPIVersion()
DebuggerBreakpoint addBreakpoint(DebuggerBreakpoint breakpoint)
addBreakpoint
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
breakpoint
- The new breakpoint as defined by the DebuggerExtenderboolean deleteBreakpoint(DebuggerBreakpoint breakpoint)
deleteBreakpoint
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
breakpoint
- The breakpoint to deleteboolean setEnableBreakpoint(DebuggerBreakpoint breakpoint, boolean enable)
setEnableBreakpoint
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
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()
getBreakpoints
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
DebuggerBreakpoint.BreakpointState getBreakpointState(DebuggerBreakpoint breakpoint)
getBreakpointState
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
breakpoint
- The breakpointjavax.swing.Icon getBreakpointIcon(DebuggerBreakpoint breakpoint)
getBreakpointIcon
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
breakpoint
- The breakpoint@Deprecated void registerCustomBreakpointType(java.lang.String customBreakpointType, DebuggerBreakpoint.BreakpointKind breakpointKind)
registerCustomBreakpointType
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
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)
registerCustomBreakpointType
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
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()
getDefaultBreakpointScope
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
boolean editBreakpoint(DebuggerBreakpoint breakpoint)
editBreakpoint
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>
breakpoint
- The breakpointDebuggerBreakpoint getDefaultBreakpointSettings()
getDefaultBreakpointSettings
in interface oracle.ideimpl.debugger.extender.CommonExtenderCallbackBase<DebuggerBreakpoint,DebuggerBreakpoint.BreakpointKind,DebuggerBreakpoint.BreakpointScope,DebuggerBreakpoint.BreakpointState>