Changeset 8540 in josm for trunk/src/org/openstreetmap/josm/gui/widgets
- Timestamp:
- 2015-06-27T21:43:35+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/FileChooserManager.java
r8512 r8540 49 49 } 50 50 51 // CHECKSTYLE.OFF: LineLength 52 51 53 /** 52 54 * Creates a new {@code FileChooserManager}. … … 75 77 : Main.pref.get(this.lastDirProperty); 76 78 } 79 80 // CHECKSTYLE.ON: LineLength 77 81 78 82 /** -
trunk/src/org/openstreetmap/josm/gui/widgets/NativeFileChooser.java
r7937 r8540 107 107 @Override 108 108 public void setFileSelectionMode(int selectionMode) { 109 // CHECKSTYLE.OFF: LineLength 109 110 // TODO implement this after Oracle fixes JDK-6192906 / JDK-6699863 / JDK-6927978 / JDK-7125172: 110 111 // https://bugs.openjdk.java.net/browse/JDK-6192906 : Add more features to java.awt.FileDialog … … 116 117 // http://stackoverflow.com/questions/1224714/how-can-i-make-a-java-filedialog-accept-directories-as-its-filetype-in-os-x/1224744#1224744 117 118 // https://bugs.openjdk.java.net/browse/JDK-7161437 : [macosx] awt.FileDialog doesn't respond appropriately for mac when selecting folders 119 // CHECKSTYLE.ON: LineLength 118 120 this.selectionMode = selectionMode; 119 121 } … … 164 166 switch (selectionMode) { 165 167 case JFileChooser.FILES_AND_DIRECTORIES: 168 // CHECKSTYLE.OFF: LineLength 166 169 // https://bugs.openjdk.java.net/browse/JDK-7125172 : FileDialog objects don't allow directory AND files selection simultaneously 167 170 return false; 168 171 case JFileChooser.DIRECTORIES_ONLY: 169 172 // http://stackoverflow.com/questions/1224714/how-can-i-make-a-java-filedialog-accept-directories-as-its-filetype-in-os-x/1224744#1224744 173 // CHECKSTYLE.ON: LineLength 170 174 return Main.isPlatformOsx(); 171 175 case JFileChooser.FILES_ONLY:
Note:
See TracChangeset
for help on using the changeset viewer.