Changeset 17373 in osm for applications/editors


Ignore:
Timestamp:
2009-08-30T18:12:52+02:00 (15 years ago)
Author:
guggis
Message:

Cleanup of deprecated layer API

Location:
applications/editors/josm/plugins/imagewaypoint
Files:
2 edited

Legend:

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

    r16294 r17373  
    2626                <attribute name="Plugin-Description" value="Another plugin to match images to the waypoints in a GPX file. A match is made when the 'name', 'cmt' or 'desc' attribute of a waypoint tag matches the filename of an image."/>
    2727                <attribute name="Plugin-Early" value="false"/>
    28                 <attribute name="Plugin-Mainversion" value="1725"/>
     28                <attribute name="Plugin-Mainversion" value="2012"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointLayer.java

    r16294 r17373  
    2828        @Override
    2929        public final void mouseClicked(final MouseEvent event) {
    30             if (MouseEvent.BUTTON1 == event.getButton() && this.layer.visible) {
     30            if (MouseEvent.BUTTON1 == event.getButton() && this.layer.isVisible()) {
    3131                final ImageEntry[] images = ImageEntries.getInstance()
    3232                    .getImages();
Note: See TracChangeset for help on using the changeset viewer.