Changeset 5926 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2013-05-05T21:56:58+02:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AddNodeAction.java
r4982 r5926 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.command.AddCommand; 12 import org.openstreetmap.josm.data.coor.EastNorth;13 12 import org.openstreetmap.josm.data.coor.LatLon; 14 13 import org.openstreetmap.josm.data.osm.Node; -
trunk/src/org/openstreetmap/josm/actions/HistoryInfoWebAction.java
r4982 r5926 2 2 package org.openstreetmap.josm.actions; 3 3 4 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 6 7 import java.awt.event.KeyEvent; 7 8 8 import org.openstreetmap.josm.Main;9 9 import org.openstreetmap.josm.data.osm.OsmPrimitive; 10 10 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; 11 11 import org.openstreetmap.josm.tools.Shortcut; 12 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;13 12 14 13 public class HistoryInfoWebAction extends AbstractInfoAction { -
trunk/src/org/openstreetmap/josm/actions/InfoWebAction.java
r4982 r5926 2 2 package org.openstreetmap.josm.actions; 3 3 4 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;6 6 7 7 import java.awt.event.KeyEvent; 8 8 9 import org.openstreetmap.josm.Main;10 9 import org.openstreetmap.josm.data.osm.OsmPrimitive; 11 10 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; -
trunk/src/org/openstreetmap/josm/actions/ParameterizedAction.java
r5170 r5926 6 6 import java.util.Map; 7 7 8 import javax.swing.Action;9 10 8 public interface ParameterizedAction extends AdaptableAction { 11 9 -
trunk/src/org/openstreetmap/josm/actions/SessionLoadAction.java
r5670 r5926 16 16 17 17 import org.openstreetmap.josm.Main; 18 import org.openstreetmap.josm.data.coor.EastNorth;19 18 import org.openstreetmap.josm.gui.HelpAwareOptionPane; 20 import org.openstreetmap.josm.gui.NavigatableComponent;21 19 import org.openstreetmap.josm.gui.NavigatableComponent.ViewportData; 22 20 import org.openstreetmap.josm.gui.PleaseWaitRunnable; -
trunk/src/org/openstreetmap/josm/actions/UnselectAllAction.java
r4982 r5926 8 8 import java.awt.event.KeyEvent; 9 9 10 import org.openstreetmap.josm.Main;11 10 import org.openstreetmap.josm.tools.Shortcut; 12 11 -
trunk/src/org/openstreetmap/josm/actions/ZoomInAction.java
r4982 r5926 7 7 import java.awt.event.ActionEvent; 8 8 import java.awt.event.KeyEvent; 9 10 import javax.swing.KeyStroke;11 9 12 10 import org.openstreetmap.josm.Main; -
trunk/src/org/openstreetmap/josm/actions/ZoomOutAction.java
r4982 r5926 7 7 import java.awt.event.ActionEvent; 8 8 import java.awt.event.KeyEvent; 9 10 import javax.swing.KeyStroke;11 9 12 10 import org.openstreetmap.josm.Main; -
trunk/src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java
r5013 r5926 2 2 package org.openstreetmap.josm.actions.upload; 3 3 4 import java.awt.Dimension;5 4 import static org.openstreetmap.josm.tools.I18n.tr; 6 5 6 import java.awt.Dimension; 7 7 import java.awt.GridBagLayout; 8 8 import java.util.ArrayList; … … 10 10 import java.util.List; 11 11 12 import javax.swing.JOptionPane;13 12 import javax.swing.JPanel; 14 13 import javax.swing.JScrollPane; -
trunk/src/org/openstreetmap/josm/command/AddPrimitivesCommand.java
r5170 r5926 9 9 import java.util.List; 10 10 import javax.swing.Icon; 11 12 import javax.swing.JLabel;13 11 14 12 import org.openstreetmap.josm.data.osm.DataSet; -
trunk/src/org/openstreetmap/josm/command/ModifiedConflictResolveCommand.java
r5816 r5926 6 6 7 7 import java.util.Collection; 8 8 9 import javax.swing.Icon; 9 10 import javax.swing.JLabel;11 10 12 11 import org.openstreetmap.josm.data.conflict.Conflict; -
trunk/src/org/openstreetmap/josm/command/PseudoCommand.java
r5002 r5926 3 3 4 4 import java.util.Collection; 5 5 6 import javax.swing.Icon; 6 import javax.swing.JLabel;7 7 8 8 import org.openstreetmap.josm.data.osm.OsmPrimitive; -
trunk/src/org/openstreetmap/josm/command/SequenceCommand.java
r4918 r5926 8 8 import java.util.HashSet; 9 9 import java.util.List; 10 10 11 import javax.swing.Icon; 11 12 12 import javax.swing.JLabel;13 14 import org.openstreetmap.josm.Main;15 13 import org.openstreetmap.josm.data.osm.OsmPrimitive; 16 14 import org.openstreetmap.josm.tools.ImageProvider; -
trunk/src/org/openstreetmap/josm/data/osm/Filter.java
r4895 r5926 8 8 import org.openstreetmap.josm.data.Preferences.pref; 9 9 import org.openstreetmap.josm.data.Preferences.writeExplicitly; 10 import org.openstreetmap.josm.tools.Utils;11 10 12 11 /** -
trunk/src/org/openstreetmap/josm/data/projection/datum/GRS80Datum.java
r5237 r5926 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import org.openstreetmap.josm.data.coor.LatLon;7 6 import org.openstreetmap.josm.data.projection.Ellipsoid; 8 7 -
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFileWrapper.java
r5226 r5926 6 6 import java.io.InputStream; 7 7 8 import org.openstreetmap.josm.Main;9 8 import org.openstreetmap.josm.io.MirroredInputStream; 10 9 -
trunk/src/org/openstreetmap/josm/data/projection/datum/WGS84Datum.java
r5237 r5926 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import org.openstreetmap.josm.data.coor.LatLon;7 6 import org.openstreetmap.josm.data.projection.Ellipsoid; 8 7 -
trunk/src/org/openstreetmap/josm/data/projection/proj/TransverseMercator.java
r5066 r5926 6 6 import static org.openstreetmap.josm.tools.I18n.tr; 7 7 8 import org.openstreetmap.josm.data.projection.Ellipsoid;9 8 import org.openstreetmap.josm.data.projection.ProjectionConfigurationException; 10 9 -
trunk/src/org/openstreetmap/josm/gui/BookmarkList.java
r5874 r5926 5 5 6 6 import java.awt.Component; 7 import java.io.IOException;8 7 import java.io.BufferedReader; 9 import java.io.InputStreamReader;10 8 import java.io.File; 11 9 import java.io.FileInputStream; 12 import java.io. FileOutputStream;13 import java.io. OutputStreamWriter;14 import java. io.PrintWriter;10 import java.io.IOException; 11 import java.io.InputStreamReader; 12 import java.util.ArrayList; 15 13 import java.util.Arrays; 16 import java.util.ArrayList;17 14 import java.util.Collection; 18 15 import java.util.Collections; -
trunk/src/org/openstreetmap/josm/gui/HelpAwareOptionPane.java
r5909 r5926 13 13 import java.util.List; 14 14 15 import javax.swing.*; 15 import javax.swing.AbstractAction; 16 import javax.swing.Action; 17 import javax.swing.Icon; 18 import javax.swing.JButton; 19 import javax.swing.JComponent; 20 import javax.swing.JDialog; 21 import javax.swing.JOptionPane; 22 import javax.swing.KeyStroke; 23 import javax.swing.SwingUtilities; 16 24 17 25 import org.openstreetmap.josm.gui.help.HelpBrowser; -
trunk/src/org/openstreetmap/josm/gui/IconToggleButton.java
r4843 r5926 7 7 import java.beans.PropertyChangeListener; 8 8 9 import javax.swing.AbstractAction;10 9 import javax.swing.Action; 11 10 import javax.swing.Icon; -
trunk/src/org/openstreetmap/josm/gui/SideButton.java
r5799 r5926 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui; 3 4 import static org.openstreetmap.josm.tools.I18n.tr;5 3 6 4 import java.awt.BorderLayout; -
trunk/src/org/openstreetmap/josm/gui/SplashScreen.java
r5797 r5926 6 6 import java.awt.Color; 7 7 import java.awt.Dimension; 8 import java.awt.Font;9 8 import java.awt.GridBagConstraints; 10 9 import java.awt.GridBagLayout; … … 12 11 import java.awt.event.MouseAdapter; 13 12 import java.awt.event.MouseEvent; 14 15 13 import java.util.Arrays; 16 14 import java.util.LinkedList; 15 17 16 import javax.swing.JFrame; 18 17 import javax.swing.JLabel; -
trunk/src/org/openstreetmap/josm/gui/conflict/ConflictColors.java
r5464 r5926 5 5 6 6 import java.awt.Color; 7 import java.util.List;8 7 9 8 import org.openstreetmap.josm.Main; -
trunk/src/org/openstreetmap/josm/gui/dialogs/CommandStackDialog.java
r5727 r5926 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.BorderLayout;7 6 import java.awt.Component; 8 7 import java.awt.Dimension; -
trunk/src/org/openstreetmap/josm/gui/dialogs/FilterDialog.java
r5903 r5926 2 2 package org.openstreetmap.josm.gui.dialogs; 3 3 4 import static org.openstreetmap.josm.tools.I18n.marktr;5 4 import static org.openstreetmap.josm.tools.I18n.tr; 6 5 -
trunk/src/org/openstreetmap/josm/gui/dialogs/FilterTableModel.java
r4896 r5926 14 14 import java.util.LinkedList; 15 15 import java.util.List; 16 import java.util.Map;17 16 18 17 import javax.swing.BorderFactory; -
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java
r5899 r5926 42 42 import org.openstreetmap.josm.gui.MapView; 43 43 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 44 import org.openstreetmap.josm.gui.history.TwoColumnDiff.Item.DiffItemType;45 44 import org.openstreetmap.josm.gui.layer.Layer; 46 45 import org.openstreetmap.josm.gui.layer.OsmDataLayer; -
trunk/src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java
r5863 r5926 20 20 import org.openstreetmap.josm.gui.ExceptionDialogUtil; 21 21 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 22 import org.openstreetmap.josm.io.OsmApi;23 22 import org.openstreetmap.josm.io.OsmServerHistoryReader; 24 23 import org.openstreetmap.josm.io.OsmTransferException; -
trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java
r5440 r5926 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.history; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 3 5 4 6 import java.awt.BorderLayout; … … 6 8 import java.awt.GridBagLayout; 7 9 import java.awt.GridLayout; 8 9 import static org.openstreetmap.josm.tools.I18n.tr;10 11 10 import java.io.UnsupportedEncodingException; 12 11 import java.net.URLEncoder; -
trunk/src/org/openstreetmap/josm/gui/io/UpdatePrimitivesTask.java
r5452 r5926 6 6 7 7 import java.io.IOException; 8 import java.lang.reflect.InvocationTargetException;9 8 import java.util.Collection; 10 9 import java.util.Collections; 11 12 import javax.swing.SwingUtilities;13 10 14 11 import org.openstreetmap.josm.data.osm.DataSet; -
trunk/src/org/openstreetmap/josm/gui/layer/gpx/DateFilterPanel.java
r5815 r5926 1 1 // License: GPL. See LICENSE file for details. 2 2 package org.openstreetmap.josm.gui.layer.gpx; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 3 5 4 6 import java.awt.Component; … … 6 8 import java.awt.event.ActionEvent; 7 9 import java.awt.event.ActionListener; 8 import java.util.Arrays;9 10 import java.util.Date; 10 11 import java.util.GregorianCalendar; 11 import javax.swing.AbstractAction; 12 import javax.swing.JButton; 12 13 13 import javax.swing.JCheckBox; 14 14 import javax.swing.JPanel; … … 16 16 import javax.swing.event.ChangeEvent; 17 17 import javax.swing.event.ChangeListener; 18 18 19 import org.openstreetmap.josm.Main; 19 import org.openstreetmap.josm.tools.GBC;20 21 import static org.openstreetmap.josm.tools.I18n.tr;22 20 import org.openstreetmap.josm.gui.layer.GpxLayer; 23 21 import org.openstreetmap.josm.gui.widgets.DateEditorWithSlider; 22 import org.openstreetmap.josm.tools.GBC; 24 23 25 24 public class DateFilterPanel extends JPanel { -
trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java
r5577 r5926 12 12 13 13 import org.openstreetmap.josm.gui.mappaint.mapcss.CSSColors; 14 import org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.MapCSSParser;15 14 import org.openstreetmap.josm.tools.Utils; 16 15 -
trunk/src/org/openstreetmap/josm/gui/preferences/server/ApiUrlTestTask.java
r5874 r5926 14 14 import javax.swing.JOptionPane; 15 15 16 import org.openstreetmap.josm.data.Version;17 16 import org.openstreetmap.josm.gui.HelpAwareOptionPane; 18 17 import org.openstreetmap.josm.gui.PleaseWaitRunnable; -
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionManager.java
r5791 r5926 14 14 import org.openstreetmap.josm.data.osm.DataSet; 15 15 import org.openstreetmap.josm.data.osm.OsmPrimitive; 16 import org.openstreetmap.josm.data.osm.OsmUtils;17 16 import org.openstreetmap.josm.data.osm.Relation; 18 17 import org.openstreetmap.josm.data.osm.RelationMember; -
trunk/src/org/openstreetmap/josm/gui/util/RedirectInputMap.java
r4897 r5926 6 6 import javax.swing.JComponent; 7 7 import javax.swing.KeyStroke; 8 9 import org.openstreetmap.josm.Main;10 8 11 9 /** -
trunk/src/org/openstreetmap/josm/io/MirroredInputStream.java
r5874 r5926 14 14 import java.net.MalformedURLException; 15 15 import java.net.URL; 16 import java.net.URLConnection;17 16 import java.util.ArrayList; 18 17 import java.util.Arrays; 19 import java.util.Collection;20 18 import java.util.Enumeration; 21 19 import java.util.List; -
trunk/src/org/openstreetmap/josm/io/OsmExporter.java
r5874 r5926 5 5 6 6 import java.io.File; 7 import java.io.FileInputStream;8 7 import java.io.FileNotFoundException; 9 8 import java.io.FileOutputStream; -
trunk/src/org/openstreetmap/josm/io/imagery/WMSGrabber.java
r5874 r5926 26 26 27 27 import org.openstreetmap.josm.Main; 28 import org.openstreetmap.josm.data.Version;29 28 import org.openstreetmap.josm.data.coor.EastNorth; 30 29 import org.openstreetmap.josm.data.coor.LatLon; -
trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java
r5874 r5926 28 28 29 29 import org.openstreetmap.josm.Main; 30 import org.openstreetmap.josm.data.Version;31 30 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 32 31 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; -
trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java
r5916 r5926 1 1 // License: GPL. Copyright 2007 by Immanuel Scholz and others 2 2 package org.openstreetmap.josm.tools; 3 4 import static org.openstreetmap.josm.tools.I18n.marktr;5 6 import org.openstreetmap.josm.Main;7 3 8 4 import java.util.Locale; -
trunk/src/org/openstreetmap/josm/tools/Shortcut.java
r5266 r5926 7 7 import java.util.ArrayList; 8 8 import java.util.Arrays; 9 import java.util.Collection;10 9 import java.util.HashMap; 11 10 import java.util.LinkedHashMap; … … 17 16 import javax.swing.AbstractButton; 18 17 import javax.swing.JMenu; 19 import javax.swing.JOptionPane;20 18 import javax.swing.KeyStroke; 21 19 -
trunk/src/org/openstreetmap/josm/tools/WindowGeometry.java
r5514 r5926 6 6 import java.awt.Component; 7 7 import java.awt.Dimension; 8 import java.awt.GraphicsConfiguration;9 8 import java.awt.GraphicsDevice; 10 9 import java.awt.GraphicsEnvironment; -
trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java
r5580 r5926 30 30 import org.xml.sax.Locator; 31 31 import org.xml.sax.SAXException; 32 import org.xml.sax.SAXNotRecognizedException;33 import org.xml.sax.SAXNotSupportedException;34 32 import org.xml.sax.SAXParseException; 35 33 import org.xml.sax.XMLReader;
Note:
See TracChangeset
for help on using the changeset viewer.