PictogramElement _pe = cc.getPictogramElements()[0] instanceof Connection ? ((Connection) cc.getPictogramElements()[0])
.getStart().getParent() : cc.getPictogramElements()[0];
final Object bo = getBusinessObjectForPictogramElement(_pe);
if (bo instanceof AbstractNode) {
AbstractNode _ep = (AbstractNode) bo;
IFile contextFile = getContextFile();
String fileName = contextFile.getName();
String projectName = contextFile.getProject().getName();
if (_ep.supportsBreakpoint()) {
IBreakpoint bp = CamelDebugUtils.getBreakpointForSelection(_ep.getId(), fileName, projectName);
try {
return bp != null && bp.isEnabled();
} catch (CoreException ex) {
Activator.getLogger().error(ex);
}