@Override public void panelDeactivated() { Logger.getLogger(OscillogramNavigatorPanel.class.getName()).log(Level.INFO, "pd"); this.result.removeLookupListener(this); this.result = null; ExplorerUtils.activateActions(manager, false); }
@Override public void panelActivated(Lookup lkp) { Logger.getLogger(OscillogramNavigatorPanel.class.getName()).log(Level.INFO, "pa"); this.result = Utilities.actionsGlobalContext().lookupResult(ChannelList.class); this.result.addLookupListener(this); ExplorerUtils.activateActions(manager, true); resultChanged(new LookupEvent(result)); }