public abstract class XBreakpointType<B extends XBreakpoint<P>,P extends XBreakpointProperties>
extends java.lang.Object
<extensions defaultExtensionNs="com.intellij">
<xdebugger.breakpointType implementation="qualified-class-name"/>
</extensions>
Use this class only for breakpoints like exception breakpoints in Java. If a breakpoint will be put on some line in a file use
XLineBreakpointType
instead
Modifier and Type | Class and Description |
---|---|
static class |
XBreakpointType.StandardPanels |
static interface |
XBreakpointType.XBreakpointCreator<P extends XBreakpointProperties> |
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<XBreakpointType> |
EXTENSION_POINT_NAME |
Modifier | Constructor and Description |
---|---|
protected |
XBreakpointType(java.lang.String id,
java.lang.String title) |
protected |
XBreakpointType(java.lang.String id,
java.lang.String title,
boolean suspendThreadSupported) |
public static final ExtensionPointName<XBreakpointType> EXTENSION_POINT_NAME
protected XBreakpointType(java.lang.String id, java.lang.String title)
id
- an unique id of breakpoint typetitle
- title of tab in the breakpoints dialogprotected XBreakpointType(java.lang.String id, java.lang.String title, boolean suspendThreadSupported)
id
- an unique id of breakpoint typetitle
- title of tab in the breakpoints dialogsuspendThreadSupported
- true
if suspending only one thread is supported for this type of breakpointspublic P createProperties()
public boolean isSuspendThreadSupported()
true
if suspending only one thread is supportedpublic SuspendPolicy getDefaultSuspendPolicy()
public java.util.EnumSet<XBreakpointType.StandardPanels> getVisibleStandardPanels()
public final java.lang.String getId()
public java.lang.String getTitle()
public javax.swing.Icon getEnabledIcon()
public javax.swing.Icon getDisabledIcon()
public javax.swing.Icon getSuspendNoneIcon()
public javax.swing.Icon getMutedEnabledIcon()
public javax.swing.Icon getMutedDisabledIcon()
public javax.swing.Icon getPendingIcon()
public javax.swing.Icon getInactiveDependentIcon()
public abstract java.lang.String getDisplayText(B breakpoint)
public XBreakpointCustomPropertiesPanel<B> createCustomConditionsPanel()
public XBreakpointCustomPropertiesPanel<B> createCustomPropertiesPanel(Project project)
@Deprecated public XBreakpointCustomPropertiesPanel<B> createCustomPropertiesPanel()
createCustomPropertiesPanel(Project)
insteadpublic XBreakpointCustomPropertiesPanel<B> createCustomRightPropertiesPanel(Project project)
public XBreakpointCustomPropertiesPanel<B> createCustomTopPropertiesPanel(Project project)
@Deprecated public XDebuggerEditorsProvider getEditorsProvider()
#getEditorsProvider(B, Project)
insteadpublic XDebuggerEditorsProvider getEditorsProvider(B breakpoint, Project project)
public java.util.List<XBreakpointGroupingRule<B,?>> getGroupingRules()
public java.util.Comparator<B> getBreakpointComparator()
public boolean isAddBreakpointButtonVisible()
true
from this method in order to allow adding breakpoints from the "Breakpoints" dialog. Also override
addBreakpoint(Project,JComponent)
method.true
if "Add" button should be visible in "Breakpoints" dialogpublic B addBreakpoint(Project project, javax.swing.JComponent parentComponent)
project
- parentComponent
- null
if breakpoint wasn't createdpublic XBreakpoint<P> createDefaultBreakpoint(XBreakpointType.XBreakpointCreator<P> creator)
null
if default breakpoint isn't supportedpublic boolean shouldShowInBreakpointsDialog(Project project)
public java.lang.String getBreakpointsDialogHelpTopic()
public XSourcePosition getSourcePosition(XBreakpoint<P> breakpoint)
public java.lang.String getShortText(B breakpoint)
public java.util.List<? extends AnAction> getAdditionalPopupMenuActions(B breakpoint, XDebugSession currentSession)
public java.lang.String toString()
toString
in class java.lang.Object