Changeset 13959 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TaginfoAction.java
- Timestamp:
- 2018-06-19T19:44:45+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TaginfoAction.java
r13849 r13959 12 12 13 13 import org.openstreetmap.josm.actions.JosmAction; 14 import org.openstreetmap.josm.data.osm. Relation;14 import org.openstreetmap.josm.data.osm.IRelation; 15 15 import org.openstreetmap.josm.data.preferences.StringProperty; 16 16 import org.openstreetmap.josm.tools.OpenBrowser; … … 30 30 31 31 private final JTable membershipTable; 32 private final IntFunction< Relation> memberValueSupplier;32 private final IntFunction<IRelation<?>> memberValueSupplier; 33 33 34 34 /** … … 39 39 * @param membershipTable The membership table. Can be null 40 40 * @param memberValueSupplier Finds the parent relation from given row of membership table. Can be null 41 * @since 13959 (signature) 41 42 */ 42 43 public TaginfoAction(JTable tagTable, IntFunction<String> tagKeySupplier, IntFunction<Map<String, Integer>> tagValuesSupplier, 43 JTable membershipTable, IntFunction< Relation> memberValueSupplier) {44 JTable membershipTable, IntFunction<IRelation<?>> memberValueSupplier) { 44 45 super(tr("Go to Taginfo"), "dialogs/taginfo", tr("Launch browser with Taginfo statistics for selected object"), null, false); 45 46 this.tagTable = Objects.requireNonNull(tagTable);
Note:
See TracChangeset
for help on using the changeset viewer.