* icon.
*/
protected Image getBreakpointImage(PHPConditionalBreakpoint breakpoint) {
try {
if (breakpoint.isConditionEnabled()) {
PHPBreakpointImageDescriptor descriptor;
if (breakpoint.isEnabled()) {
descriptor = new PHPBreakpointImageDescriptor(
DebugUITools
.getImageDescriptor(IDebugUIConstants.IMG_OBJS_BREAKPOINT),
PHPBreakpointImageDescriptor.CONDITIONAL
| PHPBreakpointImageDescriptor.ENABLED);
} else {
descriptor = new PHPBreakpointImageDescriptor(
DebugUITools
.getImageDescriptor(IDebugUIConstants.IMG_OBJS_BREAKPOINT_DISABLED),
PHPBreakpointImageDescriptor.CONDITIONAL);
}
return getDebugImageRegistry().get(descriptor);