Changeset 8056 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2015-02-13T15:25:19+01:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
r7937 r8056 32 32 */ 33 33 public AddNoteAction(MapFrame mapFrame, NoteData data) { 34 super(tr("Add a new Note"), "addnote .png",34 super(tr("Add a new Note"), "addnote", 35 35 tr("Add note mode"), 36 36 mapFrame, ImageProvider.getCursor("crosshair", "create_note")); -
trunk/src/org/openstreetmap/josm/gui/bbox/SizeButton.java
r6539 r8056 29 29 super(); 30 30 this.slippyMapBBoxChooser = slippyMapBBoxChooser; 31 enlargeImage = ImageProvider.get("view-fullscreen .png");32 shrinkImage = ImageProvider.get("view-fullscreen-revert .png");31 enlargeImage = ImageProvider.get("view-fullscreen"); 32 shrinkImage = ImageProvider.get("view-fullscreen-revert"); 33 33 setPreferredSize(new Dimension(enlargeImage.getIconWidth(), enlargeImage.getIconHeight())); 34 34 addMouseListener(mouseListener); -
trunk/src/org/openstreetmap/josm/gui/bbox/SourceButton.java
r6603 r8056 48 48 this.slippyMapBBoxChooser = slippyMapBBoxChooser; 49 49 setSources(sources); 50 enlargeImage = ImageProvider.get("layer-switcher-maximize .png");51 shrinkImage = ImageProvider.get("layer-switcher-minimize .png");50 enlargeImage = ImageProvider.get("layer-switcher-maximize"); 51 shrinkImage = ImageProvider.get("layer-switcher-minimize"); 52 52 53 53 hiddenDimension= new Dimension(enlargeImage.getIconWidth(), enlargeImage.getIconHeight()); -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMerger.java
r7668 r8056 623 623 624 624 public CopyAllLeft() { 625 ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallleft .png");625 ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallleft"); 626 626 putValue(Action.SMALL_ICON, icon); 627 627 putValue(Action.SHORT_DESCRIPTION, tr("Copy all my elements to the target")); … … 652 652 653 653 public CopyAllRight() { 654 ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallright .png");654 ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallright"); 655 655 putValue(Action.SMALL_ICON, icon); 656 656 putValue(Action.SHORT_DESCRIPTION, tr("Copy all their elements to the target")); … … 681 681 682 682 public MoveUpMergedAction() { 683 ImageIcon icon = ImageProvider.get("dialogs/conflict", "moveup .png");683 ImageIcon icon = ImageProvider.get("dialogs/conflict", "moveup"); 684 684 putValue(Action.SMALL_ICON, icon); 685 685 if (icon == null) { … … 715 715 716 716 public MoveDownMergedAction() { 717 ImageIcon icon = ImageProvider.get("dialogs/conflict", "movedown .png");717 ImageIcon icon = ImageProvider.get("dialogs/conflict", "movedown"); 718 718 putValue(Action.SMALL_ICON, icon); 719 719 if (icon == null) { … … 749 749 750 750 public RemoveMergedAction() { 751 ImageIcon icon = ImageProvider.get("dialogs/conflict", "remove .png");751 ImageIcon icon = ImageProvider.get("dialogs/conflict", "remove"); 752 752 putValue(Action.SMALL_ICON, icon); 753 753 if (icon == null) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/MapPaintDialog.java
r7896 r8056 674 674 JMenu setMenu = new JMenu(tr("Style settings")); 675 675 setMenu.setIcon(ImageProvider.overlay(ImageProvider.get("preference"), 676 ImageProvider.get("dialogs/mappaint /pencil.png"),676 ImageProvider.get("dialogs/mappaint", "pencil"), 677 677 ImageProvider.OverlayPosition.SOUTHEAST)); 678 678 setMenu.setToolTipText(tr("Customize the style")); -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/AudioMarker.java
r7518 r8056 28 28 29 29 public AudioMarker(LatLon ll, TemplateEngineDataProvider dataProvider, URL audioUrl, MarkerLayer parentLayer, double time, double offset) { 30 super(ll, dataProvider, "speech .png", parentLayer, time, offset);30 super(ll, dataProvider, "speech", parentLayer, time, offset); 31 31 this.audioUrl = audioUrl; 32 32 this.syncOffset = 0.0; -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/ImageMarker.java
r7518 r8056 39 39 40 40 public ImageMarker(LatLon ll, URL imageUrl, MarkerLayer parentLayer, double time, double offset) { 41 super(ll, "photo .png", parentLayer, time, offset);41 super(ll, "photo", parentLayer, time, offset); 42 42 this.imageUrl = imageUrl; 43 43 } -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/WebMarker.java
r7518 r8056 31 31 32 32 public WebMarker(LatLon ll, URL webUrl, MarkerLayer parentLayer, double time, double offset) { 33 super(ll, "web .png", parentLayer, time, offset);33 super(ll, "web", parentLayer, time, offset); 34 34 CheckParameterUtil.ensureParameterNotNull(webUrl, "webUrl"); 35 35 this.webUrl = webUrl; -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/CustomProjectionChoice.java
r7956 r8056 102 102 } catch (ProjectionConfigurationException ex) { 103 103 error = ex.getMessage(); 104 valStatus.setIcon(ImageProvider.get("data", "error .png"));104 valStatus.setIcon(ImageProvider.get("data", "error")); 105 105 valStatus.setVisible(true); 106 106 errorsPanel.setText(error); … … 109 109 } 110 110 errorsPanel.setVisible(false); 111 valStatus.setIcon(ImageProvider.get("misc", "green_check .png"));111 valStatus.setIcon(ImageProvider.get("misc", "green_check")); 112 112 valStatus.setVisible(true); 113 113 return true;
Note:
See TracChangeset
for help on using the changeset viewer.