Ignore:
Timestamp:
2013-12-07T20:30:09+01:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] update against recent core changes

Location:
applications/editors/josm/plugins
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/photo_geotagging/build.xml

    r29854 r30110  
    55    <property name="commit.message" value="write elevation to EXIF (see josm #7710)"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6162"/>
     7    <property name="plugin.main.version" value="6450"/>
    88
    99    <property name="plugin.author" value="Paul Hartmann"/>
  • applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java

    r28398 r30110  
    6666             /* Only write lat/lon to the file, if the position is known and
    6767                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()) {
    6969                images.add(e);
    7070            }
     
    372372    private boolean enabled(GeoImageLayer layer) {
    373373        for (ImageEntry e : layer.getImages()) {
    374             if (e.getPos() != null && e.getGpsTime() != null)
     374            if (e.getPos() != null && e.hasGpsTime())
    375375                return true;
    376376        }
  • applications/editors/josm/plugins/tageditor/build.xml

    r30070 r30110  
    22<project name="tageditor" default="dist" basedir=".">
    33    <property name="commit.message" value="Tageditor:  help shortcut parser, rebuild"/>
    4     <property name="plugin.main.version" value="6316"/>
     4    <property name="plugin.main.version" value="6437"/>
    55   
    66        <property name="plugin.author" value="Karl Guggisberg"/>
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/ac/AutoCompletionListRenderer.java

    r23189 r30110  
    1212import javax.swing.table.TableCellRenderer;
    1313import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem;
    14 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPritority;
     14import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPriority;
    1515import static org.openstreetmap.josm.tools.I18n.tr;
    1616
     
    2525
    2626    /** the icon used to decorate items of priority
    27      *  {@link AutoCompletionItemPritority#IS_IN_STANDARD}
     27     *  {@link AutoCompletionItemPriority#IS_IN_STANDARD}
    2828     */
    2929    private Icon iconStandard;
    3030
    3131    /** the icon used to decorate items of priority
    32      *  {@link AutoCompletionItemPritority#IS_IN_SELECTION}
     32     *  {@link AutoCompletionItemPriority#IS_IN_SELECTION}
    3333     */
    3434    private Icon iconSelection;
     
    6969     */
    7070    protected void prepareRendererIcon(AutoCompletionListItem item) {
    71         if (item.getPriority().equals(AutoCompletionItemPritority.IS_IN_STANDARD)) {
     71        if (item.getPriority().equals(AutoCompletionItemPriority.IS_IN_STANDARD)) {
    7272            if (iconStandard != null) {
    7373                setIcon(iconStandard);
    7474            }
    75         } else if (item.getPriority().equals(AutoCompletionItemPritority.IS_IN_SELECTION)) {
     75        } else if (item.getPriority().equals(AutoCompletionItemPriority.IS_IN_SELECTION)) {
    7676            if (iconSelection != null) {
    7777                setIcon(iconSelection);
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/TagSpecificationAwareTagCellEditor.java

    r26509 r30110  
    77import org.openstreetmap.josm.gui.tagging.TagModel;
    88import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem;
    9 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPritority;
     9import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPriority;
    1010import org.openstreetmap.josm.plugins.tageditor.ac.AutoCompletionContext;
    1111import org.openstreetmap.josm.plugins.tageditor.tagspec.TagSpecifications;
     
    9494                //logger.info("adding ac item " + value + " with priority IN_SELECTION");;
    9595                autoCompletionList.add(
    96                         new AutoCompletionListItem(value, AutoCompletionItemPritority.IS_IN_SELECTION)
     96                        new AutoCompletionListItem(value, AutoCompletionItemPriority.IS_IN_SELECTION)
    9797                );
    9898            }
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/tagspec/TagSpecifications.java

    r26509 r30110  
    1111import java.util.logging.Logger;
    1212
    13 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPritority;
     13import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPriority;
    1414import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem;
    1515import org.openstreetmap.josm.plugins.tageditor.ac.AutoCompletionContext;
     
    131131            AutoCompletionListItem item = new AutoCompletionListItem();
    132132            item.setValue(spec.getKey());
    133             item.setPriority(AutoCompletionItemPritority.IS_IN_STANDARD);
     133            item.setPriority(AutoCompletionItemPriority.IS_IN_STANDARD);
    134134            keys.add(item);
    135135        }
     
    148148                    AutoCompletionListItem item = new AutoCompletionListItem();
    149149                    item.setValue(l.getValue());
    150                     item.setPriority(AutoCompletionItemPritority.IS_IN_STANDARD);
     150                    item.setPriority(AutoCompletionItemPriority.IS_IN_STANDARD);
    151151                    items.add(item);
    152152                }
  • applications/editors/josm/plugins/turnrestrictions/build.xml

    r30034 r30110  
    44    <property name="commit.message" value="Adapt to JOSM core change (DefaultNameFormatter)"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6340"/>
     6    <property name="plugin.main.version" value="6437"/>
    77
    88    <property name="test.build.dir" value="test/build"/>
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/MemberRoleCellEditor.java

    r29854 r30110  
    99
    1010import org.openstreetmap.josm.gui.tagging.ac.AutoCompletingTextField;
    11 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPritority;
     11import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionItemPriority;
    1212import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList;
    1313import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem;
     
    3232        autoCompletionList = new AutoCompletionList();
    3333        editor.setAutoCompletionList(autoCompletionList);
    34         autoCompletionList.add(new AutoCompletionListItem("from", AutoCompletionItemPritority.IS_IN_STANDARD));
    35         autoCompletionList.add(new AutoCompletionListItem("to", AutoCompletionItemPritority.IS_IN_STANDARD));
    36         autoCompletionList.add(new AutoCompletionListItem("via", AutoCompletionItemPritority.IS_IN_STANDARD));
    37         autoCompletionList.add(new AutoCompletionListItem("location_hint", AutoCompletionItemPritority.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));
    3838    }
    3939
Note: See TracChangeset for help on using the changeset viewer.