Ignore:
Timestamp:
2009-01-01T18:28:53+01:00 (16 years ago)
Author:
stoecker
Message:

removed tab stop usage

Location:
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/ActionConstants.java

    r4277 r12778  
    1414 */
    1515public final class ActionConstants {
    16  
    17         /**
    18          *
    19         */
    20         private ActionConstants() { }
     16
     17    /**
     18     *
     19    */
     20    private ActionConstants() { }
    2121
    2222    public static final String SELECTED_KEY = "actionConstants.selected";
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveAction.java

    r12486 r12778  
    4848            autoSave = ((AbstractButton)e.getSource()).isSelected();
    4949        }
    50        
     50
    5151        if(autoSave) {
    5252            if(gpsDataTimer == null) {
     
    5454            }
    5555            TimerTask task;
    56            
     56
    5757            String gpxFilename = MessageFormat.format(GPS_FILE_NAME_PATTERN, new Date());
    5858            task = new AutoSaveGpsLayerTimerTask(gpxFilename, LiveGpsLayer.LAYER_NAME);
    5959            gpsDataTimer.schedule(task, 1000, AUTO_SAVE_PERIOD_SEC * 1000);
    60            
     60
    6161            String osmFilename = MessageFormat.format(OSM_FILE_NAME_PATTERN, new Date());
    6262            task = new AutoSaveEditLayerTimerTask(osmFilename);
     
    6767            }
    6868        }
    69        
    70        
     69
     70
    7171    }
    7272}
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveEditLayerTimerTask.java

    r4522 r12778  
    2828public class AutoSaveEditLayerTimerTask extends TimerTask {
    2929    private File file;
    30    
     30
    3131    public AutoSaveEditLayerTimerTask(String filename) {
    3232        file = new File(filename);
     
    4949//                outFile = file;
    5050//            }
    51            
     51
    5252            // write to temporary file, on success, rename tmp file to target file:
    5353            File tmpFile = new File(file.getAbsoluteFile()+".tmp");
     
    6060        } catch (IOException x) {
    6161            x.printStackTrace();
    62             JOptionPane.showMessageDialog(Main.parent, 
    63                 tr("Error while exporting {0}: {1}", file.getAbsoluteFile(), x.getMessage()), 
    64                 tr("Error"), 
     62            JOptionPane.showMessageDialog(Main.parent,
     63                tr("Error while exporting {0}: {1}", file.getAbsoluteFile(), x.getMessage()),
     64                tr("Error"),
    6565                JOptionPane.ERROR_MESSAGE);
    66         }       
     66        }
    6767    }
    6868
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveGpsLayerTimerTask.java

    r6164 r12778  
    2929 * if the layer does not exist at the start of the timer task. If the layer does not exist,
    3030 * the file is not written.
    31  * 
     31 *
    3232 * @author cdaller
    3333 *
     
    3636    private String gpsLayerName;
    3737    private File file;
    38    
     38
    3939    /**
    4040     * Constructor using the file to write to and the name of the layer.
     
    4747        this.file = new File(filename);
    4848    }
    49    
     49
    5050    /**
    5151     * @return the gpsLayerName
     
    6262    public void run() {
    6363
    64         try {           
     64        try {
    6565
    6666            GpxLayer gpsLayer = LayerUtil.findGpsLayer(gpsLayerName, GpxLayer.class);
     
    7878            synchronized(LiveGpsLock.class) {
    7979                gpxWriter.write(gpsLayer.data);
    80             }   
     80            }
    8181            tmpFile.renameTo(file);
    8282        } catch (IOException ioExc) {
    8383            ioExc.printStackTrace();
    84             JOptionPane.showMessageDialog(Main.parent, 
    85                 tr("Error while exporting {0}: {1}", file.getAbsoluteFile(), ioExc.getMessage()), 
    86                 tr("Error"), 
     84            JOptionPane.showMessageDialog(Main.parent,
     85                tr("Error while exporting {0}: {1}", file.getAbsoluteFile(), ioExc.getMessage()),
     86                tr("Error"),
    8787                JOptionPane.ERROR_MESSAGE);
    88         }       
     88        }
    8989    }
    9090}
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/ButtonDescription.java

    r4499 r12778  
    4444
    4545    /**
    46      * Default Constructor 
     46     * Default Constructor
    4747     */
    4848    public ButtonDescription() {
     
    5252     * @param hotkey
    5353     * @param actions a list of actions to be performed.
    54      * @param type if <code>null</code> {@link ButtonType#SINGLE} is used. 
     54     * @param type if <code>null</code> {@link ButtonType#SINGLE} is used.
    5555     */
    5656    public ButtonDescription(String label, String hotkey, String iconName, String buttonAction, ButtonType type) {
     
    6161     * @param hotkey
    6262     * @param actions a list of actions to be performed.
    63      * @param type if <code>null</code> {@link ButtonType#SINGLE} is used. 
     63     * @param type if <code>null</code> {@link ButtonType#SINGLE} is used.
    6464     */
    6565    public ButtonDescription(String label, String hotkey, String iconName, SurveyorActionDescription actionDescription, ButtonType type) {
     
    7777        return list;
    7878    }
    79    
     79
    8080    /**
    8181     * @param hotkey
    8282     * @param actions a list of actions to be performed.
    83      * @param type if <code>null</code> {@link ButtonType#SINGLE} is used. 
     83     * @param type if <code>null</code> {@link ButtonType#SINGLE} is used.
    8484     */
    8585    public ButtonDescription(String label, String hotkey, String iconName, List<SurveyorActionDescription> actions, ButtonType type) {
     
    140140        return this.type;
    141141    }
    142    
     142
    143143    /**
    144144     * Set the button type as a string.
     
    159159        this.type = type;
    160160    }
    161    
     161
    162162    /**
    163163     * Sets the name of the icon.
     
    167167        this.iconName = icon;
    168168    }
    169    
     169
    170170    /**
    171171     * Creates the button.
     
    173173     */
    174174    public JComponent createComponent() {
    175        
     175
    176176        String actionName = tr(getLabel()) + " (" + hotkey + ")";
    177            
     177
    178178        Icon icon = ImageProvider.getIfAvailable("markers",iconName);
    179179        if (icon == null)
     
    185185        action.setActions(actions);
    186186        action.setGpsDataSource(gpsDataSource);
    187                
     187
    188188        AbstractButton button;
    189189        if(type == ButtonType.TOGGLE) {
     
    206206        return button;
    207207    }
    208    
     208
    209209    private static void connectActionAndButton(Action action, AbstractButton button) {
    210210        SelectionStateAdapter adapter = new SelectionStateAdapter(action, button);
    211211        adapter.configure();
    212212    }
    213  
    214     /**
    215      * Class that connects the selection state of the action 
     213
     214    /**
     215     * Class that connects the selection state of the action
    216216     * to the selection state of the button.
    217      * 
     217     *
    218218     * @author R.J. Lorimer
    219219     */
     
    223223        public SelectionStateAdapter(Action theAction, AbstractButton theButton) {
    224224            action = theAction;
    225             button = theButton;         
     225            button = theButton;
    226226        }
    227227        protected void configure() {
     
    234234            action.putValue(ActionConstants.SELECTED_KEY, valueObj);
    235235        }
    236        
     236
    237237        public void propertyChange(PropertyChangeEvent evt) {
    238238            if(evt.getPropertyName().equals(ActionConstants.SELECTED_KEY)) {
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/ButtonType.java

    r4277 r12778  
    99 *
    1010 */
    11 public enum ButtonType { 
    12     SINGLE, 
    13     TOGGLE 
     11public enum ButtonType {
     12    SINGLE,
     13    TOGGLE
    1414}
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/GpsActionEvent.java

    r4277 r12778  
    1616    private static final long serialVersionUID = 2674961758007055637L;
    1717    private LatLon coordinates;
    18    
     18
    1919
    2020    /**
     
    3636    }
    3737
    38  
     38
    3939
    4040}
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/MetaAction.java

    r4277 r12778  
    1818/**
    1919 * Action that fires a {@link SurveyorAction} to the registered actions.
    20  * 
     20 *
    2121 * @author cdaller
    22  * 
     22 *
    2323 */
    2424public class MetaAction extends AbstractAction {
     
    3030
    3131    /**
    32      * 
     32     *
    3333     */
    3434    public MetaAction() {
     
    7070    /*
    7171     * (non-Javadoc)
    72      * 
     72     *
    7373     * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
    7474     */
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorAction.java

    r4277 r12778  
    1818     */
    1919    public void actionPerformed(GpsActionEvent event);
    20    
     20
    2121    /**
    2222     * Sets the parameters for the action execution.
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorActionDescription.java

    r4277 r12778  
    1919    private List<String> params;
    2020    private SurveyorAction action;
    21    
    22    
     21
     22
    2323    /**
    24      * Default Constructor 
     24     * Default Constructor
    2525     */
    2626    public SurveyorActionDescription() {
     
    8080        this.params = params;
    8181    }
    82    
     82
    8383    public void actionPerformed(GpsActionEvent e) {
    8484        if(action == null) {
     
    8888        action.actionPerformed(e);
    8989    }
    90    
     90
    9191    /**
    9292     * Sets the classname of the action to use. Callback method of xml parser.
     
    9696        setActionClass(claszName);
    9797    }
    98    
     98
    9999    /**
    100100     * Set the params as a comma separated string.
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorActionFactory.java

    r4277 r12778  
    1212 * the action instances are used as singletons!
    1313 * A package name of "at.dallermassl.josm.plugin.surveyor.action" is assumed, if the class could
    14  * not be found. 
    15  * 
     14 * not be found.
     15 *
    1616 * @author cdaller
    1717 *
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorComponent.java

    r12486 r12778  
    3232/**
    3333 * @author cdaller
    34  * 
     34 *
    3535 */
    3636public class SurveyorComponent extends JComponent implements PropertyChangeListener, GpsDataSource {
     
    5757        add(buttonPanel, BorderLayout.CENTER);
    5858    }
    59    
     59
    6060    /**
    6161     * Set the number of rows as a string (callback method from xml parser).
     
    6666        buttonPanel.setLayout(new GridLayout(rows, columns));
    6767    }
    68    
     68
    6969    /**
    7070     * Set the number of columns as a string (callback method from xml parser).
     
    7676        buttonPanel.setLayout(new GridLayout(rows, columns));
    7777    }
    78    
     78
    7979    /**
    8080     * Set the width as a string.
     
    8787        }
    8888    }
    89    
     89
    9090    /**
    9191     * Set the width as a string.
     
    115115        }
    116116    }
    117    
    118    
     117
     118
    119119
    120120    public static void main(String[] args) {
    121        
    122        
     121
     122
    123123        // parse xml file and create component from it:
    124124        Reader in = new InputStreamReader(SurveyorComponent.class.getClassLoader().getResourceAsStream("surveyor.xml"));
     
    151151        } catch (SAXException e) {
    152152            e.printStackTrace();
    153         }       
    154        
     153        }
     154
    155155//        SurveyorComponent surveyorComponent = new SurveyorComponent();
    156156//        surveyorComponent.setGridSize(3,3);
     
    163163//        surveyorComponent.addButton(new ButtonDescription("Residential", "R", null, "ConsolePrinterAction", null));
    164164//        surveyorComponent.addButton(new ButtonDescription("Parking", "P", "images/symbols/parking.png", "ConsolePrinterAction", null));
    165        
     165
    166166        JFrame frame = new JFrame();
    167167        frame.add(surveyorComponent);
     
    179179            streetLabel.setText(tr("Way: ") + gpsData.getWayInfo());
    180180        }
    181        
     181
    182182    }
    183183
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorPlugin.java

    r12486 r12778  
    2727 * Plugin that uses live gps data and a button panel to add nodes/waypoints etc at the current
    2828 * position.
    29  * 
     29 *
    3030 * TODO: auto save marker layer and data layer?
    3131 * TODO: in action retrieve buttontype state to set on/off values
     
    3434 */
    3535public class SurveyorPlugin {
    36    
     36
    3737    private static JFrame surveyorFrame;
    3838    public static final String PREF_KEY_STREET_NAME_FONT_SIZE = "surveyor.way.fontsize";
    39    
     39
    4040    /**
    41      * 
     41     *
    4242     */
    4343    public SurveyorPlugin() {
    4444        super();
    45        
     45
    4646        // try to determine if the livegps plugin was already loaded:
    4747//        PluginInformation pluginInfo = PluginInformation.getLoaded("livegps");
     
    5757            Class.forName("livegps.LiveGpsPlugin");
    5858        } catch(ClassNotFoundException cnfe) {
    59             String message = 
     59            String message =
    6060                tr("SurveyorPlugin depends on LiveGpsPlugin!") + "\n" +
    6161                tr("LiveGpsPlugin not found, please install and activate.") + "\n" +
    62                 tr("SurveyorPlugin is disabled for the moment"); 
     62                tr("SurveyorPlugin is disabled for the moment");
    6363            JOptionPane.showMessageDialog(Main.parent, message, tr("SurveyorPlugin"), JOptionPane.ERROR_MESSAGE);
    6464            return;
    6565        }
    66        
    67        
     66
     67
    6868        LiveGpsPlugin gpsPlugin = null;
    6969        Iterator<PluginProxy> proxyIter = Main.plugins.iterator();
     
    101101        SurveyorPlugin.surveyorFrame = surveyorFrame;
    102102    }
    103    
     103
    104104}
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorShowAction.java

    r12486 r12778  
    6868//          comp.addButton(new ButtonDescription("Residential", "R", null,
    6969//          new SurveyorActionDescription("SetWaypointAction", new String[] {"residential", "images/reorder.png"}), null));
    70 //          comp.addButton(new ButtonDescription("Parking", "P", "images/symbols/parking.png", 
     70//          comp.addButton(new ButtonDescription("Parking", "P", "images/symbols/parking.png",
    7171//          new SurveyorActionDescription("SetNodeAction", new String[] {"amenity", "parking", "createdby", "surveyor"}), null));
    72            
     72
    7373            // add component as gps event listener:
    7474            gpsPlugin.addPropertyChangeListener(comp);
    75            
     75
    7676            // add some hotkeys to the component:
    7777            ActionMap actionMap = comp.getActionMap();
     
    103103            });
    104104            inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_HOME, 0), "autocenter");
    105            
     105
    106106            surveyorFrame.add(comp);
    107107            surveyorFrame.pack();
     
    111111            // <FIXXME date="28.04.2007" author="cdaller">
    112112            // TODO get old pos of frame from properties
    113             // </FIXXME> 
     113            // </FIXXME>
    114114            SurveyorPlugin.setSurveyorFrame(surveyorFrame);
    115115        }
     
    127127            // <FIXXME date="04.05.2007" author="cdaller">
    128128            // TODO copy xml file to .josm directory if it does not exist!
    129             // </FIXXME> 
     129            // </FIXXME>
    130130        }
    131131        SurveyorComponent component= null;
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/AbstractSurveyorAction.java

    r4277 r12778  
    1515public abstract class AbstractSurveyorAction implements SurveyorAction {
    1616    private List<String> parameters;
    17    
     17
    1818    /**
    1919     * Returns the parameters.
     
    2323        return parameters;
    2424    }
    25        
     25
    2626    /* (non-Javadoc)
    2727     * @see at.dallermassl.josm.plugin.surveyor.SurveyorAction#setParameters(java.util.List)
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/ConsolePrinterAction.java

    r4277 r12778  
    2020    public void actionPerformed(GpsActionEvent event) {
    2121        LatLon coordinates = event.getCoordinates();
    22         System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", " 
     22        System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", "
    2323            + coordinates.lon() + " params: " + getParameters());
    2424    }
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/PlayAudioAction.java

    r4277 r12778  
    2525/**
    2626 * Action that plays an audio file.
    27  * 
     27 *
    2828 * @author cdaller
    2929 *
     
    8686                }
    8787            }
    88            
     88
    8989        });
    90        
     90
    9191    }
    9292}
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetNodeAction.java

    r4277 r12778  
    2929public class SetNodeAction implements SurveyorAction {
    3030    private Collection<Tuple<String, String>> keyValues;
    31    
     31
    3232    /**
    3333     * Default Constructor
    3434     */
    3535    public SetNodeAction() {
    36        
     36
    3737    }
    38    
     38
    3939    /* (non-Javadoc)
    4040     * @see at.dallermassl.josm.plugin.surveyor.SurveyorAction#setParameters(java.util.List)
     
    5555                System.err.println("SetNodeAction: ignoring invalid key value pair: " + keyValuePair);
    5656            }
    57         }       
     57        }
    5858    }
    5959
     
    7373            Main.ds.setSelected(node);
    7474        }
    75         Main.map.repaint();       
     75        Main.map.repaint();
    7676    }
    7777
    78    
     78
    7979}
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetWaypointAction.java

    r9400 r12778  
    3131 * Action that sets a marker into a marker layer. The first parameter of the action
    3232 * is used as the text of the marker, the second (if it exists) as an icon.
    33  * 
     33 *
    3434 * @author cdaller
    3535 *
     
    4040    public static final String MARKER_LAYER_NAME = "surveyorwaypointlayer";
    4141    private WaypointDialog dialog;
    42    
     42
    4343    /**
    4444     * Default Constructor.
    4545     */
    4646    public SetWaypointAction() {
    47        
     47
    4848    }
    4949
     
    6161                markerTitle = markerTitle + " " + tr("start");
    6262            } else {
    63                 markerTitle = markerTitle + " " + tr("end");               
     63                markerTitle = markerTitle + " " + tr("end");
    6464            }
    6565        }
    66        
     66
    6767        if(dialog == null) {
    6868            dialog = new WaypointDialog();
    6969        }
    70        
     70
    7171        String markerText = markerTitle;
    7272        String inputText = dialog.openDialog(SurveyorPlugin.getSurveyorFrame(), "Waypoint Description");
     
    7575            markerText = markerText + " " + inputText;
    7676        }
    77        
     77
    7878        String iconName = getParameters().size() > 1 ? getParameters().get(1) : null;
    79        
    80         // add the waypoint to the marker layer AND to the gpx layer 
     79
     80        // add the waypoint to the marker layer AND to the gpx layer
    8181        // (easy export of data + waypoints):
    8282        MarkerLayer layer = getMarkerLayer();
     
    8787        synchronized(LiveGpsLock.class) {
    8888            //layer.data.add(new Marker(event.getCoordinates(), markerText, iconName));
    89             layer.data.add(new Marker(event.getCoordinates(), markerText, iconName, null, -1.0, 0.0));
     89        layer.data.add(new Marker(event.getCoordinates(), markerText, iconName, null, -1.0, 0.0));
    9090            if(gpsLayer != null) {
    9191                gpsLayer.data.waypoints.add(waypoint);
    9292            }
    9393        }
    94        
     94
    9595        Main.map.repaint();
    9696    }
    97    
     97
    9898    /**
    9999     * Returns the marker layer with the name {@link #MARKER_LAYER_NAME}.
     
    103103        if(markerLayer == null) {
    104104            markerLayer = LayerUtil.findGpsLayer(MARKER_LAYER_NAME, MarkerLayer.class);
    105            
     105
    106106            if(markerLayer == null) {
    107107                // not found, add a new one
    108108                //markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null);
    109                 markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null, null);
     109        markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null, null);
    110110                Main.main.addLayer(markerLayer);
    111111            }
     
    113113        return markerLayer;
    114114    }
    115    
     115
    116116    /**
    117117     * Returns the gpx layer that is filled by the live gps data.
     
    126126                    break;
    127127                }
    128             } 
     128            }
    129129        }
    130130        return liveGpsLayer;
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/TaggingPresetAction.java

    r4277 r12778  
    2323    private String presetName;
    2424    private TaggingPreset preset;
    25    
     25
    2626
    2727    /* (non-Javadoc)
     
    3434        }
    3535        LatLon coordinates = event.getCoordinates();
    36         System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", " 
     36        System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", "
    3737            + coordinates.lon() + ", preset=" + presetName);
    3838//        Node node = new Node(coordinates);
     
    4343//        }
    4444//        Main.map.repaint();
    45        
     45
    4646        // call an annotationpreset to add additional properties...
    4747        preset.actionPerformed(null);
     
    6363            System.err.println("No valid preset '" + parameters.get(0) + "' found - disable action!");
    6464            return;
    65         }       
     65        }
    6666    }
    6767
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/gui/DialogClosingThread.java

    r4277 r12778  
    2424    private long timeout;
    2525    private long loopCount;
    26    
     26
    2727    /**
    2828     * Using the given dialog and the default timeout.
     
    3131    public DialogClosingThread(JDialog dialog) {
    3232        this(dialog, DEFAULT_TIMEOUT);
    33     }   
    34        
     33    }
     34
    3535    /**
    3636     * @param dialog
     
    6161        dialog.dispose();
    6262    }
    63    
     63
    6464    public void reset() {
    6565        this.loopCount = timeout / 1000;
     
    105105        }
    106106    }
    107    
     107
    108108    public void observe(Component component) {
    109109        component.addKeyListener(this);
    110110    }
    111    
     111
    112112    public void observe(JTextField textfield) {
    113113        textfield.getDocument().addDocumentListener(this);
     
    120120    public void changedUpdate(DocumentEvent e) {
    121121        reset();
    122         System.out.println("changedUpdate: " + e);       
     122        System.out.println("changedUpdate: " + e);
    123123    }
    124124
     
    138138    public void removeUpdate(DocumentEvent e) {
    139139        reset();
    140         System.out.println("removeUpdate: " + e);       
     140        System.out.println("removeUpdate: " + e);
    141141    }
    142142}
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/gui/WaypointDialog.java

    r4277 r12778  
    2121 */
    2222public class WaypointDialog {
    23    
     23
    2424    public String openDialog(JFrame frame, String message) {
    25        
     25
    2626        JTextField textField = new JTextField(10);
    2727
     
    6666        dialog.pack();
    6767        dialog.setVisible(true);
    68        
     68
    6969
    7070        System.out.println("value: " + optionPane.getValue());
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/util/LayerUtil.java

    r6164 r12778  
    11/**
    2  * 
     2 *
    33 */
    44package at.dallermassl.josm.plugin.surveyor.util;
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/util/ResourceLoader.java

    r4277 r12778  
    1515 */
    1616public class ResourceLoader {
    17    
     17
    1818    private ResourceLoader() {
    19        
     19
    2020    }
    21    
     21
    2222    /**
    2323     * Returns an inputstream from urls, files and classloaders, depending on the name.
Note: See TracChangeset for help on using the changeset viewer.