Revision 17495 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/control/EnhancedControl.java

View differences:

EnhancedControl.java
43 43
import org.gvsig.raster.hierarchy.IRasterRendering;
44 44
import org.gvsig.raster.hierarchy.IStatistics;
45 45
import org.gvsig.raster.util.RasterToolsUtil;
46
import org.gvsig.rastertools.RasterModule;
46 47
import org.gvsig.rastertools.properties.panels.EnhancedBrightnessContrastPanel;
47 48
import org.gvsig.rastertools.properties.panels.EnhancedPanel;
48 49
import org.gvsig.rastertools.properties.panels.EnhancedWithTrimPanel;
......
88 89
		 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
89 90
		 */
90 91
		public void actionPerformed(ActionEvent e) {
92
			if (!RasterModule.autoRefreshView)
93
				return;
94

  
91 95
			if (e.getSource() == active)
92 96
				onlyApply();
93 97
		}
......
97 101
		 * @see org.gvsig.gui.beans.slidertext.listeners.SliderListener#actionValueChanged(org.gvsig.gui.beans.slidertext.listeners.SliderEvent)
98 102
		 */
99 103
		public void actionValueChanged(SliderEvent e) {
104
			if (!RasterModule.autoRefreshView)
105
				return;
106

  
100 107
			onlyApply();
101 108
		}
102 109

  
......
133 140
		 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
134 141
		 */
135 142
		public void actionPerformed(ActionEvent e) {
143
			if (!RasterModule.autoRefreshView)
144
				return;
145

  
136 146
			onlyApply();
137 147
		}
138 148

  
......
141 151
		 * @see org.gvsig.gui.beans.slidertext.listeners.SliderListener#actionValueChanged(org.gvsig.gui.beans.slidertext.listeners.SliderEvent)
142 152
		 */
143 153
		public void actionValueChanged(SliderEvent e) {
154
			if (!RasterModule.autoRefreshView)
155
				return;
156

  
144 157
			onlyApply();
145 158
		}
146 159

  
......
220 233

  
221 234
	/**
222 235
	 * Carga los valores del filtro desde el panel
223
	 * @throws FilterTypeException 
236
	 * @throws FilterTypeException
224 237
	 */
225 238
	private void setValuesFromPanelToFilter() throws FilterTypeException {
226 239
		RasterFilterListManager manager = new RasterFilterListManager(filterList);

Also available in: Unified diff