Changeset 2298 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/relation/WayConnectionType.java
- Timestamp:
- 2009-10-18T15:14:15+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/WayConnectionType.java
r1790 r2298 2 2 package org.openstreetmap.josm.gui.dialogs.relation; 3 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 4 6 public enum WayConnectionType { 5 7 6 none (""),7 head_to_head("-><-" ),8 tail_to_tail(" ->->"),9 head_to_tail(" <-<-"),10 tail_to_head ("<-->");8 none("", tr("Not connected")), 9 head_to_head("-><-", tr("Last points of ways are connected")), 10 tail_to_tail("<-->", tr("First points of ways are connected")), 11 head_to_tail("->->", tr("First point of second way connects to last point of first way")), 12 tail_to_head("<-<-", tr("First point of first way connects to last point of second way")); 11 13 12 14 private String textSymbol; 15 private String toolTip; 13 16 14 WayConnectionType(String textSymbol ) {17 WayConnectionType(String textSymbol, String toolTip) { 15 18 this.textSymbol = textSymbol; 19 this.toolTip = toolTip; 16 20 } 17 21 … … 20 24 return textSymbol; 21 25 } 26 27 public String getToolTip() { 28 return toolTip; 29 } 22 30 }
Note:
See TracChangeset
for help on using the changeset viewer.