public abstract class BreakpointWithHighlighter<P extends JavaBreakpointProperties> extends Breakpoint<P>
LocatableEventRequestor.EventProcessingException
DATA_KEY, myCachedVerifiedState, myProject
Modifier | Constructor and Description |
---|---|
protected |
BreakpointWithHighlighter(Project project,
XBreakpoint xBreakpoint) |
Modifier and Type | Method and Description |
---|---|
void |
createRequest(DebugProcessImpl debugProcess)
Request for creating all needed JPDA requests in the specified VM
|
protected abstract void |
createRequestForPreparedClass(DebugProcessImpl debugProcess,
com.sun.jdi.ReferenceType classType) |
abstract Key<? extends BreakpointWithHighlighter> |
getCategory() |
java.lang.String |
getClassName() |
java.lang.String |
getDescription() |
protected abstract javax.swing.Icon |
getDisabledIcon(boolean isMuted) |
Document |
getDocument() |
protected java.lang.String |
getFileName() |
javax.swing.Icon |
getIcon() |
protected javax.swing.Icon |
getInvalidIcon(boolean isMuted) |
int |
getLineIndex() |
java.lang.String |
getPackageName() |
PsiClass |
getPsiClass() |
protected static PsiClass |
getPsiClassAt(SourcePosition sourcePosition) |
protected javax.swing.Icon |
getSetIcon(boolean isMuted) |
java.lang.String |
getShortClassName() |
SourcePosition |
getSourcePosition() |
protected javax.swing.Icon |
getValidatingIcon(boolean muted) |
protected abstract javax.swing.Icon |
getVerifiedIcon(boolean isMuted) |
protected abstract javax.swing.Icon |
getVerifiedWarningsIcon(boolean isMuted) |
BreakpointWithHighlighter |
init() |
boolean |
isAt(Document document,
int offset) |
protected boolean |
isMuted(DebugProcessImpl debugProcess) |
protected static boolean |
isPositionValid(XSourcePosition sourcePosition) |
boolean |
isValid() |
protected boolean |
isVisible() |
void |
processClassPrepare(DebugProcess debugProcess,
com.sun.jdi.ReferenceType classType)
Request for creating all needed JPDA requests in the specified VM
|
void |
readExternal(Element breakpointNode) |
void |
reload() |
protected void |
reload(PsiFile psiFile)
Deprecated.
|
void |
setVisible(boolean visible) |
java.lang.String |
toString() |
void |
updateUI()
updates the state of breakpoint and all the related UI widgets etc
|
addInstanceFilter, calculateEventClass, createOrWaitPrepare, createOrWaitPrepare, customizeRenderer, evaluateCondition, fireBreakpointChanged, getClassExclusionFilters, getClassFilters, getCondition, getCountFilter, getDisplayName, getEvaluationElement, getEventMessage, getInstanceFilters, getLogMessage, getProject, getProperties, getShortName, getStackTrace, getSuspendPolicy, getThisObject, getXBreakpoint, isClassFiltersEnabled, isConditionEnabled, isCountFilterEnabled, isEnabled, isInstanceFiltersEnabled, isLogEnabled, isLogExpressionEnabled, isLogStack, isObsolete, isRemoveAfterHit, isSuspend, markVerified, processLocatableEvent, setClassExclusionFilters, setClassFilters, setClassFiltersEnabled, setCondition, setCountFilter, setCountFilterEnabled, setEnabled, setInstanceFilters, setInstanceFiltersEnabled, setLogEnabled, setRemoveAfterHit, setSuspendPolicy, shouldCreateRequest, shouldCreateRequest, typeMatchesClassFilters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
track
protected BreakpointWithHighlighter(Project project, XBreakpoint xBreakpoint)
protected abstract void createRequestForPreparedClass(DebugProcessImpl debugProcess, com.sun.jdi.ReferenceType classType)
protected abstract javax.swing.Icon getDisabledIcon(boolean isMuted)
protected javax.swing.Icon getInvalidIcon(boolean isMuted)
protected javax.swing.Icon getSetIcon(boolean isMuted)
protected abstract javax.swing.Icon getVerifiedIcon(boolean isMuted)
protected abstract javax.swing.Icon getVerifiedWarningsIcon(boolean isMuted)
public javax.swing.Icon getIcon()
getIcon
in class Breakpoint<P extends JavaBreakpointProperties>
public java.lang.String getClassName()
getClassName
in class Breakpoint<P extends JavaBreakpointProperties>
public java.lang.String getShortClassName()
getShortClassName
in class Breakpoint<P extends JavaBreakpointProperties>
public java.lang.String getPackageName()
getPackageName
in class Breakpoint<P extends JavaBreakpointProperties>
public BreakpointWithHighlighter init()
protected javax.swing.Icon getValidatingIcon(boolean muted)
public boolean isValid()
isValid
in class Breakpoint<P extends JavaBreakpointProperties>
protected static boolean isPositionValid(XSourcePosition sourcePosition)
public SourcePosition getSourcePosition()
public java.lang.String getDescription()
public void reload()
reload
in class Breakpoint<P extends JavaBreakpointProperties>
public void createRequest(DebugProcessImpl debugProcess)
Breakpoint
createRequest
in class Breakpoint<P extends JavaBreakpointProperties>
debugProcess
- the requesting processprotected boolean isMuted(DebugProcessImpl debugProcess)
public void processClassPrepare(DebugProcess debugProcess, com.sun.jdi.ReferenceType classType)
Breakpoint
processClassPrepare
in interface ClassPrepareRequestor
processClassPrepare
in class Breakpoint<P extends JavaBreakpointProperties>
debugProcess
- the requesting processpublic final void updateUI()
updateUI
in class Breakpoint<P extends JavaBreakpointProperties>
public boolean isAt(Document document, int offset)
@Deprecated protected void reload(PsiFile psiFile)
public PsiClass getPsiClass()
getPsiClass
in class Breakpoint<P extends JavaBreakpointProperties>
protected static PsiClass getPsiClassAt(SourcePosition sourcePosition)
public abstract Key<? extends BreakpointWithHighlighter> getCategory()
getCategory
in class Breakpoint<P extends JavaBreakpointProperties>
protected boolean isVisible()
public void setVisible(boolean visible)
public Document getDocument()
public int getLineIndex()
protected java.lang.String getFileName()
public void readExternal(Element breakpointNode) throws InvalidDataException
readExternal
in class Breakpoint<P extends JavaBreakpointProperties>
InvalidDataException
public java.lang.String toString()
toString
in class java.lang.Object