protected TopComponent.Registry componentRegistry() { TopComponent.Registry reg = super.componentRegistry(); if (reg != null) { return reg; } else { return registry(); } }
protected TopComponent.Registry componentRegistry() { TopComponent.Registry reg = super.componentRegistry(); if (reg != null) { return reg; } else { return registry(); } }
protected void topComponentActivatedNodesChanged(TopComponent tc, Node[] nodes) { registry().setActivatedNodes(tc, nodes); }
protected void topComponentActivatedNodesChanged(TopComponent tc, Node[] nodes) { registry().setActivatedNodes(tc, nodes); }
protected void topComponentClose(TopComponent tc) { componentHidden(tc); componentCloseNotify(tc); JFrame f = (JFrame)SwingUtilities.getAncestorOfClass(JFrame.class, tc); if (f != null) { f.setVisible(false); tc.getParent ().remove (tc); } registry().close(tc); java.util.Iterator it = workspaces.values ().iterator (); while (it.hasNext ()) { W w = (W)it.next (); w.close (tc); } }
protected void topComponentClose(TopComponent tc) { componentHidden(tc); componentCloseNotify(tc); JFrame f = (JFrame)SwingUtilities.getAncestorOfClass(JFrame.class, tc); if (f != null) { f.setVisible(false); tc.getParent ().remove (tc); } registry().close(tc); java.util.Iterator it = workspaces.values ().iterator (); while (it.hasNext ()) { W w = (W)it.next (); w.close (tc); } }
protected void topComponentRequestActive(TopComponent tc) { JFrame f = (JFrame)SwingUtilities.getAncestorOfClass(JFrame.class, tc); if(f != null) { f.toFront(); } registry().setActive(tc); activateComponent(tc); }
protected void topComponentRequestActive(TopComponent tc) { JFrame f = (JFrame)SwingUtilities.getAncestorOfClass(JFrame.class, tc); if(f != null) { f.toFront(); } registry().setActive(tc); activateComponent(tc); }
componentShowing(tc); f.setVisible(true); registry().open(tc);
componentShowing(tc); f.setVisible(true); registry().open(tc);