| Revision 4431,
424 bytes
checked in by jttt, 8 months ago
(diff) |
|
Custom primitive name formatters via tagging presets
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // License: GPL. For details, see LICENSE file. |
|---|
| 2 | package org.openstreetmap.josm.data.osm; |
|---|
| 3 | |
|---|
| 4 | import java.util.Comparator; |
|---|
| 5 | |
|---|
| 6 | public interface NameFormatter { |
|---|
| 7 | String format(Node node); |
|---|
| 8 | String format(Way way); |
|---|
| 9 | String format(Relation relation); |
|---|
| 10 | String format(Changeset changeset); |
|---|
| 11 | |
|---|
| 12 | Comparator<Node> getNodeComparator(); |
|---|
| 13 | Comparator<Way> getWayComparator(); |
|---|
| 14 | Comparator<Relation> getRelationComparator(); |
|---|
| 15 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.