public void register(final PTWindow window) { if (log.isLoggable(Level.INFO)) log.log(Level.INFO, "Register window : " + window.getObjectID()); windows.put(window.getObjectID(), window); }
void unregister(final PTWindow window) { windows.remove(window.getObjectID()); }
public static final void closeAll() { final Collection<PTWindow> values = new ArrayList<>(get().windows.values()); for (final PTWindow window : values) { window.close(true); } }