Changeset 29854 in osm for applications/editors/josm/plugins/graphview/src/org
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/graph/GraphEdge.java
r23189 r29854 2 2 3 3 import java.util.Collection; 4 import java.util.List;5 4 6 5 import org.openstreetmap.josm.plugins.graphview.core.property.GraphEdgePropertyType; 7 import org.openstreetmap.josm.plugins.graphview.core.transition.Segment;8 6 9 7 /** -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/graph/TSBasedWayGraph.java
r23189 r29854 89 89 } 90 90 public <V> V getPropertyValue(GraphEdgePropertyType<V> property) { 91 @SuppressWarnings("unchecked") 91 92 V result = (V) properties.get(property); 92 93 return result; … … 429 430 430 431 if (!objectSetMap.containsKey(object)) { 431 @SuppressWarnings("unchecked") //no set with generic parameter can be created directly 432 Set<T> set = new HashSet(); 432 Set<T> set = new HashSet<T>(); 433 433 set.add(object); 434 434 objectSetMap.put(object, set); 435 435 } 436 437 436 } 438 437 -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/transition/GenericTransitionStructure.java
r23189 r29854 66 66 } 67 67 68 public <P> void setProperty(RoadPropertyType<P> property, P value) {68 /*public <P> void setProperty(RoadPropertyType<P> property, P value) { 69 69 properties.put(property, value); 70 } 70 }*/ 71 71 public Collection<RoadPropertyType<?>> getAvailableProperties() { 72 72 return properties.keySet(); … … 102 102 return node2; 103 103 } 104 public <P> void setProperty(RoadPropertyType<P> property, P value) {104 /*public <P> void setProperty(RoadPropertyType<P> property, P value) { 105 105 properties.put(property, value); 106 } 106 }*/ 107 107 public Collection<RoadPropertyType<?>> getAvailableProperties() { 108 108 return properties.keySet(); -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/AccessParameterDialog.java
r26174 r29854 1 1 package org.openstreetmap.josm.plugins.graphview.plugin.dialogs; 2 3 import static org.openstreetmap.josm.tools.I18n.tr;4 2 5 3 import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.MAX_INCLINE_DOWN; … … 7 5 import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.MAX_TRACKTYPE; 8 6 import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.SURFACE_BLACKLIST; 7 import static org.openstreetmap.josm.tools.I18n.tr; 9 8 10 9 import java.awt.Frame; -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/GraphViewDialog.java
r27359 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.BorderLayout;6 5 import java.awt.Color; 7 6 import java.awt.GridBagConstraints; … … 28 27 import javax.swing.JPanel; 29 28 29 import org.openstreetmap.josm.gui.SideButton; 30 30 import org.openstreetmap.josm.gui.dialogs.ToggleDialog; 31 import org.openstreetmap.josm.gui.SideButton;32 31 import org.openstreetmap.josm.plugins.graphview.core.access.AccessRulesetReader; 33 32 import org.openstreetmap.josm.plugins.graphview.core.visualisation.ColorScheme;
Note:
See TracChangeset
for help on using the changeset viewer.