Changeset 4849 in josm
- Timestamp:
- 2012-01-22T16:43:34+01:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapFrame.java
r4846 r4849 196 196 addToggleDialog(new CommandStackDialog(this)); 197 197 addToggleDialog(new UserListDialog()); 198 addToggleDialog(new HistoryDialog() );198 addToggleDialog(new HistoryDialog(), true); 199 199 addToggleDialog(conflictDialog = new ConflictDialog()); 200 200 addToggleDialog(validatorDialog = new ValidatorDialog()); 201 201 addToggleDialog(filterDialog = new FilterDialog()); 202 addToggleDialog(new ChangesetDialog(this) );202 addToggleDialog(new ChangesetDialog(this), true); 203 203 addToggleDialog(new MapPaintDialog()); 204 204 … … 264 264 } 265 265 266 public IconToggleButton addToggleDialog(final ToggleDialog dlg) { 267 return addToggleDialog(dlg, false); 268 } 269 266 270 /** 267 271 * Call this to add new toggle dialogs to the left button-list 268 272 * @param dlg The toggle dialog. It must not be in the list already. 269 273 */ 270 public IconToggleButton addToggleDialog(final ToggleDialog dlg ) {271 final IconToggleButton button = new IconToggleButton(dlg.getToggleAction() );274 public IconToggleButton addToggleDialog(final ToggleDialog dlg, boolean isExpert) { 275 final IconToggleButton button = new IconToggleButton(dlg.getToggleAction(), isExpert); 272 276 button.setShowHideButtonListener(dlg); 273 277 addHideContextMenu(button); -
trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
r4203 r4849 13 13 * 14 14 * BTW: THIS IS A STUB. See comments below for details. 15 * 16 * Don't write (Main.platform instanceof PlatformHookUnixoid) because other platform 17 * hooks are subclasses of this class. 15 18 */ 16 19 public class PlatformHookUnixoid implements PlatformHook {
Note:
See TracChangeset
for help on using the changeset viewer.