Changeset 35499 in osm for applications/editors
- Timestamp:
- 2020-06-29T11:30:41+02:00 (5 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadDataGui.java
r35221 r35499 111 111 initTitleAndDescriptionFromGpxData(gpxData); // this is changing some dialog elements, so it (probably) must be before the following 112 112 setContent(content); 113 setButtonIcons(new String[] { "uploadtrace .png", "cancel.png" });113 setButtonIcons(new String[] { "uploadtrace", "cancel" }); 114 114 setupDialog(); 115 115 -
applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawConfigDialog.java
r34948 r35499 107 107 108 108 setContent(all, false); 109 setButtonIcons(new String[] {"ok .png", "cancel.png"});109 setButtonIcons(new String[] {"ok", "cancel"}); 110 110 setToolTipTexts(new String[] { 111 111 tr("Save settings"), -
applications/editors/josm/plugins/ext_tools/src/ext_tools/preferences/EditToolDialog.java
r34988 r35499 48 48 true); 49 49 contentInsets = new Insets(15, 15, 5, 15); 50 setButtonIcons("ok .png", "cancel.png");50 setButtonIcons("ok", "cancel"); 51 51 52 52 this.tool = tool; -
applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/ImportDialog.java
r34520 r35499 26 26 true); 27 27 contentInsets = new Insets(15, 15, 5, 15); 28 setButtonIcons(new String[] { "ok.png", "cancel.png" }); 29 28 setButtonIcons(new String[] { "ok", "cancel" }); 30 29 31 30 final JPanel panel = new JPanel(new GridBagLayout()); … … 37 36 pscale.add(new JLabel(tr("m")),GBC.std().insets(10, 0, 0, 0)); 38 37 panel.add(pscale,GBC.eop().fill(GBC.HORIZONTAL)); 39 38 40 39 final JLabel label = new JLabel("Curve steps:"); 41 40 panel.add(label, GBC.std()); 42 41 label.setLabelFor(tsteps); 43 42 panel.add(tsteps, GBC.eol().fill(GBC.HORIZONTAL)); 44 43 45 44 tsnum.setValue(Settings.getScaleNumerator()); 46 45 tsdiv.setValue(Settings.getScaleDivisor()); … … 51 50 setVisible(true); 52 51 } 53 52 54 53 public double getScaleNumerator() { 55 54 try { … … 59 58 } 60 59 } 61 60 62 61 public double getScaleDivisor() { 63 62 try { … … 82 81 } 83 82 84 83 85 84 public void saveSettings() { 86 85 Settings.setScaleNumerator(getScaleNumerator()); -
applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java
r35426 r35499 135 135 tr("Photo Geotagging Plugin"), 136 136 new String[] {tr("OK"), tr("Cancel")}) 137 .setButtonIcons(new String[] {"ok .png", "cancel.png"})137 .setButtonIcons(new String[] {"ok", "cancel"}) 138 138 .setContent(cont) 139 139 .setCancelButton(2) … … 361 361 tr("Override old backup files?"), 362 362 new String[] {tr("Cancel"), tr("Keep old backups and continue"), tr("Override")}) 363 .setButtonIcons(new String[] {"cancel .png", "ok.png", "dialogs/delete.png"})363 .setButtonIcons(new String[] {"cancel", "ok", "dialogs/delete"}) 364 364 .setContent(l) 365 365 .setCancelButton(1) -
applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdQuery.java
r35496 r35499 104 104 public void setupDialog() { 105 105 setContent(panel, false); 106 setButtonIcons("ok .png", "cancel.svg");106 setButtonIcons("ok", "cancel"); 107 107 setDefaultButton(1); 108 108 -
applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignInputDialog.java
r35260 r35499 117 117 this.signs = RoadSignsPlugin.signs; 118 118 sel = new SignSelection(); 119 setButtonIcons("ok .png", "cancel.png");119 setButtonIcons("ok", "cancel"); 120 120 final JTabbedPane tabs = new JTabbedPane(); 121 121 tabs.add(tr("signs"), buildSignsPanel()); -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsDiskAccessAction.java
r34470 r35499 67 67 ); 68 68 dialog.setContent(tr("File exists. Overwrite?")); 69 dialog.setButtonIcons(new String[] {"save_as .png", "cancel.png"});69 dialog.setButtonIcons(new String[] {"save_as", "cancel"}); 70 70 dialog.showDialog(); 71 71 if (dialog.getValue() != 1) … … 126 126 ); 127 127 dialog.setContent(tr("File exists. Overwrite?")); 128 dialog.setButtonIcons(new String[] {"save_as .png", "cancel.png"});128 dialog.setButtonIcons(new String[] {"save_as", "cancel"}); 129 129 dialog.showDialog(); 130 130 return (dialog.getValue() == 1); -
applications/editors/josm/plugins/terracer/src/org/openstreetmap/josm/plugins/terracer/HouseNumberInputDialog.java
r34584 r35499 108 108 JPanel content = getInputPanel(); 109 109 setContent(content); 110 setButtonIcons(new String[] {"ok .png", "cancel.png" });110 setButtonIcons(new String[] {"ok", "cancel" }); 111 111 getJContentPane(); 112 112 initialize(); -
applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences/ServerParamDialog.java
r34564 r35499 121 121 122 122 contentInsets = new Insets(15, 15, 5, 15); 123 setButtonIcons(new String[] {"ok .png", "cancel.png"});123 setButtonIcons(new String[] {"ok", "cancel"}); 124 124 125 125 m_oTileSize = new JComboBox<>(m_astrTileSize); -
applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteDialog.java
r34871 r35499 56 56 all.add(layer, gc); 57 57 setContent(all, false); 58 setButtonIcons("undelete .png", "cancel.png");58 setButtonIcons("undelete", "cancel"); 59 59 setToolTipTexts(tr("Start undeleting"), tr("Close dialog and cancel")); 60 60 setDefaultButton(1);
Note:
See TracChangeset
for help on using the changeset viewer.