Revision 4417

View differences:

trunk/extensions/extWCS/src/com/iver/cit/gvsig/fmap/layers/WCSLayer.java
41 41
/*
42 42
 * $Id$ 
43 43
 * $Log$
44
 * Revision 1.3  2006-03-14 17:36:44  jaume
44
 * Revision 1.4  2006-03-14 18:17:59  jaume
45 45
 * *** empty log message ***
46 46
 *
47
 * Revision 1.3  2006/03/14 17:36:44  jaume
48
 * *** empty log message ***
49
 *
47 50
 * Revision 1.2  2006/03/14 10:52:21  jaume
48 51
 * *** empty log message ***
49 52
 *
......
67 70
	private Point2D maxRes;
68 71
	private ArrayList timePositions;
69 72
	private String description;
70
/*
71
 	public String text;
72
    public String name;
73
    
74
    public String metadataLink;
75
    public String label;
76
    public String[] keywords;
77
    private ArrayList formats;
78
    private ArrayList srs = new ArrayList();
79
    private ArrayList tiempos;
80
    private ArrayList parametros = new ArrayList();
81
    //private double maxRes;
82
    private Point2D maxRes;
83
    private boolean hayParametros = false;
84
 */
73

  
85 74
	public void setName(String name) {
86 75
		this.name = name;
87 76
	}
trunk/extensions/extWCS/src/com/iver/cit/gvsig/gui/panels/WCSParamsPanel.java
141 141
	private int indTime;
142 142
	private int indParameter;
143 143
	public static Preferences fPrefs = Preferences.userRoot().node( "gvsig.wcs-wizard" );
144
	private JLabel jLabel1 = null;
145
	private JComboBox cmbInterpolationMethods = null;
146
	private JCheckBox chkUseInterpolationMethod = null;
144 147
    /**
145 148
	 * This method initializes jTabbedPane	
146 149
	 * 	
......
452 455
	 */    
453 456
	private JPanel getJPanel3() {
454 457
		if (jPanel3 == null) {
458
			
455 459
			jPanel3 = new JPanel();
456 460
			jPanel3.setLayout(null);
457 461
			jPanel3.setBounds(5, 17, 464, 189);
......
460 464
					javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
461 465
					javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null));
462 466
			jPanel3.add(getJScrollPane1(), null);
467
			
468
			jPanel3.add(getCmbInterpolationMethods(), null);
469
			jPanel3.add(getChkUseInterpolationMethod(), null);
463 470
		}
464 471
		return jPanel3;
465 472
	}
......
649 656
	private JScrollPane getJScrollPane1() {
650 657
		if (jScrollPane1 == null) {
651 658
			jScrollPane1 = new JScrollPane();
652
			jScrollPane1.setBounds(6, 19, 450, 163);
659
			jScrollPane1.setBounds(6, 19, 229, 163);
653 660
			jScrollPane1.setViewportView(getLstFormats());
654 661
		}
655 662
		return jScrollPane1;
......
1371 1378
	public void setListenerSupport(WizardListenerSupport support) {
1372 1379
		listenerSupport = support;
1373 1380
	}
1381
	/**
1382
	 * This method initializes jComboBox	
1383
	 * 	
1384
	 * @return javax.swing.JComboBox	
1385
	 */
1386
	private JComboBox getCmbInterpolationMethods() {
1387
		if (cmbInterpolationMethods == null) {
1388
			cmbInterpolationMethods = new JComboBox();
1389
			cmbInterpolationMethods.setBounds(new java.awt.Rectangle(245,45,210,20));
1390
			cmbInterpolationMethods.setEnabled(false);
1391
			cmbInterpolationMethods.setEditable(false);
1392
		}
1393
		return cmbInterpolationMethods;
1394
	}
1395
	/**
1396
	 * This method initializes jCheckBox	
1397
	 * 	
1398
	 * @return javax.swing.JCheckBox	
1399
	 */
1400
	private JCheckBox getChkUseInterpolationMethod() {
1401
		if (chkUseInterpolationMethod == null) {
1402
			chkUseInterpolationMethod = new JCheckBox();
1403
			chkUseInterpolationMethod.setText(PluginServices.getText(this, "use_interpolation_method"));
1404
			chkUseInterpolationMethod.setSelected(false);
1405
			chkUseInterpolationMethod.setBounds(new java.awt.Rectangle(245,19,210,20));
1406
			chkUseInterpolationMethod.addItemListener(new java.awt.event.ItemListener() {
1407
				public void itemStateChanged(java.awt.event.ItemEvent e) {
1408
					cmbInterpolationMethods.setEnabled(chkUseInterpolationMethod.isSelected());
1409
				}
1410
			});
1411
		}
1412
		return chkUseInterpolationMethod;
1413
	}
1374 1414
}

Also available in: Unified diff