Changeset 35565 in osm for applications/editors/josm/plugins/pointInfo/src/org
- Timestamp:
- 2020-09-29T18:19:41+02:00 (4 years ago)
- Location:
- applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.