Changeset 35565 in osm
- Timestamp:
- 2020-09-29T18:19:41+02:00 (4 years ago)
- 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 3 3 4 4 <!-- 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"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 7 <property name="plugin.main.version" value="14153"/> … … 16 16 <property name="plugin.class" value="org.openstreetmap.josm.plugins.pointinfo.PointInfoPlugin"/> 17 17 <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"/> 19 19 <property name="plugin.link" value="https://github.com/mkyral/josm-pointInfo"/> 20 20 <!--<property name="plugin.early" value="..."/>--> … … 22 22 <!--<property name="plugin.stage" value="..."/>--> 23 23 24 <property name="josm" location="../../core/dist/josm-custom.jar"/>25 <property name="plugin.dist.dir" value="../../dist"/>26 27 24 <!-- ** include targets that all plugins have in common ** --> 28 25 <import file="../build-common.xml"/> -
applications/editors/josm/plugins/pointInfo/servers/RUIAN/index.php
r30833 r35565 78 78 select nb.user_nick, nb.datum, nbd.popis, nb.poznamka 79 79 from neplatne_budovy nb, neplatne_budovy_duvod nbd 80 where nb.duvod = nbd.id and n b.kod = ".$row["kod"]."80 where nb.duvod = nbd.id and not nb.deleted and nb.kod = ".$row["kod"]." 81 81 ; 82 82 "; -
applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoAction.java
r34545 r35565 41 41 42 42 PointInfoAction() { 43 super(tr("Point info"), " info-sml", tr("Point info."),43 super(tr("Point info"), "pointinfo", tr("Point info."), 44 44 Shortcut.registerShortcut("tools:pointInfo", tr("Tool: {0}", tr("Point info")), KeyEvent.VK_X, Shortcut.CTRL_SHIFT), 45 45 getCursor()); … … 63 63 64 64 private static Cursor getCursor() { 65 return ImageProvider.getCursor("crosshair", " info-sml");65 return ImageProvider.getCursor("crosshair", "pointinfo"); 66 66 } 67 67 … … 110 110 JScrollPane scrollPane = new JScrollPane(msgLabel); 111 111 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); 113 113 JOptionPane.showMessageDialog( 114 114 null, objects, tr("PointInfo") + " " + coordinatesText, JOptionPane.PLAIN_MESSAGE, icon); -
applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoPreference.java
r34545 r35565 34 34 35 35 @Override 36 public String getIconName() {37 return "info-sml.png";38 }39 40 @Override41 36 public void addGui(PreferenceTabbedPane gui) { 42 37 JPanel panel = new JPanel(new GridBagLayout());
Note:
See TracChangeset
for help on using the changeset viewer.