Changeset 29854 in osm for applications/editors/josm/plugins/public_transport/src
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/public_transport/src/public_transport
- Files:
-
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSAddCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class GTFSAddCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSCatchCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Iterator; 7 import java.util.Vector; 4 8 5 9 import org.openstreetmap.josm.Main; … … 7 11 import org.openstreetmap.josm.data.osm.Node; 8 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Iterator;12 import java.util.Vector;13 13 14 14 public class GTFSCatchCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSDeleteCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class GTFSDeleteCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSImporterAction.java
r29661 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.Container;6 import java.awt.Frame;7 import java.awt.GridBagConstraints;8 import java.awt.GridBagLayout;9 5 import java.awt.event.ActionEvent; 10 6 import java.io.BufferedReader; … … 12 8 import java.io.FileNotFoundException; 13 9 import java.io.FileReader; 14 import java.io.InputStream;15 10 import java.io.IOException; 16 11 import java.text.DecimalFormat; 17 12 import java.text.Format; 18 import java.util.Collections;19 13 import java.util.Iterator; 20 14 import java.util.Vector; 21 import java.util.zip.GZIPInputStream;22 15 23 16 import javax.swing.AbstractAction; 24 17 import javax.swing.Action; 25 18 import javax.swing.DefaultListModel; 26 import javax.swing.JButton;27 import javax.swing.JComboBox;28 import javax.swing.JDialog;29 19 import javax.swing.JFileChooser; 30 import javax.swing.JLabel;31 import javax.swing.JList;32 20 import javax.swing.JOptionPane; 33 import javax.swing.JPanel;34 import javax.swing.JScrollPane;35 import javax.swing.JTabbedPane;36 21 import javax.swing.JTable; 37 import javax.swing.JTextField;38 import javax.swing.ListSelectionModel;39 import javax.swing.event.ListSelectionEvent;40 import javax.swing.event.ListSelectionListener;41 import javax.swing.event.TableModelEvent;42 import javax.swing.event.TableModelListener;43 import javax.swing.table.DefaultTableModel;44 22 45 23 import org.openstreetmap.josm.Main; 46 24 import org.openstreetmap.josm.actions.JosmAction; 47 import org.openstreetmap.josm.command.Command;48 import org.openstreetmap.josm.command.ChangeCommand;49 import org.openstreetmap.josm.command.DeleteCommand;50 25 import org.openstreetmap.josm.data.coor.LatLon; 51 import org.openstreetmap.josm.data.gpx.GpxData;52 import org.openstreetmap.josm.data.gpx.GpxTrack;53 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;54 import org.openstreetmap.josm.data.gpx.WayPoint;55 26 import org.openstreetmap.josm.data.osm.DataSet; 56 27 import org.openstreetmap.josm.data.osm.Node; 57 28 import org.openstreetmap.josm.data.osm.OsmPrimitive; 58 29 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; 59 import org.openstreetmap.josm.io.GpxReader;60 61 import org.xml.sax.SAXException;62 30 63 31 public class GTFSImporterAction extends JosmAction -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSImporterDialog.java
r26345 r29854 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.Container;7 6 import java.awt.Frame; 8 7 import java.awt.GridBagConstraints; 9 8 import java.awt.GridBagLayout; 10 import java.awt.event.ActionEvent; 11 import java.io.File; 12 import java.io.FileInputStream; 13 import java.io.FileNotFoundException; 14 import java.io.InputStream; 15 import java.io.IOException; 16 import java.text.DecimalFormat; 17 import java.text.Format; 18 import java.util.Collections; 19 import java.util.Iterator; 20 import java.util.Vector; 21 import java.util.zip.GZIPInputStream; 22 23 import javax.swing.DefaultCellEditor; 24 import javax.swing.DefaultListModel; 9 25 10 import javax.swing.JButton; 26 11 import javax.swing.JComboBox; 27 12 import javax.swing.JComponent; 28 13 import javax.swing.JDialog; 29 import javax.swing.JFileChooser;30 14 import javax.swing.JLabel; 31 15 import javax.swing.JList; … … 37 21 import javax.swing.JTextField; 38 22 import javax.swing.KeyStroke; 39 import javax.swing.ListSelectionModel;40 import javax.swing.event.ListSelectionEvent;41 import javax.swing.event.ListSelectionListener;42 import javax.swing.event.TableModelEvent;43 import javax.swing.event.TableModelListener;44 import javax.swing.table.DefaultTableModel;45 23 46 24 import org.openstreetmap.josm.Main; 47 import org.openstreetmap.josm.actions.JosmAction;48 import org.openstreetmap.josm.command.Command;49 import org.openstreetmap.josm.command.ChangeCommand;50 import org.openstreetmap.josm.command.DeleteCommand;51 import org.openstreetmap.josm.data.coor.LatLon;52 import org.openstreetmap.josm.data.gpx.GpxData;53 import org.openstreetmap.josm.data.gpx.GpxTrack;54 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;55 import org.openstreetmap.josm.data.gpx.WayPoint;56 import org.openstreetmap.josm.data.osm.DataSet;57 import org.openstreetmap.josm.data.osm.Node;58 import org.openstreetmap.josm.data.osm.OsmPrimitive;59 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;60 import org.openstreetmap.josm.io.GpxReader;61 62 import org.xml.sax.SAXException;63 25 64 26 public class GTFSImporterDialog -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSJoinCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Iterator; 7 import java.util.Vector; 4 8 5 9 import org.openstreetmap.josm.Main; … … 7 11 import org.openstreetmap.josm.data.osm.Node; 8 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Iterator;12 import java.util.Vector;13 13 14 14 public class GTFSJoinCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSStopTableModel.java
r26168 r29854 5 5 import java.util.Iterator; 6 6 import java.util.Vector; 7 7 8 import javax.swing.event.TableModelEvent; 8 9 import javax.swing.event.TableModelListener; … … 11 12 import org.openstreetmap.josm.Main; 12 13 import org.openstreetmap.josm.data.coor.LatLon; 13 import org.openstreetmap.josm.data.gpx.WayPoint;14 14 import org.openstreetmap.josm.data.osm.DataSource; 15 15 import org.openstreetmap.josm.data.osm.Node; -
applications/editors/josm/plugins/public_transport/src/public_transport/PublicTransportAStar.java
r28318 r29854 1 1 package public_transport; 2 2 3 import java.util.Collection;4 3 import java.util.Iterator; 5 import java.util.Map;6 4 import java.util.TreeMap; 7 5 import java.util.TreeSet; 8 6 import java.util.Vector; 9 7 8 import org.openstreetmap.josm.Main; 10 9 import org.openstreetmap.josm.data.osm.Node; 11 10 import org.openstreetmap.josm.data.osm.Way; 12 import org.openstreetmap.josm.Main;13 11 14 12 public class PublicTransportAStar extends AStarAlgorithm -
applications/editors/josm/plugins/public_transport/src/public_transport/PublicTransportPlugin.java
r29784 r29854 9 9 10 10 import org.openstreetmap.josm.Main; 11 import org.openstreetmap.josm.actions.JosmAction;12 import org.openstreetmap.josm.data.ProjectionBounds;13 import org.openstreetmap.josm.gui.IconToggleButton;14 11 import org.openstreetmap.josm.gui.MainMenu; 15 import org.openstreetmap.josm.gui.MapFrame;16 import org.openstreetmap.josm.gui.MapView;17 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;18 import org.openstreetmap.josm.io.CacheFiles;19 import org.openstreetmap.josm.io.MirroredInputStream;20 12 import org.openstreetmap.josm.plugins.Plugin; 21 13 import org.openstreetmap.josm.plugins.PluginInformation; -
applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java
r29661 r29854 1 1 package public_transport; 2 2 3 import static org.openstreetmap.josm.tools.I18n.marktr;4 3 import static org.openstreetmap.josm.tools.I18n.tr; 5 4 6 import java.awt.BorderLayout;7 5 import java.awt.Container; 8 6 import java.awt.Dimension; … … 54 52 import org.openstreetmap.josm.data.osm.Way; 55 53 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; 56 import org.openstreetmap.josm.gui.ExtendedDialog;57 import org.openstreetmap.josm.tools.GBC;58 import org.openstreetmap.josm.tools.Shortcut;59 54 60 55 public class RoutePatternAction extends JosmAction { -
applications/editors/josm/plugins/public_transport/src/public_transport/SettingsStoptypeCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 import java.util.Vector; 7 8 import javax.swing.DefaultListModel; 9 6 10 import org.openstreetmap.josm.command.Command; 7 11 import org.openstreetmap.josm.data.osm.Node; 8 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 import javax.swing.DefaultListModel;13 13 14 14 public class SettingsStoptypeCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterAction.java
r29661 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.Container;6 import java.awt.Frame;7 import java.awt.GridBagConstraints;8 import java.awt.GridBagLayout;9 5 import java.awt.event.ActionEvent; 10 6 import java.io.File; 11 7 import java.io.FileInputStream; 12 8 import java.io.FileNotFoundException; 9 import java.io.IOException; 13 10 import java.io.InputStream; 14 import java.io.IOException;15 11 import java.text.DecimalFormat; 16 12 import java.text.Format; … … 23 19 import javax.swing.Action; 24 20 import javax.swing.DefaultListModel; 25 import javax.swing.JButton;26 import javax.swing.JComboBox;27 import javax.swing.JDialog;28 21 import javax.swing.JFileChooser; 29 import javax.swing.JLabel;30 import javax.swing.JList;31 22 import javax.swing.JOptionPane; 32 import javax.swing.JPanel;33 import javax.swing.JScrollPane;34 import javax.swing.JTabbedPane;35 23 import javax.swing.JTable; 36 import javax.swing.JTextField;37 import javax.swing.ListSelectionModel;38 import javax.swing.event.ListSelectionEvent;39 import javax.swing.event.ListSelectionListener;40 import javax.swing.event.TableModelEvent;41 import javax.swing.event.TableModelListener;42 import javax.swing.table.DefaultTableModel;43 24 44 25 import org.openstreetmap.josm.Main; 45 26 import org.openstreetmap.josm.actions.JosmAction; 46 import org.openstreetmap.josm.command.Command;47 import org.openstreetmap.josm.command.ChangeCommand;48 import org.openstreetmap.josm.command.DeleteCommand;49 27 import org.openstreetmap.josm.data.coor.LatLon; 50 28 import org.openstreetmap.josm.data.gpx.GpxData; 51 29 import org.openstreetmap.josm.data.gpx.GpxTrack; 52 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;53 30 import org.openstreetmap.josm.data.gpx.WayPoint; 54 31 import org.openstreetmap.josm.data.osm.DataSet; … … 57 34 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; 58 35 import org.openstreetmap.josm.io.GpxReader; 59 60 36 import org.xml.sax.SAXException; 61 37 -
applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterDialog.java
r26345 r29854 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.Container;7 6 import java.awt.Frame; 8 7 import java.awt.GridBagConstraints; 9 8 import java.awt.GridBagLayout; 10 import java.awt.event.ActionEvent;11 import java.io.File;12 import java.io.FileInputStream;13 import java.io.FileNotFoundException;14 import java.io.InputStream;15 import java.io.IOException;16 import java.text.DecimalFormat;17 import java.text.Format;18 import java.util.Collections;19 import java.util.Iterator;20 import java.util.Vector;21 import java.util.zip.GZIPInputStream;22 9 23 10 import javax.swing.DefaultCellEditor; … … 27 14 import javax.swing.JComponent; 28 15 import javax.swing.JDialog; 29 import javax.swing.JFileChooser;30 16 import javax.swing.JLabel; 31 17 import javax.swing.JList; … … 40 26 import javax.swing.event.ListSelectionEvent; 41 27 import javax.swing.event.ListSelectionListener; 42 import javax.swing.event.TableModelEvent;43 import javax.swing.event.TableModelListener;44 import javax.swing.table.DefaultTableModel;45 28 46 29 import org.openstreetmap.josm.Main; 47 import org.openstreetmap.josm.actions.JosmAction;48 import org.openstreetmap.josm.command.Command;49 import org.openstreetmap.josm.command.ChangeCommand;50 import org.openstreetmap.josm.command.DeleteCommand;51 import org.openstreetmap.josm.data.coor.LatLon;52 import org.openstreetmap.josm.data.gpx.GpxData;53 import org.openstreetmap.josm.data.gpx.GpxTrack;54 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;55 import org.openstreetmap.josm.data.gpx.WayPoint;56 import org.openstreetmap.josm.data.osm.DataSet;57 import org.openstreetmap.josm.data.osm.Node;58 import org.openstreetmap.josm.data.osm.OsmPrimitive;59 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;60 import org.openstreetmap.josm.io.GpxReader;61 62 import org.xml.sax.SAXException;63 30 64 31 public class StopImporterDialog -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackReference.java
r26345 r29854 4 4 5 5 import java.util.Iterator; 6 import java.util.Vector; 6 7 7 import javax.swing.JOptionPane; 8 8 import javax.swing.event.TableModelEvent; … … 10 10 11 11 import org.openstreetmap.josm.Main; 12 import org.openstreetmap.josm.command.ChangeCommand; 12 13 import org.openstreetmap.josm.command.Command; 13 import org.openstreetmap.josm.command.ChangeCommand;14 import org.openstreetmap.josm.command.DeleteCommand;15 14 import org.openstreetmap.josm.data.coor.LatLon; 16 15 import org.openstreetmap.josm.data.gpx.GpxTrack; -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistAddCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 6 7 import org.openstreetmap.josm.command.Command; 7 import org.openstreetmap.josm.data.osm.Node;8 8 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 9 13 10 public class TrackStoplistAddCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDeleteCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class TrackStoplistDeleteCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDetachCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 import java.util.Vector; 7 6 8 import org.openstreetmap.josm.command.Command; 7 9 import org.openstreetmap.josm.data.osm.Node; 8 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 11 13 12 public class TrackStoplistDetachCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistNameCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 6 7 import org.openstreetmap.josm.command.Command; 7 8 import org.openstreetmap.josm.data.coor.LatLon; 8 9 import org.openstreetmap.josm.data.osm.Node; 9 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 10 11 import java.util.Collection;12 import java.util.Vector;13 11 14 12 public class TrackStoplistNameCommand extends Command … … 24 22 private LatLon oldLatLon = null; 25 23 26 @SuppressWarnings("unchecked")27 24 public TrackStoplistNameCommand(TrackReference trackref, int workingLine) 28 25 { -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistRelocateCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 6 7 import org.openstreetmap.josm.command.Command; 7 8 import org.openstreetmap.josm.data.osm.Node; 8 9 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Collections;12 import java.util.Iterator;13 import java.util.Vector;14 import javax.swing.DefaultListModel;15 10 16 11 public class TrackStoplistRelocateCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistSortCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import org.openstreetmap.josm.Main;6 import org.openstreetmap.josm.command.Command;7 import org.openstreetmap.josm.data.osm.Node;8 import org.openstreetmap.josm.data.osm.OsmPrimitive;9 4 10 5 import java.util.Collection; … … 12 7 import java.util.Iterator; 13 8 import java.util.Vector; 14 import javax.swing.DefaultListModel; 15 import javax.swing.JLabel; 9 10 import org.openstreetmap.josm.command.Command; 11 import org.openstreetmap.josm.data.osm.Node; 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 16 13 17 14 public class TrackStoplistSortCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistTableModel.java
r26168 r29854 4 4 5 5 import java.util.Vector; 6 6 7 import javax.swing.table.DefaultTableModel; 7 8 -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackSuggestStopsCommand.java
r27886 r29854 4 4 5 5 import java.util.Collection; 6 import java.util.Collections;7 6 import java.util.Iterator; 8 7 import java.util.Vector; 9 import javax.swing.DefaultListModel;10 8 11 9 import org.openstreetmap.josm.Main; -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointTableModel.java
r26168 r29854 4 4 5 5 import java.util.Vector; 6 6 7 import javax.swing.event.TableModelEvent; 7 8 import javax.swing.event.TableModelListener; -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDetachCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 import java.util.Vector; 7 6 8 import org.openstreetmap.josm.command.Command; 7 9 import org.openstreetmap.josm.data.osm.Node; 8 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 11 13 12 public class WaypointsDetachCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDisableCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class WaypointsDisableCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsEnableCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class WaypointsEnableCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsNameCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 6 7 import org.openstreetmap.josm.command.Command; 7 import org.openstreetmap.josm.data.osm.Node;8 8 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 9 13 10 public class WaypointsNameCommand extends Command
Note:
See TracChangeset
for help on using the changeset viewer.