Revision 1286 org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.algorithm/org.gvsig.raster.tools.algorithm.swing/org.gvsig.raster.tools.algorithm.swing.impl/src/main/java/org/gvsig/raster/tools/algorithm/swing/impl/maskthreshold/OutputMaskThresholdImpl.java

View differences:

OutputMaskThresholdImpl.java
37 37
public class OutputMaskThresholdImpl extends JPanel {
38 38
	private static final long   serialVersionUID     = 1L;
39 39
	private ComboTextImpl       satisfyCombo         = null;
40
	private ComboTextImpl       notSatisfyCombo      = null;
41 40
	private InputLayerImpl      layerSelection       = null;
42 41
	
43 42
	public OutputMaskThresholdImpl() {
......
58 57
		
59 58
		gridBagConstraints1.gridx = 0;
60 59
		gridBagConstraints1.gridy = 1;
61
		this.add(getSatisfyCombo(), gridBagConstraints1);
60
		this.add(getMethodOutput(), gridBagConstraints1);
62 61
		
63
		gridBagConstraints1.gridx = 0;
64
		gridBagConstraints1.gridy = 2;
65
		this.add(getNotSatisfyCombo(), gridBagConstraints1);
66
		
67 62
		gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
68 63
		gridBagConstraints1.weightx = 1;
69 64
		gridBagConstraints1.weighty = 1;
70 65
		gridBagConstraints1.gridx = 0;
71
		gridBagConstraints1.gridy = 3;
66
		gridBagConstraints1.gridy = 2;
72 67
		this.add(new JPanel(), gridBagConstraints1);
73 68
	}
74 69

  
75
	public ComboTextImpl getSatisfyCombo() {
70
	public ComboTextImpl getMethodOutput() {
76 71
		if(satisfyCombo == null){
77 72
			satisfyCombo = new ComboTextImpl(
78
					new String[]{Messages.getText("satisfy"), ""}, false, true);
73
					new String[]{Messages.getText("method_output"), ""}, false, true);
79 74
			satisfyCombo.getTextField().setEnabled(false);
80 75
		}
81 76
		return satisfyCombo;
82 77
	}
83
	
84
	public ComboTextImpl getNotSatisfyCombo() {
85
		if(notSatisfyCombo == null) {
86
			notSatisfyCombo = new ComboTextImpl(
87
					new String[]{Messages.getText("not_satisfy"), ""}, false, true);
88
			notSatisfyCombo.getTextField().setEnabled(false);
89
		}
90
		return notSatisfyCombo;
91
	}
92 78

  
93 79
	public InputLayerImpl getLayerSelection() {
94 80
		if(layerSelection == null) {

Also available in: Unified diff