public void itemStateChanged(ItemEvent e) { if (!myIsEnabled) return; if (e.getStateChange() == ItemEvent.SELECTED) { ThreadDescriptorImpl item = (ThreadDescriptorImpl) e.getItem(); DebuggerContextUtil.setThread(getContextManager(), item); } }
private void processListValue(final Object selected) { if (selected instanceof StackFrameDescriptorImpl) { DebuggerContextUtil.setStackFrame( getContextManager(), ((StackFrameDescriptorImpl) selected).getFrameProxy()); } }