public class JavaFieldBreakpointType extends JavaLineBreakpointTypeBase<JavaFieldBreakpointProperties>
XLineBreakpointType.XLineBreakpointAllVariant, XLineBreakpointType.XLineBreakpointVariant, XLineBreakpointType.XLinePsiElementBreakpointVariant
XBreakpointType.StandardPanels, XBreakpointType.XBreakpointCreator<P extends XBreakpointProperties>
EXTENSION_POINT_NAME
Constructor and Description |
---|
JavaFieldBreakpointType() |
Modifier and Type | Method and Description |
---|---|
XLineBreakpoint<JavaFieldBreakpointProperties> |
addBreakpoint(Project project,
javax.swing.JComponent parentComponent)
This method is called then "Add" button is pressed in the "Breakpoints" dialog
|
boolean |
canBeHitInOtherPlaces()
Return true if this breakpoint could be hit on lines other than the one specified,
an example is method breakpoint in java - it could be hit on any method overriding the one specified
|
boolean |
canPutAt(VirtualFile file,
int line,
Project project)
Return
true |
JavaFieldBreakpointProperties |
createBreakpointProperties(VirtualFile file,
int line)
return non-null value if a breakpoint should have specific properties besides containing file and line.
|
XBreakpointCustomPropertiesPanel<XLineBreakpoint<JavaFieldBreakpointProperties>> |
createCustomPropertiesPanel(Project project) |
Breakpoint<JavaFieldBreakpointProperties> |
createJavaBreakpoint(Project project,
XBreakpoint breakpoint) |
JavaFieldBreakpointProperties |
createProperties() |
javax.swing.Icon |
getDisabledIcon() |
java.lang.String |
getDisplayName() |
javax.swing.Icon |
getEnabledIcon() |
protected java.lang.String |
getHelpID() |
javax.swing.Icon |
getInactiveDependentIcon() |
javax.swing.Icon |
getMutedDisabledIcon() |
javax.swing.Icon |
getMutedEnabledIcon() |
java.lang.String |
getShortText(XLineBreakpoint<JavaFieldBreakpointProperties> breakpoint) |
javax.swing.Icon |
getSuspendNoneIcon() |
java.lang.String |
getText(XLineBreakpoint<JavaFieldBreakpointProperties> breakpoint) |
boolean |
isAddBreakpointButtonVisible()
Return
true from this method in order to allow adding breakpoints from the "Breakpoints" dialog. |
canPutAtElement, createCustomRightPropertiesPanel, getAdditionalPopupMenuActions, getDisplayText, getEditorsProvider, isSuspendThreadSupported
computeVariants, computeVariantsAsync, createDefaultBreakpoint, getHighlightRange, getPriority, getSourcePosition, getTemporaryIcon
createCustomConditionsPanel, createCustomPropertiesPanel, createCustomTopPropertiesPanel, getBreakpointComparator, getBreakpointsDialogHelpTopic, getDefaultSuspendPolicy, getEditorsProvider, getGroupingRules, getId, getPendingIcon, getTitle, getVisibleStandardPanels, shouldShowInBreakpointsDialog, toString
public boolean isAddBreakpointButtonVisible()
XBreakpointType
true
from this method in order to allow adding breakpoints from the "Breakpoints" dialog. Also override
XBreakpointType.addBreakpoint(Project,JComponent)
method.isAddBreakpointButtonVisible
in class XBreakpointType<XLineBreakpoint<JavaFieldBreakpointProperties>,JavaFieldBreakpointProperties>
true
if "Add" button should be visible in "Breakpoints" dialogpublic javax.swing.Icon getEnabledIcon()
getEnabledIcon
in class XBreakpointType<XLineBreakpoint<JavaFieldBreakpointProperties>,JavaFieldBreakpointProperties>
public javax.swing.Icon getDisabledIcon()
getDisabledIcon
in class XBreakpointType<XLineBreakpoint<JavaFieldBreakpointProperties>,JavaFieldBreakpointProperties>
public javax.swing.Icon getSuspendNoneIcon()
public javax.swing.Icon getMutedEnabledIcon()
public javax.swing.Icon getMutedDisabledIcon()
public javax.swing.Icon getInactiveDependentIcon()
getInactiveDependentIcon
in class XBreakpointType<XLineBreakpoint<JavaFieldBreakpointProperties>,JavaFieldBreakpointProperties>
protected java.lang.String getHelpID()
public java.lang.String getDisplayName()
public java.lang.String getShortText(XLineBreakpoint<JavaFieldBreakpointProperties> breakpoint)
getShortText
in class XLineBreakpointType<JavaFieldBreakpointProperties>
public java.lang.String getText(XLineBreakpoint<JavaFieldBreakpointProperties> breakpoint)
public XBreakpointCustomPropertiesPanel<XLineBreakpoint<JavaFieldBreakpointProperties>> createCustomPropertiesPanel(Project project)
public JavaFieldBreakpointProperties createProperties()
createProperties
in class XBreakpointType<XLineBreakpoint<JavaFieldBreakpointProperties>,JavaFieldBreakpointProperties>
public JavaFieldBreakpointProperties createBreakpointProperties(VirtualFile file, int line)
XLineBreakpointType
XBreakpoint
instance and can be obtained by using XBreakpoint.getProperties()
methodcreateBreakpointProperties
in class XLineBreakpointType<JavaFieldBreakpointProperties>
public XLineBreakpoint<JavaFieldBreakpointProperties> addBreakpoint(Project project, javax.swing.JComponent parentComponent)
XBreakpointType
addBreakpoint
in class XBreakpointType<XLineBreakpoint<JavaFieldBreakpointProperties>,JavaFieldBreakpointProperties>
null
if breakpoint wasn't createdpublic Breakpoint<JavaFieldBreakpointProperties> createJavaBreakpoint(Project project, XBreakpoint breakpoint)
public boolean canBeHitInOtherPlaces()
XLineBreakpointType
canBeHitInOtherPlaces
in class XLineBreakpointType<JavaFieldBreakpointProperties>
public boolean canPutAt(VirtualFile file, int line, Project project)
XLineBreakpointType
true if breakpoint can be put on line
in file
canPutAt
in class XLineBreakpointType<JavaFieldBreakpointProperties>