Changeset 31041 in osm


Ignore:
Timestamp:
2015-03-01T23:43:52+01:00 (10 years ago)
Author:
donvip
Message:

[josm-mapillary] fix project

Location:
applications/editors/josm/plugins/mapillary
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/.classpath

    r30944 r31041  
    22<classpath>
    33        <classpathentry kind="src" path="src"/>
    4         <classpathentry kind="src" path="test/src"/>
    5         <!-- <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/>
    6         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    7         <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
    8         <classpathentry kind="lib" path="/JOSM/dist/josm-custom.jar" sourcepath="/JOSM/src"/>
    9         <classpathentry kind="lib" path="/JOSM/test/build" sourcepath="/JOSM/test/functional"/>
    10         <classpathentry kind="lib" path="test/config"/>
    11         <classpathentry kind="output" path="build"/> -->
     4        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
     5        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
     6        <classpathentry kind="output" path="bin"/>
    127</classpath>
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryDialog.java

    r30950 r31041  
    11/**
    2  * 
     2 *
    33 */
    44package org.openstreetmap.josm.plugins.mapillary;
     
    1010import java.awt.Insets;
    1111import java.awt.event.ActionListener;
    12 import java.util.Enumeration;
    13 import java.util.LinkedList;
    14 import java.util.List;
    1512
    1613import javax.swing.JButton;
    1714import javax.swing.JCheckBox;
    1815import javax.swing.JComboBox;
    19 import javax.swing.JDialog;
    2016import javax.swing.JLabel;
    21 import javax.swing.JList;
    2217import javax.swing.JOptionPane;
    2318import javax.swing.JPanel;
    24 import javax.swing.ListCellRenderer;
    2519
    2620import org.openstreetmap.josm.Main;
     
    3630    private JCheckBox delete;
    3731    private JComboBox portCombo;
    38    
     32
    3933
    4034    public MapillaryDialog() {
     
    4539
    4640        portCombo = new JComboBox();
    47        
     41
    4842        refreshPorts();
    4943        c.insets = new Insets(4,4,4,4);
     
    6357        refreshBtn = new JButton(tr("Refresh"));
    6458        refreshBtn.addActionListener(new ActionListener(){
    65                 public void actionPerformed(java.awt.event.ActionEvent e){
     59                @Override
     60                                public void actionPerformed(java.awt.event.ActionEvent e){
    6661                    refreshPorts();
    6762                }
     
    7772        configBtn = new JButton(tr("Configure"));
    7873        configBtn.addActionListener(new ActionListener(){
    79                 public void actionPerformed(java.awt.event.ActionEvent e){
    80                     System.out.println("configureing the device");
     74                @Override
     75                                public void actionPerformed(java.awt.event.ActionEvent e){
     76                    System.out.println("configuring the device");
    8177                    try{
    8278
    83                        
    84                        
    85                      
     79
     80
     81
    8682
    8783                    }catch(Exception ex){
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryPlugin.java

    r30951 r31041  
    11package org.openstreetmap.josm.plugins.mapillary;
    22
    3 import java.util.ArrayList;
    4 
    5 import org.openstreetmap.josm.Main;
    63import org.openstreetmap.josm.gui.MapFrame;
    7 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
    84import org.openstreetmap.josm.plugins.Plugin;
    95import org.openstreetmap.josm.plugins.PluginInformation;
    106
    11 import org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer;
    12 import org.openstreetmap.josm.gui.layer.geoimage.ImageDisplay;
    13 import org.openstreetmap.josm.gui.layer.geoimage.ImageEntry;
    14 import org.openstreetmap.josm.gui.layer.geoimage.ImageViewerDialog;
    15 
    167/**
    178 * This is the main class for the mapillary plugin.
    18  * 
     9 *
    1910 */
    2011public class MapillaryPlugin extends Plugin{
    21        
     12
    2213    public MapillaryPlugin(PluginInformation info) {
    2314        super(info);
    2415    }
    25    
     16
    2617    /**
    27      * Called when the JOSM map frame is created or destroyed. 
     18     * Called when the JOSM map frame is created or destroyed.
    2819     */
    2920    @Override
    30     public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {             
     21    public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
    3122        if (oldFrame == null && newFrame != null) { // map frame added
    32                
     23
    3324        }
    3425    }
Note: See TracChangeset for help on using the changeset viewer.