Changeset 12472 in osm


Ignore:
Timestamp:
2008-12-22T14:07:54+01:00 (16 years ago)
Author:
stoecker
Message:

updated

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

Legend:

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

    r12187 r12472  
    5656        <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    5757        <attribute name="Plugin-Description" value="Allows external WMS resources to be displayed." />
    58         <attribute name="Plugin-Mainversion" value="1065" />
     58        <attribute name="Plugin-Mainversion" value="1153" />
    5959      </manifest>
    6060    </jar>
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java

    r12458 r12472  
    212212                if (oldFrame==null && newFrame!=null) {
    213213                        setEnabledAll(true);
    214                         Main.map.toolBarActions.addSeparator();
    215                         IconToggleButton tb = new IconToggleButton
    216                                                 (new WMSAdjustAction(Main.map));
    217                         Main.map.toolBarActions.add(tb);
    218                         Main.map.toolGroup.add((AbstractButton)tb);
     214                        Main.map.addMapMode(new IconToggleButton
     215                                                (new WMSAdjustAction(Main.map)));
    219216                } else if (oldFrame!=null && newFrame==null ) {
    220217                        setEnabledAll(false);
Note: See TracChangeset for help on using the changeset viewer.