Changeset 30614 in osm for applications/editors/josm/plugins/terracer/src
- Timestamp:
- 2014-08-31T02:57:28+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/terracer/src/terracer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputDialog.java
r30613 r30614 117 117 setupDialog(); 118 118 getRootPane().setDefaultButton(defaultButton); 119 setVisible(true);120 lo.requestFocus ();119 pack(); 120 lo.requestFocusInWindow(); 121 121 } 122 122 -
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputHandler.java
r30613 r30614 48 48 private final Way outline, street; 49 49 private final String streetName; 50 private final String buildingType;51 50 private final Node init; 52 51 private final Relation associatedStreet; … … 78 77 this.street = street; 79 78 this.streetName = streetName; 80 this.buildingType = buildingType;81 79 this.associatedStreet = associatedStreet; 82 80 this.housenumbers = housenumbers; 83 81 84 // This dialog is started modal85 82 this.dialog = new HouseNumberInputDialog(this, street, streetName, buildingType, 86 83 associatedStreet != null, housenumbers); 87 88 // We're done89 84 } 90 85 -
applications/editors/josm/plugins/terracer/src/terracer/TerracerAction.java
r30613 r30614 232 232 // show input dialog. 233 233 new HouseNumberInputHandler(this, outline, init, street, streetname, outline.get("building"), 234 associatedStreet, housenumbers, title) ;234 associatedStreet, housenumbers, title).dialog.showDialog(); 235 235 } 236 236 }
Note:
See TracChangeset
for help on using the changeset viewer.