Changeset 16848 in osm


Ignore:
Timestamp:
2009-08-04T17:02:45+02:00 (16 years ago)
Author:
guggis
Message:

${commit.message}

Location:
applications/editors/josm/plugins/tageditor
Files:
5 edited

Legend:

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

    r16844 r16848  
    8585                <attribute name="Plugin-Description" value="Provides a dialog for editing tags in a tabular grid."/>
    8686                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/TagEditor"/>
    87                 <attribute name="Plugin-Mainversion" value="1815"/>
     87                <attribute name="Plugin-Mainversion" value="1900"/>
    8888                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    8989            </manifest>
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/ac/AutoCompletionCache.java

    r16574 r16848  
    11package org.openstreetmap.josm.plugins.tageditor.ac;
     2
     3import static org.openstreetmap.josm.plugins.tageditor.josm.CompatibilityUtil.getCurrentDataSet;
    24
    35import java.util.ArrayList;
     
    68import java.util.List;
    79
    8 import org.openstreetmap.josm.Main;
    910import org.openstreetmap.josm.data.osm.OsmPrimitive;
    10 import static org.openstreetmap.josm.plugins.tageditor.josm.CompatibilityUtil.getCurrentDataSet;
    1111/**
    1212 * AutoCompletionCache temporarily holds a cache of keys with a list of
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/ac/AutoCompletionContext.java

    r16574 r16848  
    11package org.openstreetmap.josm.plugins.tageditor.ac;
    22
    3 import org.openstreetmap.josm.Main;
    43import static org.openstreetmap.josm.plugins.tageditor.josm.CompatibilityUtil.getCurrentDataSet;
    54
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/ac/AutoCompletionListViewer.java

    r14324 r16848  
    55import java.awt.Color;
    66import java.awt.Dimension;
    7 import java.awt.event.KeyListener;
    87import java.awt.event.MouseAdapter;
    98import java.awt.event.MouseEvent;
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/Presets.java

    r14326 r16848  
    1919
    2020import org.openstreetmap.josm.Main;
     21import org.openstreetmap.josm.gui.OptionPaneUtil;
    2122import org.openstreetmap.josm.io.MirroredInputStream;
    2223import org.openstreetmap.josm.plugins.tageditor.preset.io.Parser;
     
    6566            } catch(PresetIOException e) {
    6667                logger.log(Level.SEVERE, tr("Could not read tagging preset source: {0}", source),e);
    67                 JOptionPane.showMessageDialog(Main.parent, tr("Could not read tagging preset source: {0}",source));     
     68                OptionPaneUtil.showMessageDialog(
     69                                Main.parent, tr("Could not read tagging preset source: {0}",source),
     70                                tr("Error"),
     71                                JOptionPane.ERROR_MESSAGE);     
    6872            } catch (IOException e) {
    6973                e.printStackTrace();
    70                 JOptionPane.showMessageDialog(Main.parent, tr("Could not read tagging preset source: {0}",source));
     74                JOptionPane.showMessageDialog(
     75                                Main.parent,
     76                                tr("Could not read tagging preset source: {0}",source),
     77                                tr("Error"),
     78                                JOptionPane.ERROR_MESSAGE
     79                                );
    7180            }
    7281        }               
Note: See TracChangeset for help on using the changeset viewer.