/** * Replies the instance of a toggle dialog of type <code>type</code> managed by this map frame * * @param <T> * @param type the class of the toggle dialog, i.e. UserListDialog.class * @return the instance of a toggle dialog of type <code>type</code> managed by this map frame; * null, if no such dialog exists */ public <T> T getToggleDialog(Class<T> type) { return dialogsPanel.getToggleDialog(type); }