Gets the paths of currently open set and tabs. @return the open paths
()
| 2136 | * @return the open paths |
| 2137 | */ |
| 2138 | protected Set<String> getOpenPaths() { |
| 2139 | openPaths.clear(); |
| 2140 | openPaths.add(tabSetName); |
| 2141 | for (int i = 0; i < tabbedPane.getTabCount(); i++) { |
| 2142 | LaunchPanel panel = (LaunchPanel) tabbedPane.getComponentAt(i); |
| 2143 | LaunchNode[] nodes = panel.getRootNode().getAllOwnedNodes(); |
| 2144 | for (int j = 0; j < nodes.length; j++) { |
| 2145 | openPaths.add(nodes[j].getFileName()); |
| 2146 | } |
| 2147 | openPaths.add(panel.getRootNode().getFileName()); |
| 2148 | } |
| 2149 | return openPaths; |
| 2150 | } |
| 2151 | |
| 2152 | /** |
| 2153 | * Sets the look and feel. |
no test coverage detected