Changeset 33817 in osm for applications/editors/josm
- Timestamp:
- 2017-11-17T00:52:57+01:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/AbstractGTFSCatchJoinCommand.java
r33765 r33817 31 31 32 32 public AbstractGTFSCatchJoinCommand(GTFSImporterAction controller, boolean isCatch) { 33 super(MainApplication.getLayerManager().getEditDataSet()); 33 34 gtfsStopTM = controller.getGTFSStopTableModel(); 34 35 workingLines = new ArrayList<>(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/GTFSAddCommand.java
r33765 r33817 24 24 25 25 public GTFSAddCommand(GTFSImporterAction controller) { 26 super(MainApplication.getLayerManager().getEditDataSet()); 26 27 gtfsStopTM = controller.getGTFSStopTableModel(); 27 28 type = controller.getDialog().getStoptype(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/GTFSDeleteCommand.java
r33765 r33817 24 24 25 25 public GTFSDeleteCommand(GTFSImporterAction controller) { 26 super(MainApplication.getLayerManager().getEditDataSet()); 26 27 gtfsStopTM = controller.getGTFSStopTableModel(); 27 28 workingLines = new Vector<>(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/SettingsStoptypeCommand.java
r33765 r33817 12 12 import org.openstreetmap.josm.data.osm.Node; 13 13 import org.openstreetmap.josm.data.osm.OsmPrimitive; 14 import org.openstreetmap.josm.gui.MainApplication; 14 15 import org.openstreetmap.josm.plugins.public_transport.actions.StopImporterAction; 15 16 import org.openstreetmap.josm.plugins.public_transport.models.WaypointTableModel; … … 40 41 41 42 public SettingsStoptypeCommand(StopImporterAction controller) { 43 super(MainApplication.getLayerManager().getEditDataSet()); 42 44 waypointTM = controller.getWaypointTableModel(); 43 45 tracksListModel = controller.getTracksListModel(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/TrackStoplistAddCommand.java
r33765 r33817 8 8 import org.openstreetmap.josm.command.Command; 9 9 import org.openstreetmap.josm.data.osm.OsmPrimitive; 10 import org.openstreetmap.josm.gui.MainApplication; 10 11 import org.openstreetmap.josm.plugins.public_transport.actions.StopImporterAction; 11 12 import org.openstreetmap.josm.plugins.public_transport.models.TrackStoplistTableModel; … … 17 18 18 19 public TrackStoplistAddCommand(StopImporterAction controller) { 20 super(MainApplication.getLayerManager().getEditDataSet()); 19 21 stoplistTM = controller.getCurrentTrack().stoplistTM; 20 22 workingLine = controller.getDialog().getStoplistTable().getSelectedRow(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/TrackStoplistDeleteCommand.java
r33765 r33817 40 40 41 41 public TrackStoplistDeleteCommand(StopImporterAction controller) { 42 super(MainApplication.getLayerManager().getEditDataSet()); 42 43 stoplistTM = controller.getCurrentTrack().stoplistTM; 43 44 workingLines = new Vector<>(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/TrackStoplistDetachCommand.java
r33765 r33817 10 10 import org.openstreetmap.josm.data.osm.Node; 11 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 12 import org.openstreetmap.josm.gui.MainApplication; 12 13 import org.openstreetmap.josm.plugins.public_transport.actions.StopImporterAction; 13 14 import org.openstreetmap.josm.plugins.public_transport.models.TrackStoplistTableModel; … … 21 22 22 23 public TrackStoplistDetachCommand(StopImporterAction controller) { 24 super(MainApplication.getLayerManager().getEditDataSet()); 23 25 stoplistTM = controller.getCurrentTrack().stoplistTM; 24 26 workingLines = new Vector<>(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/TrackStoplistNameCommand.java
r33765 r33817 10 10 import org.openstreetmap.josm.data.osm.Node; 11 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 12 import org.openstreetmap.josm.gui.MainApplication; 12 13 import org.openstreetmap.josm.plugins.public_transport.TransText; 13 14 import org.openstreetmap.josm.plugins.public_transport.dialogs.StopImporterDialog; … … 34 35 35 36 public TrackStoplistNameCommand(TrackReference trackref, int workingLine) { 37 super(MainApplication.getLayerManager().getEditDataSet()); 36 38 this.trackref = trackref; 37 39 this.workingLine = workingLine; -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/TrackStoplistRelocateCommand.java
r33765 r33817 9 9 import org.openstreetmap.josm.data.osm.Node; 10 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 11 import org.openstreetmap.josm.gui.MainApplication; 11 12 import org.openstreetmap.josm.plugins.public_transport.actions.StopImporterAction; 12 13 import org.openstreetmap.josm.plugins.public_transport.dialogs.StopImporterDialog; … … 27 28 28 29 public TrackStoplistRelocateCommand(StopImporterAction controller) { 30 super(MainApplication.getLayerManager().getEditDataSet()); 29 31 this.controller = controller; 30 32 this.currentTrack = controller.getCurrentTrack(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/TrackStoplistSortCommand.java
r33765 r33817 12 12 import org.openstreetmap.josm.data.osm.Node; 13 13 import org.openstreetmap.josm.data.osm.OsmPrimitive; 14 import org.openstreetmap.josm.gui.MainApplication; 14 15 import org.openstreetmap.josm.plugins.public_transport.TransText; 15 16 import org.openstreetmap.josm.plugins.public_transport.actions.StopImporterAction; … … 33 34 34 35 public TrackStoplistSortCommand(StopImporterAction controller) { 36 super(MainApplication.getLayerManager().getEditDataSet()); 35 37 stoplistTM = controller.getCurrentTrack().stoplistTM; 36 38 workingLines = new Vector<>(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/TrackSuggestStopsCommand.java
r33765 r33817 44 44 45 45 public TrackSuggestStopsCommand(StopImporterAction controller) { 46 super(MainApplication.getLayerManager().getEditDataSet()); 46 47 if (controller.getCurrentTrack() == null) 47 48 return; -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/WaypointsDetachCommand.java
r33765 r33817 10 10 import org.openstreetmap.josm.data.osm.Node; 11 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 12 import org.openstreetmap.josm.gui.MainApplication; 12 13 import org.openstreetmap.josm.plugins.public_transport.actions.StopImporterAction; 13 14 import org.openstreetmap.josm.plugins.public_transport.models.WaypointTableModel; … … 21 22 22 23 public WaypointsDetachCommand(StopImporterAction controller) { 24 super(MainApplication.getLayerManager().getEditDataSet()); 23 25 waypointTM = controller.getWaypointTableModel(); 24 26 workingLines = new Vector<>(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/WaypointsDisableCommand.java
r33765 r33817 22 22 23 23 public WaypointsDisableCommand(StopImporterAction controller) { 24 super(MainApplication.getLayerManager().getEditDataSet()); 24 25 waypointTM = controller.getWaypointTableModel(); 25 26 workingLines = new Vector<>(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/WaypointsEnableCommand.java
r33765 r33817 23 23 24 24 public WaypointsEnableCommand(StopImporterAction controller) { 25 super(MainApplication.getLayerManager().getEditDataSet()); 25 26 waypointTM = controller.getWaypointTableModel(); 26 27 type = controller.getDialog().getStoptype(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/WaypointsNameCommand.java
r33765 r33817 8 8 import org.openstreetmap.josm.command.Command; 9 9 import org.openstreetmap.josm.data.osm.OsmPrimitive; 10 import org.openstreetmap.josm.gui.MainApplication; 10 11 import org.openstreetmap.josm.plugins.public_transport.TransText; 11 12 import org.openstreetmap.josm.plugins.public_transport.models.WaypointTableModel; … … 26 27 public WaypointsNameCommand(WaypointTableModel waypointTM, int workingLine, String name, 27 28 TransText shelter) { 29 super(MainApplication.getLayerManager().getEditDataSet()); 28 30 this.waypointTM = waypointTM; 29 31 this.workingLine = workingLine;
Note:
See TracChangeset
for help on using the changeset viewer.