- Timestamp:
- 2009-10-18T15:14:15+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/relation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableLinkedCellRenderer.java
r1822 r2298 15 15 renderForeground(isSelected); 16 16 setText(value.toString()); 17 setToolTipText(((WayConnectionType)value).getToolTip()); 17 18 renderBackground(getModel(table), null, isSelected); 18 19 return this; -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
r2273 r2298 548 548 private static Node getUnusedNode(RelationMember element, RelationMember linked_element) 549 549 { 550 Node 550 Node result = null; 551 551 552 552 if (element.isWay()) { -
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.