Changeset 30701 in osm for applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap
- Timestamp:
- 2014-10-04T17:28:45+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java
r29124 r30701 253 253 double startAngle = realA1; 254 254 // Transform the angles to get a consistent starting point 255 double a1 = 0; 255 //double a1 = 0; 256 256 double a2 = normalizeAngle(realA2 - startAngle); 257 257 double a3 = normalizeAngle(realA3 - startAngle); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/multitagger/MultiTagDialog.java
r30419 r30701 1 1 package org.openstreetmap.josm.plugins.utilsplugin2.multitagger; 2 3 import static org.openstreetmap.josm.tools.I18n.marktr; 4 import static org.openstreetmap.josm.tools.I18n.tr; 2 5 3 6 import java.awt.Color; … … 18 21 import java.util.LinkedList; 19 22 import java.util.List; 23 20 24 import javax.swing.AbstractAction; 21 import static javax.swing.Action.SHORT_DESCRIPTION;22 25 import javax.swing.BoxLayout; 23 import javax.swing.DefaultCellEditor;24 26 import javax.swing.JButton; 25 27 import javax.swing.JComponent; … … 35 37 import javax.swing.event.ListSelectionListener; 36 38 import javax.swing.table.DefaultTableCellRenderer; 39 37 40 import org.openstreetmap.josm.Main; 38 41 import org.openstreetmap.josm.actions.AutoScaleAction; … … 51 54 import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher; 52 55 import org.openstreetmap.josm.tools.GBC; 53 import static org.openstreetmap.josm.tools.I18n.marktr;54 import static org.openstreetmap.josm.tools.I18n.tr;55 56 import org.openstreetmap.josm.tools.ImageProvider; 56 import org.openstreetmap.josm.tools.Shortcut;57 57 import org.openstreetmap.josm.tools.WindowGeometry; 58 58 … … 166 166 } 167 167 168 private OsmPrimitive getSelectedPrimitive() { 168 /*private OsmPrimitive getSelectedPrimitive() { 169 169 int idx = tbl.getSelectedRow(); 170 170 if (idx>=0) { … … 173 173 return null; 174 174 } 175 } 175 }*/ 176 176 177 177 private final MouseAdapter tableMouseAdapter = new MouseAdapter() { -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/multitagger/MultiTaggerTableModel.java
r30389 r30701 10 10 import java.util.List; 11 11 import java.util.Set; 12 12 13 import javax.swing.JTable; 13 14 import javax.swing.table.AbstractTableModel; 14 import javax.swing.table.TableCellEditor; 15 15 16 import org.openstreetmap.josm.Main; 16 17 import org.openstreetmap.josm.command.ChangePropertyCommand; -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/IntersectedWaysAction.java
r30177 r30701 10 10 import java.util.HashSet; 11 11 import java.util.Set; 12 12 13 import javax.swing.JOptionPane; 13 import org.openstreetmap.josm.Main; 14 14 15 import org.openstreetmap.josm.actions.JosmAction; 15 import org.openstreetmap.josm.data.osm.*; 16 import org.openstreetmap.josm.data.osm.OsmPrimitive; 17 import org.openstreetmap.josm.data.osm.Way; 16 18 import org.openstreetmap.josm.gui.Notification; 17 18 19 import org.openstreetmap.josm.tools.Shortcut; 19 20 -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/IntersectedWaysRecursiveAction.java
r30177 r30701 10 10 import java.util.HashSet; 11 11 import java.util.Set; 12 12 13 import javax.swing.JOptionPane; 13 import org.openstreetmap.josm.Main; 14 14 15 import org.openstreetmap.josm.actions.JosmAction; 15 import org.openstreetmap.josm.data.osm.*; 16 import org.openstreetmap.josm.data.osm.OsmPrimitive; 17 import org.openstreetmap.josm.data.osm.Way; 16 18 import org.openstreetmap.josm.gui.Notification; 17 import static org.openstreetmap.josm.tools.I18n.tr;18 19 19 import org.openstreetmap.josm.tools.Shortcut; 20 20 -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/MiddleNodesAction.java
r30177 r30701 10 10 import java.util.HashSet; 11 11 import java.util.Set; 12 12 13 import javax.swing.JOptionPane; 13 import org.openstreetmap.josm.Main; 14 14 15 import org.openstreetmap.josm.actions.JosmAction; 15 import org.openstreetmap.josm.data.osm.*; 16 import org.openstreetmap.josm.data.osm.Node; 17 import org.openstreetmap.josm.data.osm.OsmPrimitive; 16 18 import org.openstreetmap.josm.gui.Notification; 17 18 19 import org.openstreetmap.josm.tools.Shortcut; 19 20 -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectAllInsideAction.java
r30200 r30701 11 11 import javax.swing.JOptionPane; 12 12 13 import org.openstreetmap.josm.Main;14 13 import org.openstreetmap.josm.actions.JosmAction; 15 import org.openstreetmap.josm.data.osm. *;14 import org.openstreetmap.josm.data.osm.OsmPrimitive; 16 15 import org.openstreetmap.josm.gui.Notification; 17 18 16 import org.openstreetmap.josm.tools.Shortcut; 19 17 -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectHighwayAction.java
r30177 r30701 6 6 import java.awt.event.ActionEvent; 7 7 import java.awt.event.KeyEvent; 8 import java.util.*; 8 import java.util.ArrayList; 9 import java.util.Collection; 10 import java.util.Collections; 11 import java.util.HashSet; 12 import java.util.LinkedList; 13 import java.util.List; 14 import java.util.Queue; 15 import java.util.Set; 16 9 17 import javax.swing.JOptionPane; 10 import org.openstreetmap.josm.Main; 18 11 19 import org.openstreetmap.josm.actions.JosmAction; 12 import org.openstreetmap.josm.data.osm.*; 20 import org.openstreetmap.josm.data.osm.Node; 21 import org.openstreetmap.josm.data.osm.OsmPrimitive; 22 import org.openstreetmap.josm.data.osm.Way; 13 23 import org.openstreetmap.josm.gui.Notification; 14 import static org.openstreetmap.josm.tools.I18n.tr;15 24 import org.openstreetmap.josm.tools.Shortcut; 16 25
Note:
See TracChangeset
for help on using the changeset viewer.