Revision 17495
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/control/TransparencyListener.java | ||
---|---|---|
27 | 27 |
import org.gvsig.raster.grid.GridTransparency; |
28 | 28 |
import org.gvsig.raster.gui.properties.dialog.RasterPropertiesTocMenuEntry; |
29 | 29 |
import org.gvsig.raster.hierarchy.IRasterProperties; |
30 |
import org.gvsig.rastertools.RasterModule; |
|
30 | 31 |
import org.gvsig.rastertools.properties.panels.NoDataPanel; |
31 | 32 |
import org.gvsig.rastertools.properties.panels.TransparencyPanel; |
32 | 33 |
import org.gvsig.rastertools.properties.panels.interfaces.INoDataPanel; |
... | ... | |
175 | 176 |
* @see org.gvsig.rastertools.properties.panels.TranspByPixelEventListener#actionPixelListChanged(java.util.EventObject) |
176 | 177 |
*/ |
177 | 178 |
public void actionPixelListChanged(EventObject e) { |
179 |
if (!RasterModule.autoRefreshView) |
|
180 |
return; |
|
181 |
|
|
178 | 182 |
onlyApply(); |
179 | 183 |
} |
180 | 184 |
|
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/control/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); |
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/control/BandSetupListener.java | ||
---|---|---|
36 | 36 |
import org.gvsig.raster.hierarchy.IRasterProperties; |
37 | 37 |
import org.gvsig.raster.hierarchy.IRasterRendering; |
38 | 38 |
import org.gvsig.raster.util.RasterToolsUtil; |
39 |
import org.gvsig.rastertools.RasterModule; |
|
39 | 40 |
import org.gvsig.rastertools.properties.panels.BandSetupPanel; |
40 | 41 |
|
41 | 42 |
import com.iver.andami.PluginServices; |
... | ... | |
109 | 110 |
if (e.getSource().equals(bandSetupPanel.getFileList().getJComboBox())) |
110 | 111 |
numberBandSelection(); |
111 | 112 |
|
113 |
if (!RasterModule.autoRefreshView) |
|
114 |
return; |
|
115 |
|
|
112 | 116 |
bandSetupPanel.onlyApply(); |
113 | 117 |
} |
114 | 118 |
|
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/panels/TransparencyPanel.java | ||
---|---|---|
37 | 37 |
import org.gvsig.gui.util.StatusComponent; |
38 | 38 |
import org.gvsig.raster.RasterLibrary; |
39 | 39 |
import org.gvsig.raster.hierarchy.IRasterProperties; |
40 |
import org.gvsig.rastertools.RasterModule; |
|
40 | 41 |
import org.gvsig.rastertools.properties.control.TransparencyListener; |
41 | 42 |
|
42 | 43 |
import com.iver.andami.PluginServices; |
... | ... | |
283 | 284 |
* @see org.gvsig.gui.beans.slidertext.listeners.SliderListener#actionValueChanged(org.gvsig.gui.beans.slidertext.listeners.SliderEvent) |
284 | 285 |
*/ |
285 | 286 |
public void actionValueChanged(SliderEvent e) { |
287 |
if (!RasterModule.autoRefreshView) |
|
288 |
return; |
|
286 | 289 |
getTransparencyListener().onlyApply(); |
287 | 290 |
} |
288 | 291 |
|
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/panels/BandSetupPanel.java | ||
---|---|---|
51 | 51 |
import org.gvsig.raster.hierarchy.IRasterDataset; |
52 | 52 |
import org.gvsig.raster.hierarchy.IRasterProperties; |
53 | 53 |
import org.gvsig.raster.hierarchy.IRasterRendering; |
54 |
import org.gvsig.rastertools.RasterModule; |
|
54 | 55 |
import org.gvsig.rastertools.properties.control.BandSetupListener; |
55 | 56 |
|
56 | 57 |
import com.iver.andami.PluginServices; |
... | ... | |
515 | 516 |
theRadioButton = new JRadioButton(); |
516 | 517 |
theRadioButton.addActionListener(new ActionListener() { |
517 | 518 |
public void actionPerformed(ActionEvent event) { |
519 |
if (!RasterModule.autoRefreshView) |
|
520 |
return; |
|
521 |
|
|
518 | 522 |
fireEditingStopped(); |
519 | 523 |
setMode(mode); |
520 | 524 |
onlyApply(); |
Also available in: Unified diff