/** * @param zooInspectorManager * - the {@link ZooInspectorManager} for the application * @param nodeVeiwers * - the {@link ZooInspectorNodeViewer}s to show */ public ZooInspectorNodeViewersPanel( ZooInspectorNodeManager zooInspectorManager, List<ZooInspectorNodeViewer> nodeVeiwers) { this.zooInspectorManager = zooInspectorManager; this.setLayout(new BorderLayout()); tabbedPane = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); setNodeViewers(nodeVeiwers); tabbedPane.addChangeListener(this); this.add(tabbedPane, BorderLayout.CENTER); reloadSelectedViewer(); }
@Override public void setZooInspectorManager( ZooInspectorNodeManager zooInspectorManager) { this.zooInspectorManager = zooInspectorManager; }