Ignore:
Timestamp:
2018-06-19T19:44:45+02:00 (6 years ago)
Author:
Don-vip
Message:

use IRelation in PropertiesDialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TaginfoAction.java

    r13849 r13959  
    1212
    1313import org.openstreetmap.josm.actions.JosmAction;
    14 import org.openstreetmap.josm.data.osm.Relation;
     14import org.openstreetmap.josm.data.osm.IRelation;
    1515import org.openstreetmap.josm.data.preferences.StringProperty;
    1616import org.openstreetmap.josm.tools.OpenBrowser;
     
    3030
    3131    private final JTable membershipTable;
    32     private final IntFunction<Relation> memberValueSupplier;
     32    private final IntFunction<IRelation<?>> memberValueSupplier;
    3333
    3434    /**
     
    3939     * @param membershipTable The membership table. Can be null
    4040     * @param memberValueSupplier Finds the parent relation from given row of membership table. Can be null
     41     * @since 13959 (signature)
    4142     */
    4243    public TaginfoAction(JTable tagTable, IntFunction<String> tagKeySupplier, IntFunction<Map<String, Integer>> tagValuesSupplier,
    43             JTable membershipTable, IntFunction<Relation> memberValueSupplier) {
     44            JTable membershipTable, IntFunction<IRelation<?>> memberValueSupplier) {
    4445        super(tr("Go to Taginfo"), "dialogs/taginfo", tr("Launch browser with Taginfo statistics for selected object"), null, false);
    4546        this.tagTable = Objects.requireNonNull(tagTable);
Note: See TracChangeset for help on using the changeset viewer.