/** Sets a new CallStackFrame and updates node. */ void updateCallStackFrame(CallStackFrame stackFrame) { this.stackFrame = stackFrame; try { String s = stackFrame.getClassName() + '.' + stackFrame.getMethodName() + " : " + // NOI18N stackFrame.getLineNumber(); setDisplayName(s); setName(s); } catch (DebuggerException e) { String s = e.getMessage(); setDisplayName(s); setName(s); } changeChildren(); }
/** Performes initialization of this nodeS */ private void initialize() { try { String s = stackFrame.getClassName() + '.' + stackFrame.getMethodName() + " : " + // NOI18N stackFrame.getLineNumber(); setDisplayName(s); setName(s); } catch (DebuggerException e) { String s = e.getMessage(); setDisplayName(s); setName(s); } setIconBase(ICON_BASE); createProperties(); getCookieSet().add(this); changeChildren(); }