Revision 27006 trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/mosaic/gui/MosaicDialog.java

View differences:

MosaicDialog.java
50 50
 * */
51 51

  
52 52
import java.awt.BorderLayout;
53
import java.awt.Checkbox;
53 54
import java.awt.Dimension;
54 55
import java.awt.GridBagConstraints;
55 56
import java.awt.GridBagLayout;
......
147 148
		tabbedPane.addTab(PluginServices.getText(this, "opciones"), getPanelTab2());
148 149
		this.add(tabbedPane, BorderLayout.CENTER);
149 150
		this.addButtonPressedListener(this);
151
		
150 152
	}
151 153
	
152 154
	
......
187 189
	public MethodMosaicPanel getPanelSouth() {
188 190
		if (southPanel == null){
189 191
			southPanel = new MethodMosaicPanel(northPanel.getSelectedLayers(),view);
192
			southPanel.getCheckFeathering().addActionListener(this);
190 193
		}
191 194
		return southPanel;
192 195
	}
......
580 583
	}
581 584

  
582 585
	public void actionPerformed(ActionEvent e) {
583
		// TODO Auto-generated method stub
586
		if(e.getSource()==getPanelSouth().getCheckFeathering()){
587
			if(getPanelSouth().getCheckFeathering().isSelected()){
588
				getPanelNorth().getModeloTabla().seleccionarNinguna();
589
				if(getPanelNorth().getModeloTabla().getRowCount()>1){
590
					getPanelNorth().getModeloTabla().setValueAt(new Boolean(true),0,1);
591
					getPanelNorth().getModeloTabla().setValueAt(new Boolean(true),1,1);
592
				}
593
				getPanelNorth().getModeloTabla().setOnlyTwoSelecction(true);
594
			}
595
			
596
			if(!getPanelSouth().getCheckFeathering().isSelected()){
597
				getPanelNorth().getModeloTabla().setOnlyTwoSelecction(false);
598
			}
599
			updateUI();
600
		}
601
	
584 602
	}
585 603

  
586 604

  

Also available in: Unified diff