Changeset 35565 in osm


Ignore:
Timestamp:
2020-09-29T18:19:41+02:00 (4 years ago)
Author:
Mkyral
Message:

PointInfo: Switch to SVG icons

Location:
applications/editors/josm/plugins/pointInfo
Files:
10 added
5 deleted
5 edited

Legend:

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

    r34545 r35565  
    33
    44    <!-- enter the SVN commit message -->
    5     <property name="commit.message" value="PointInfo: Adds a link to photo metadata in Catastro module. Patch by Javier Sánchez Portero."/>
     5    <property name="commit.message" value="PointInfo: Switch to SVG icons"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    77    <property name="plugin.main.version" value="14153"/>
     
    1616    <property name="plugin.class" value="org.openstreetmap.josm.plugins.pointinfo.PointInfoPlugin"/>
    1717    <property name="plugin.description" value="Shows an additional information about point on map. Only Czech RUIAN and Spanish Cadastre Web Services modules are available at this moment."/>
    18     <property name="plugin.icon" value="images/mapmode/info-sml.png"/>
     18    <property name="plugin.icon" value="images/mapmode/pointinfo.svg"/>
    1919    <property name="plugin.link" value="https://github.com/mkyral/josm-pointInfo"/>
    2020    <!--<property name="plugin.early" value="..."/>-->
     
    2222    <!--<property name="plugin.stage" value="..."/>-->
    2323
    24     <property name="josm" location="../../core/dist/josm-custom.jar"/>
    25     <property name="plugin.dist.dir" value="../../dist"/>
    26 
    2724    <!-- ** include targets that all plugins have in common ** -->
    2825    <import file="../build-common.xml"/>
  • applications/editors/josm/plugins/pointInfo/servers/RUIAN/index.php

    r30833 r35565  
    7878    select nb.user_nick, nb.datum, nbd.popis, nb.poznamka
    7979    from neplatne_budovy nb, neplatne_budovy_duvod nbd
    80     where nb.duvod = nbd.id and nb.kod = ".$row["kod"]."
     80    where nb.duvod = nbd.id and not nb.deleted and nb.kod = ".$row["kod"]."
    8181    ;
    8282  ";
  • applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoAction.java

    r34545 r35565  
    4141
    4242    PointInfoAction() {
    43         super(tr("Point info"), "info-sml", tr("Point info."),
     43        super(tr("Point info"), "pointinfo", tr("Point info."),
    4444                Shortcut.registerShortcut("tools:pointInfo", tr("Tool: {0}", tr("Point info")), KeyEvent.VK_X, Shortcut.CTRL_SHIFT),
    4545                getCursor());
     
    6363
    6464    private static Cursor getCursor() {
    65         return ImageProvider.getCursor("crosshair", "info-sml");
     65        return ImageProvider.getCursor("crosshair", "pointinfo");
    6666    }
    6767
     
    110110                        JScrollPane scrollPane = new JScrollPane(msgLabel);
    111111                        Object[] objects = {scrollPane};
    112                         final ImageIcon icon = new ImageIcon(getClass().getResource("/images/dialogs/info-sml.png"));
     112                        final ImageIcon icon = ImageProvider.get("dialogs/pointinfo", ImageProvider.ImageSizes.SETTINGS_TAB);
    113113                        JOptionPane.showMessageDialog(
    114114                                null, objects, tr("PointInfo") + " " + coordinatesText, JOptionPane.PLAIN_MESSAGE, icon);
  • applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoPreference.java

    r34545 r35565  
    3434
    3535    @Override
    36     public String getIconName() {
    37         return "info-sml.png";
    38     }
    39 
    40     @Override
    4136    public void addGui(PreferenceTabbedPane gui) {
    4237        JPanel panel = new JPanel(new GridBagLayout());
Note: See TracChangeset for help on using the changeset viewer.