Changeset 22048 in osm for applications/editors
- Timestamp:
- 2010-06-27T23:16:34+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/public_transport/src/public_transport
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/src/public_transport/SettingsStoptypeCommand.java
r20815 r22048 9 9 import java.util.Vector; 10 10 import javax.swing.DefaultListModel; 11 import javax.swing.tree.DefaultMutableTreeNode; 12 import javax.swing.tree.MutableTreeNode; 11 import javax.swing.JLabel; 13 12 14 13 public class SettingsStoptypeCommand extends Command … … 85 84 } 86 85 87 public MutableTreeNode description()86 @Override public JLabel getDescription() 88 87 { 89 return new DefaultMutableTreeNode("public_transport.Settings.ChangeStoptype");88 return new JLabel("public_transport.Settings.ChangeStoptype"); 90 89 } 91 90 -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistAddCommand.java
r20815 r22048 8 8 import java.util.Collection; 9 9 import java.util.Vector; 10 import javax.swing.tree.DefaultMutableTreeNode; 11 import javax.swing.tree.MutableTreeNode; 10 import javax.swing.JLabel; 12 11 13 12 public class TrackStoplistAddCommand extends Command … … 42 41 } 43 42 44 public MutableTreeNode description()43 @Override public JLabel getDescription() 45 44 { 46 return new DefaultMutableTreeNode("public_transport.TrackStoplist.Add");45 return new JLabel("public_transport.TrackStoplist.Add"); 47 46 } 48 47 }; -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDeleteCommand.java
r20839 r22048 8 8 import java.util.Collection; 9 9 import java.util.Vector; 10 import javax.swing.tree.DefaultMutableTreeNode; 11 import javax.swing.tree.MutableTreeNode; 10 import javax.swing.JLabel; 12 11 13 12 public class TrackStoplistDeleteCommand extends Command … … 95 94 } 96 95 97 public MutableTreeNode description()96 @Override public JLabel getDescription() 98 97 { 99 return new DefaultMutableTreeNode("public_transport.TrackStoplist.Delete");98 return new JLabel("public_transport.TrackStoplist.Delete"); 100 99 } 101 100 }; -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDetachCommand.java
r20815 r22048 8 8 import java.util.Collection; 9 9 import java.util.Vector; 10 import javax.swing.tree.DefaultMutableTreeNode; 11 import javax.swing.tree.MutableTreeNode; 10 import javax.swing.JLabel; 12 11 13 12 public class TrackStoplistDetachCommand extends Command … … 74 73 } 75 74 76 public MutableTreeNode description()75 @Override public JLabel getDescription() 77 76 { 78 return new DefaultMutableTreeNode("public_transport.TrackStoplist.Detach");77 return new JLabel("public_transport.TrackStoplist.Detach"); 79 78 } 80 79 }; -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistNameCommand.java
r20867 r22048 9 9 import java.util.Collection; 10 10 import java.util.Vector; 11 import javax.swing.tree.DefaultMutableTreeNode; 12 import javax.swing.tree.MutableTreeNode; 11 import javax.swing.JLabel; 13 12 14 13 public class TrackStoplistNameCommand extends Command … … 102 101 } 103 102 104 public MutableTreeNode description()103 @Override public JLabel getDescription() 105 104 { 106 return new DefaultMutableTreeNode("public_transport.TrackStoplist.Edit");105 return new JLabel("public_transport.TrackStoplist.Edit"); 107 106 } 108 107 }; -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistRelocateCommand.java
r20834 r22048 11 11 import java.util.Vector; 12 12 import javax.swing.DefaultListModel; 13 import javax.swing.tree.DefaultMutableTreeNode; 14 import javax.swing.tree.MutableTreeNode; 13 import javax.swing.JLabel; 15 14 16 15 public class TrackStoplistRelocateCommand extends Command … … 87 86 } 88 87 89 public MutableTreeNode description()88 @Override public JLabel getDescription() 90 89 { 91 return new DefaultMutableTreeNode("public_transport.TrackStoplist.RelocateNodes");90 return new JLabel("public_transport.TrackStoplist.RelocateNodes"); 92 91 } 93 92 }; -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistSortCommand.java
r20839 r22048 11 11 import java.util.Vector; 12 12 import javax.swing.DefaultListModel; 13 import javax.swing.tree.DefaultMutableTreeNode; 14 import javax.swing.tree.MutableTreeNode; 13 import javax.swing.JLabel; 15 14 16 15 public class TrackStoplistSortCommand extends Command … … 92 91 } 93 92 94 public MutableTreeNode description()93 @Override public JLabel getDescription() 95 94 { 96 return new DefaultMutableTreeNode("public_transport.TrackStoplist.Sort");95 return new JLabel("public_transport.TrackStoplist.Sort"); 97 96 } 98 97 -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackSuggestStopsCommand.java
r20872 r22048 6 6 import java.util.Vector; 7 7 import javax.swing.DefaultListModel; 8 import javax.swing.tree.DefaultMutableTreeNode; 9 import javax.swing.tree.MutableTreeNode; 8 import javax.swing.JLabel; 10 9 11 10 import org.openstreetmap.josm.Main; … … 201 200 } 202 201 203 public MutableTreeNode description()204 { 205 return new DefaultMutableTreeNode("public_transport.TrackStoplist.SuggestStops");202 @Override public JLabel getDescription() 203 { 204 return new JLabel("public_transport.TrackStoplist.SuggestStops"); 206 205 } 207 206 -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDetachCommand.java
r20772 r22048 8 8 import java.util.Collection; 9 9 import java.util.Vector; 10 import javax.swing.tree.DefaultMutableTreeNode; 11 import javax.swing.tree.MutableTreeNode; 10 import javax.swing.JLabel; 12 11 13 12 public class WaypointsDetachCommand extends Command … … 74 73 } 75 74 76 public MutableTreeNode description()75 @Override public JLabel getDescription() 77 76 { 78 return new DefaultMutableTreeNode("public_transport.Waypoints.Detach");77 return new JLabel("public_transport.Waypoints.Detach"); 79 78 } 80 79 }; -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDisableCommand.java
r20772 r22048 8 8 import java.util.Collection; 9 9 import java.util.Vector; 10 import javax.swing.tree.DefaultMutableTreeNode; 11 import javax.swing.tree.MutableTreeNode; 10 import javax.swing.JLabel; 12 11 13 12 public class WaypointsDisableCommand extends Command … … 82 81 } 83 82 84 public MutableTreeNode description()83 @Override public JLabel getDescription() 85 84 { 86 return new DefaultMutableTreeNode("public_transport.Waypoints.Disable");85 return new JLabel("public_transport.Waypoints.Disable"); 87 86 } 88 87 }; -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsEnableCommand.java
r20835 r22048 8 8 import java.util.Collection; 9 9 import java.util.Vector; 10 import javax.swing.tree.DefaultMutableTreeNode; 11 import javax.swing.tree.MutableTreeNode; 10 import javax.swing.JLabel; 12 11 13 12 public class WaypointsEnableCommand extends Command … … 81 80 } 82 81 83 public MutableTreeNode description()82 @Override public JLabel getDescription() 84 83 { 85 return new DefaultMutableTreeNode("public_transport.Waypoints.Enable");84 return new JLabel("public_transport.Waypoints.Enable"); 86 85 } 87 86 }; -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsNameCommand.java
r20867 r22048 8 8 import java.util.Collection; 9 9 import java.util.Vector; 10 import javax.swing.tree.DefaultMutableTreeNode; 11 import javax.swing.tree.MutableTreeNode; 10 import javax.swing.JLabel; 12 11 13 12 public class WaypointsNameCommand extends Command … … 81 80 } 82 81 83 public MutableTreeNode description()82 @Override public JLabel getDescription() 84 83 { 85 return new DefaultMutableTreeNode("public_transport.Waypoints.EditName");84 return new JLabel("public_transport.Waypoints.EditName"); 86 85 } 87 86 };
Note:
See TracChangeset
for help on using the changeset viewer.