Changeset 34179 in osm for applications/editors/josm/plugins/indoorhelper/src/controller/IndoorHelperController.java
- Timestamp:
- 2018-05-03T16:22:29+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/indoorhelper/src/controller/IndoorHelperController.java
r34135 r34179 183 183 // collecting all tags 184 184 List<Tag> tags = new ArrayList<>(); 185 if (toolboxView.getLevelCheckBoxStatus() == false&& !levelValue.equals("")) {185 if (!toolboxView.getLevelCheckBoxStatus() && !levelValue.equals("")) { 186 186 tags.add(new Tag("level", levelValue)); 187 187 } 188 188 if (!toolboxView.getLevelNameText().isEmpty() && !toolboxView.getLevelCheckBoxStatus()) { 189 189 tags.add(new Tag("level_name", toolboxView.getLevelNameText())); 190 190 } 191 191 if (!toolboxView.getNameText().isEmpty()) { 192 192 tags.add(new Tag("name", toolboxView.getNameText())); … … 196 196 } 197 197 if (!toolboxView.getRepeatOnText().isEmpty()) { 198 199 200 201 202 198 tags.add(new Tag("repeat_on", toolboxView.getRepeatOnText())); 199 } 200 if (!toolboxView.getLevelNameText().isEmpty() && !toolboxView.getLevelCheckBoxStatus()) { 201 tags.add(new Tag("level_name", toolboxView.getLevelNameText())); 202 } 203 203 204 204 // Tagging to OSM Data 205 205 model.addTagsToOSM(indoorObject, tags); 206 206 207 // Reset uielements207 // Reset UI elements 208 208 toolboxView.resetUiElements(); 209 209
Note:
See TracChangeset
for help on using the changeset viewer.