Ignore:
Timestamp:
2010-09-15T18:54:18+02:00 (15 years ago)
Author:
stoecker
Message:

remove tabs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePreferenceSetting.java

    r22387 r23190  
    4040
    4141    private JCheckBox disableImageCropping = new JCheckBox(tr("Disable image cropping during georeferencing."));
    42    
     42
    4343    private JCheckBox enableTableauAssemblage = new JCheckBox(tr("Use \"Tableau d''assemblage\""));
    44    
     44
    4545    private JCheckBox autoFirstLayer = new JCheckBox(tr("Select first WMS layer in list."));
    46    
     46
    4747    private JCheckBox dontUseRelation = new JCheckBox(tr("Don't use relation for addresses (but \"addr:street\" on elements)."));
    48    
     48
    4949    private JRadioButton grabMultiplier1 = new JRadioButton("", true);
    5050
     
    5454
    5555    private JRadioButton grabMultiplier4 = new JRadioButton("", true);
    56    
     56
    5757    private JRadioButton crosspiece1 = new JRadioButton("off");
    58    
     58
    5959    private JRadioButton crosspiece2 = new JRadioButton("25m");
    6060
     
    8787    JLabel jLabelCacheSize = new JLabel(tr("Max. cache size (in MB)"));
    8888    private JTextField cacheSize = new JTextField(20);
    89    
     89
    9090    static final String DEFAULT_RASTER_DIVIDER = "5";
    9191    private JTextField rasterDivider = new JTextField(10);
    9292
    9393    static final int DEFAULT_CROSSPIECES = 0;
    94    
     94
    9595    public void addGui(final PreferenceTabbedPane gui) {
    9696
     
    101101                + "before any upload of data created by this plugin.");
    102102        JPanel cadastrewmsMast = gui.createPreferenceTab("cadastrewms.gif", I18n.tr("French cadastre WMS"), description);
    103        
     103
    104104        JPanel cadastrewms = new JPanel(new GridBagLayout());
    105105        cadastrewms.setBorder(BorderFactory.createEmptyBorder(0,0,0,0));
     
    177177        cadastrewms.add(grabRes2, GBC.std().insets(5, 0, 5, 0));
    178178        cadastrewms.add(grabRes3, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 5, 0, 5));
    179        
     179
    180180        // option to select image zooming interpolation method
    181181        JLabel jLabelImageZoomInterpolation = new JLabel(tr("Image filter interpolation:"));
     
    185185        imageInterpolationMethod.addItem(tr("Bicubic (slow)"));
    186186        String savedImageInterpolationMethod = Main.pref.get("cadastrewms.imageInterpolation", "standard");
    187         if (savedImageInterpolationMethod.equals("bilinear")) 
     187        if (savedImageInterpolationMethod.equals("bilinear"))
    188188            imageInterpolationMethod.setSelectedIndex(1);
    189         else if (savedImageInterpolationMethod.equals("bicubic")) 
     189        else if (savedImageInterpolationMethod.equals("bicubic"))
    190190            imageInterpolationMethod.setSelectedIndex(2);
    191191        else
     
    195195        // separator
    196196        cadastrewms.add(new JSeparator(SwingConstants.HORIZONTAL), GBC.eol().fill(GBC.HORIZONTAL));
    197        
     197
    198198        // the vectorized images multiplier
    199199        JLabel jLabelScale = new JLabel(tr("Vector images grab multiplier:"));
     
    275275        layerCommune.setToolTipText(tr("Municipality administrative borders."));
    276276        cadastrewms.add(layerCommune, GBC.eop().insets(5, 0, 5, 0));
    277        
     277
    278278        // separator
    279279        cadastrewms.add(new JSeparator(SwingConstants.HORIZONTAL), GBC.eol().fill(GBC.HORIZONTAL));
     
    335335        // separator
    336336        cadastrewms.add(new JSeparator(SwingConstants.HORIZONTAL), GBC.eol().fill(GBC.HORIZONTAL));
    337        
     337
    338338        // option to select the first WMS layer
    339339        autoFirstLayer.setSelected(Main.pref.getBoolean("cadastrewms.autoFirstLayer", false));
     
    348348        dontUseRelation.setToolTipText(tr("Enable this to use the tag \"add:street\" on nodes."));
    349349        cadastrewms.add(dontUseRelation, GBC.eop().insets(0, 0, 0, 0));
    350        
     350
    351351        // end of dialog, scroll bar
    352352        cadastrewms.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL));
     
    374374        else if (imageInterpolationMethod.getSelectedIndex() == 1)
    375375            Main.pref.put("cadastrewms.imageInterpolation", "bilinear");
    376         else 
     376        else
    377377            Main.pref.put("cadastrewms.imageInterpolation", "standard");
    378378        if (grabMultiplier1.isSelected())
Note: See TracChangeset for help on using the changeset viewer.