Changeset 30110 in osm for applications/editors/josm
- Timestamp:
- 2013-12-07T20:30:09+01:00 (11 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photo_geotagging/build.xml
r29854 r30110 5 5 <property name="commit.message" value="write elevation to EXIF (see josm #7710)"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 162"/>7 <property name="plugin.main.version" value="6450"/> 8 8 9 9 <property name="plugin.author" value="Paul Hartmann"/> -
applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java
r28398 r30110 66 66 /* Only write lat/lon to the file, if the position is known and 67 67 we have a time from the correlation to the gpx track. */ 68 if (e.getPos() != null && e. getGpsTime() != null) {68 if (e.getPos() != null && e.hasGpsTime()) { 69 69 images.add(e); 70 70 } … … 372 372 private boolean enabled(GeoImageLayer layer) { 373 373 for (ImageEntry e : layer.getImages()) { 374 if (e.getPos() != null && e. getGpsTime() != null)374 if (e.getPos() != null && e.hasGpsTime()) 375 375 return true; 376 376 } -
applications/editors/josm/plugins/tageditor/build.xml
r30070 r30110 2 2 <project name="tageditor" default="dist" basedir="."> 3 3 <property name="commit.message" value="Tageditor: help shortcut parser, rebuild"/> 4 <property name="plugin.main.version" value="6 316"/>4 <property name="plugin.main.version" value="6437"/> 5 5 6 6 <property name="plugin.author" value="Karl Guggisberg"/> -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/ac/AutoCompletionListRenderer.java
r23189 r30110 12 12 import javax.swing.table.TableCellRenderer; 13 13 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem; 14 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPri tority;14 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPriority; 15 15 import static org.openstreetmap.josm.tools.I18n.tr; 16 16 … … 25 25 26 26 /** the icon used to decorate items of priority 27 * {@link AutoCompletionItemPri tority#IS_IN_STANDARD}27 * {@link AutoCompletionItemPriority#IS_IN_STANDARD} 28 28 */ 29 29 private Icon iconStandard; 30 30 31 31 /** the icon used to decorate items of priority 32 * {@link AutoCompletionItemPri tority#IS_IN_SELECTION}32 * {@link AutoCompletionItemPriority#IS_IN_SELECTION} 33 33 */ 34 34 private Icon iconSelection; … … 69 69 */ 70 70 protected void prepareRendererIcon(AutoCompletionListItem item) { 71 if (item.getPriority().equals(AutoCompletionItemPri tority.IS_IN_STANDARD)) {71 if (item.getPriority().equals(AutoCompletionItemPriority.IS_IN_STANDARD)) { 72 72 if (iconStandard != null) { 73 73 setIcon(iconStandard); 74 74 } 75 } else if (item.getPriority().equals(AutoCompletionItemPri tority.IS_IN_SELECTION)) {75 } else if (item.getPriority().equals(AutoCompletionItemPriority.IS_IN_SELECTION)) { 76 76 if (iconSelection != null) { 77 77 setIcon(iconSelection); -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/TagSpecificationAwareTagCellEditor.java
r26509 r30110 7 7 import org.openstreetmap.josm.gui.tagging.TagModel; 8 8 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem; 9 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPri tority;9 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPriority; 10 10 import org.openstreetmap.josm.plugins.tageditor.ac.AutoCompletionContext; 11 11 import org.openstreetmap.josm.plugins.tageditor.tagspec.TagSpecifications; … … 94 94 //logger.info("adding ac item " + value + " with priority IN_SELECTION");; 95 95 autoCompletionList.add( 96 new AutoCompletionListItem(value, AutoCompletionItemPri tority.IS_IN_SELECTION)96 new AutoCompletionListItem(value, AutoCompletionItemPriority.IS_IN_SELECTION) 97 97 ); 98 98 } -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/tagspec/TagSpecifications.java
r26509 r30110 11 11 import java.util.logging.Logger; 12 12 13 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPri tority;13 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPriority; 14 14 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem; 15 15 import org.openstreetmap.josm.plugins.tageditor.ac.AutoCompletionContext; … … 131 131 AutoCompletionListItem item = new AutoCompletionListItem(); 132 132 item.setValue(spec.getKey()); 133 item.setPriority(AutoCompletionItemPri tority.IS_IN_STANDARD);133 item.setPriority(AutoCompletionItemPriority.IS_IN_STANDARD); 134 134 keys.add(item); 135 135 } … … 148 148 AutoCompletionListItem item = new AutoCompletionListItem(); 149 149 item.setValue(l.getValue()); 150 item.setPriority(AutoCompletionItemPri tority.IS_IN_STANDARD);150 item.setPriority(AutoCompletionItemPriority.IS_IN_STANDARD); 151 151 items.add(item); 152 152 } -
applications/editors/josm/plugins/turnrestrictions/build.xml
r30034 r30110 4 4 <property name="commit.message" value="Adapt to JOSM core change (DefaultNameFormatter)"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 340"/>6 <property name="plugin.main.version" value="6437"/> 7 7 8 8 <property name="test.build.dir" value="test/build"/> -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/MemberRoleCellEditor.java
r29854 r30110 9 9 10 10 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletingTextField; 11 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPri tority;11 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPriority; 12 12 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList; 13 13 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem; … … 32 32 autoCompletionList = new AutoCompletionList(); 33 33 editor.setAutoCompletionList(autoCompletionList); 34 autoCompletionList.add(new AutoCompletionListItem("from", AutoCompletionItemPri tority.IS_IN_STANDARD));35 autoCompletionList.add(new AutoCompletionListItem("to", AutoCompletionItemPri tority.IS_IN_STANDARD));36 autoCompletionList.add(new AutoCompletionListItem("via", AutoCompletionItemPri tority.IS_IN_STANDARD));37 autoCompletionList.add(new AutoCompletionListItem("location_hint", AutoCompletionItemPri tority.IS_IN_STANDARD));34 autoCompletionList.add(new AutoCompletionListItem("from", AutoCompletionItemPriority.IS_IN_STANDARD)); 35 autoCompletionList.add(new AutoCompletionListItem("to", AutoCompletionItemPriority.IS_IN_STANDARD)); 36 autoCompletionList.add(new AutoCompletionListItem("via", AutoCompletionItemPriority.IS_IN_STANDARD)); 37 autoCompletionList.add(new AutoCompletionListItem("location_hint", AutoCompletionItemPriority.IS_IN_STANDARD)); 38 38 } 39 39
Note:
See TracChangeset
for help on using the changeset viewer.