Ignore:
Timestamp:
2016-06-29T20:58:44+02:00 (8 years ago)
Author:
donvip
Message:

remove calls to deprecated methods

Location:
applications/editors/josm/plugins/CustomizePublicTransportStop
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/CustomizePublicTransportStop/build.properties

    r32048 r32441  
    1010# via the OSM subversion repository
    1111#
    12 plugin.version=0.1.2
     12plugin.version=0.3
    1313
    1414# the lowest JOSM version the curent plugin version is compatible with
    1515#
    16 josm.required.version=7171
     16josm.required.version=10353
    1717
    1818# the full path to the JOSM jar against which this plugin is built
  • applications/editors/josm/plugins/CustomizePublicTransportStop/build.xml

    r32310 r32441  
    7171                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/CustomizePublicTransportStop" />
    7272                <attribute name="Plugin-Mainversion" value="${josm.required.version}" />
    73                 <attribute name="Plugin-Version" value="0.2" />
     73                <attribute name="Plugin-Version" value="0.3" />
    7474                <attribute name="RU_Plugin-Description" value="Настройка остановки общественного транспорта в соответствии со стандартом" />
    7575            </manifest>
  • applications/editors/josm/plugins/CustomizePublicTransportStop/src/ru/rodsoft/openstreetmap/josm/plugins/customizepublictransportstop/CustomizeStopAction.java

    r32048 r32441  
    7676                if (!isEnabled())
    7777                        return;
    78                 CreateStopAreaFromSelectedObjectOperation createStopAreaFromSelectedObjectOperation = new CreateStopAreaFromSelectedObjectOperation(getCurrentDataSet());
     78                CreateStopAreaFromSelectedObjectOperation createStopAreaFromSelectedObjectOperation = new CreateStopAreaFromSelectedObjectOperation(
     79                        getLayerManager().getEditDataSet());
    7980                StopArea stopArea = createStopAreaFromSelectedObjectOperation.performCustomizing(null);
    8081                if(stopArea == null)
     
    9293        public StopArea performCustomizing(StopArea stopArea)
    9394        {
    94                 CustomizeStopAreaOperation customizeStopAreaOperation = new CustomizeStopAreaOperation(getCurrentDataSet());
     95                CustomizeStopAreaOperation customizeStopAreaOperation = new CustomizeStopAreaOperation(getLayerManager().getEditDataSet());
    9596                return customizeStopAreaOperation.performCustomizing(stopArea);
    9697        }
Note: See TracChangeset for help on using the changeset viewer.