Ignore:
Timestamp:
2007-11-22T11:46:27+01:00 (17 years ago)
Author:
hakan
Message:

Refactoring into clean package structure

Location:
applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap
Files:
3 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapLayer.java

    r5672 r5674  
    1 package slippymap;
    2 
    3 import static org.openstreetmap.josm.tools.I18n.tr;
     1package org.openstreetmap.josm.plugins.slippymap;
    42
    53import java.awt.Color;
     
    86import java.awt.Image;
    97import java.awt.Point;
    10 import java.awt.Rectangle;
    118import java.awt.event.ActionEvent;
    12 import java.awt.event.ActionListener;
    139import java.awt.event.MouseAdapter;
    1410import java.awt.event.MouseEvent;
    1511import java.awt.image.ImageObserver;
    16 import java.io.File;
    1712import java.util.ArrayList;
    18 import java.util.Collection;
    19 import java.util.Date;
    2013import java.util.HashMap;
    2114
    2215import javax.swing.AbstractAction;
    23 import javax.swing.Action;
    2416import javax.swing.Icon;
    25 import javax.swing.JColorChooser;
    26 import javax.swing.JLabel;
    2717import javax.swing.JMenuItem;
    28 import javax.swing.JOptionPane;
    2918import javax.swing.JPopupMenu;
    3019import javax.swing.JSeparator;
     
    3221
    3322import org.openstreetmap.josm.Main;
    34 import org.openstreetmap.josm.actions.JosmAction;
    3523import org.openstreetmap.josm.actions.RenameLayerAction;
    36 import org.openstreetmap.josm.data.coor.EastNorth;
    3724import org.openstreetmap.josm.data.coor.LatLon;
    3825import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    39 import org.openstreetmap.josm.data.projection.Mercator;
    40 import org.openstreetmap.josm.data.projection.Projection;
    41 import org.openstreetmap.josm.gui.MapFrame;
    4226import org.openstreetmap.josm.gui.MapView;
    43 import org.openstreetmap.josm.gui.MapView.LayerChangeListener;
    4427import org.openstreetmap.josm.gui.dialogs.LayerListDialog;
    4528import org.openstreetmap.josm.gui.dialogs.LayerListPopup;
    4629import org.openstreetmap.josm.gui.layer.Layer;
    47 import org.openstreetmap.josm.gui.layer.markerlayer.Marker;
    48 import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
    49 import org.openstreetmap.josm.tools.ColorHelper;
    5030import org.openstreetmap.josm.tools.ImageProvider;
    5131
  • applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapPlugin.java

    r5672 r5674  
    1 package slippymap;
    2 
    3 import static org.openstreetmap.josm.tools.I18n.tr;
    4 
    5 import java.awt.event.ActionEvent;
    6 import java.awt.event.ActionListener;
    7 import java.awt.event.KeyEvent;
    8 import java.util.ArrayList;
    9 import java.util.Collection;
    10 
    11 import javax.swing.JCheckBoxMenuItem;
    12 import javax.swing.JMenu;
    13 import javax.swing.JMenuBar;
    14 import javax.swing.JMenuItem;
    15 import javax.swing.event.ChangeEvent;
    16 import javax.swing.event.ChangeListener;
     1package org.openstreetmap.josm.plugins.slippymap;
    172
    183import org.openstreetmap.josm.Main;
    194import org.openstreetmap.josm.gui.MapFrame;
    20 import org.openstreetmap.josm.gui.layer.RawGpsLayer.GpsPoint;
    21 import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
    225import org.openstreetmap.josm.plugins.Plugin;
    236
  • applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapTile.java

    r5672 r5674  
    1 package slippymap;
     1package org.openstreetmap.josm.plugins.slippymap;
     2
    23import java.awt.Image;
    34import java.awt.Toolkit;
    4 import java.awt.image.ImageObserver;
    55import java.io.BufferedReader;
    66import java.io.InputStreamReader;
     
    88import java.net.URL;
    99import java.net.URLConnection;
    10 
    11 import javax.swing.ImageIcon;
    12 import javax.swing.JComponent;
    1310
    1411/**
Note: See TracChangeset for help on using the changeset viewer.