Ignore:
Timestamp:
2015-02-09T22:10:10+01:00 (10 years ago)
Author:
bastik
Message:

see ​​#josm11090 - plugins ready for load at runtime:

OpeningHoursEditor, mirrored_download, photo_geotagging, photoadjust,
piclayer, roadsigns, simplifyarea, tag2link, turnrestrictions

Location:
applications/editors/josm/plugins
Files:
12 edited

Legend:

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

    r30416 r30962  
    1111    <property name="plugin.icon" value="images/opening_hours.png"/>
    1212    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpeningHoursEditor"/>
     13    <property name="plugin.canloadatruntime" value="true"/>
    1314
    1415    <!-- ** include targets that all plugins have in common ** -->
  • applications/editors/josm/plugins/mirrored_download/build.xml

    r30664 r30962  
    1515    <property name="plugin.icon" value="images/download_mirror.png"/>
    1616    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/mirrored_download"/>
     17    <property name="plugin.canloadatruntime" value="true"/>
    1718
    1819        <!-- ** include targets that all plugins have in common ** -->
  • applications/editors/josm/plugins/photo_geotagging/build.xml

    r30416 r30962  
    1212    <property name="plugin.icon" value="images/geotagging.png"/>
    1313    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Photo_Geotagging"/>
     14    <property name="plugin.canloadatruntime" value="true"/>
    1415
    1516    <!-- ** include targets that all plugins have in common ** -->
  • applications/editors/josm/plugins/photoadjust/build.xml

    r30904 r30962  
    1818    <!--<property name="plugin.requires" value="..."/>-->
    1919    <!--<property name="plugin.stage" value="..."/>-->
     20    <property name="plugin.canloadatruntime" value="true"/>
    2021   
    2122    <property name="josm" location="../../core/dist/josm-custom.jar"/>
  • applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustPlugin.java

    r30936 r30962  
    6969    public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
    7070        if (oldFrame == null && newFrame != null) {
    71             MapView.addLayerChangeListener(this);
     71            MapView.addLayerChangeListener(this, true);
    7272            PhotoAdjustMapMode adjustMode = new PhotoAdjustMapMode(newFrame, worker);
    7373            adjustMode.installMapMode(newFrame);
  • applications/editors/josm/plugins/piclayer/build.xml

    r30547 r30962  
    1313    <property name="plugin.icon" value="images/layericon.png"/>
    1414    <property name="plugin.link" value="http://josm.openstreetmap.de/wiki/Help/Plugin/PicLayer"/>
     15    <property name="plugin.canloadatruntime" value="true"/>
    1516
    1617    <!-- ** include targets that all plugins have in common ** -->
  • applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java

    r30737 r30962  
    7575        MainMenu.add(Main.main.menu.imagerySubMenu, newLayerFromFileAction);
    7676        MainMenu.add(Main.main.menu.imagerySubMenu, newLayerFromClipboardAction);
    77         newLayerFromFileAction.setEnabled(false);
    78         newLayerFromClipboardAction.setEnabled(false);
     77        layerRemoved(null); // update enabled status
    7978        // Listen to layers
    8079        MapView.addLayerChangeListener(this);
  • applications/editors/josm/plugins/roadsigns/build.xml

    r30940 r30962  
    5050                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    5151                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     52                <attribute name="Plugin-Canloadatruntime" value="true"/>
    5253            </manifest>
    5354        </jar>
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignsPlugin.java

    r30940 r30962  
    7272        PropertiesDialog.pluginHook.add(btn);
    7373        PropertiesDialog.pluginHook.setLayout(new FlowLayout(FlowLayout.CENTER, 0, 0));
     74        PropertiesDialog.pluginHook.revalidate();
    7475    }
    7576
  • applications/editors/josm/plugins/simplifyarea/build.xml

    r30416 r30962  
    1414    <property name="plugin.icon" value="images/preferences/simplifyArea.png"/>
    1515    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/SimplifyArea"/>
     16    <property name="plugin.canloadatruntime" value="true"/>
    1617
    1718    <!-- ** include targets that all plugins have in common ** -->
  • applications/editors/josm/plugins/tag2link/build.xml

    r30416 r30962  
    1212    <property name="plugin.icon" value="images/tag2linkv2_24x24.png"/>
    1313    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Tag2Link"/>
     14    <property name="plugin.canloadatruntime" value="true"/>
    1415
    1516    <!-- ** include targets that all plugins have in common ** -->
  • applications/editors/josm/plugins/turnrestrictions/build.xml

    r30938 r30962  
    1414    <property name="plugin.icon" value="images/preferences/turnrestrictions.png"/>
    1515    <property name="plugin.link" value="https://josm.openstreetmap.de/wiki/Help/Plugin/TurnRestrictions"/>
     16    <property name="plugin.canloadatruntime" value="true"/>
    1617
    1718    <!-- ** include targets that all plugins have in common ** -->
Note: See TracChangeset for help on using the changeset viewer.