Changeset 3016 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
- Timestamp:
- 18.02.2010 20:52:48 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r2969 r3016 187 187 188 188 /** 189 * Changes the state of the dialog such that the user can see the content 190 * and takes care of the panel reconstruction. 191 */ 192 public void unfurlDialog() 193 { 194 if (isDialogInDefaultView()) 195 return; 196 if (isDialogInCollapsedView()) { 197 expand(); 198 dialogsPanel.reconstruct(Action.COLLAPSED_TO_DEFAULT, this); 199 } else if (!isDialogShowing()) { 200 showDialog(); 201 if (isDocked && isCollapsed) { 202 expand(); 203 } 204 if (isDocked) { 205 dialogsPanel.reconstruct(Action.INVISIBLE_TO_DEFAULT, this); 206 } 207 } 208 } 209 210 /** 189 211 * Hides the dialog 190 212 */ … … 343 365 @Override 344 366 public void mouseClicked(MouseEvent e) { 345 // toggleExpandedState ();367 // toggleExpandedState 346 368 if (isCollapsed) { 347 369 expand();
Note: See TracChangeset
for help on using the changeset viewer.
