Changeset 28174 in osm for applications/editors/josm/plugins/mirrored_download
- Timestamp:
- 2012-04-01T08:56:40+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/mirrored_download
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mirrored_download/build.xml
r28108 r28174 26 26 <!-- this is the directory where the plugin jar is copied to --> 27 27 <property name="plugin.dist.dir" value="${josm.basedir}/dist"/> 28 <property name="ant.build.javac.target" value="1. 5"/>28 <property name="ant.build.javac.target" value="1.6"/> 29 29 <property name="plugin.dist.dir" value="${josm.basedir}/dist"/> 30 30 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> -
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/MirroredDownloadAction.java
r28108 r28174 88 88 static class MirroredDownloadDialog extends DownloadDialog { 89 89 90 protected JComboBox <String>overpassType;90 protected JComboBox/*<String>*/ overpassType; 91 91 protected HistoryComboBox overpassQuery; 92 92 private static MirroredDownloadDialog instance; … … 108 108 @Override 109 109 protected void buildMainPanelAboveDownloadSelections(JPanel pnl) { 110 overpassType = new JComboBox <String>(new String[]{"*", "node", "way", "relation"});110 overpassType = new JComboBox/*<String>*/(new String[]{"*", "node", "way", "relation"}); 111 111 pnl.add(new JLabel(tr("Object type: ")), GBC.std().insets(5, 5, 5, 5)); 112 112 pnl.add(overpassType, GBC.eol().fill(GridBagConstraints.HORIZONTAL)); … … 124 124 125 125 public String getOverpassType() { 126 return overpassType.getItemAt(overpassType.getSelectedIndex()); 126 return (String)overpassType.getItemAt(overpassType.getSelectedIndex()); 127 127 } 128 128
Note:
See TracChangeset
for help on using the changeset viewer.