}
if (selectedEditPart != null) {
lastSelectedEditPart = selectedEditPart;
}
} else if (firstElement instanceof CamelStackFrame) {
CamelStackFrame stackFrame = (CamelStackFrame)firstElement;
highlightBreakpointNodeWithID(stackFrame.getEndpointId());
} else if (firstElement instanceof CamelThread) {
CamelThread t = (CamelThread)firstElement;
try {
CamelStackFrame stackFrame = (CamelStackFrame)t.getTopStackFrame();
if (stackFrame != null) {
highlightBreakpointNodeWithID(stackFrame.getEndpointId());
}
} catch (DebugException e) {
Activator.getLogger().error(e);
}
}