Revision 31829 branches/v2_0_0_prep/libraries/libRaster/src/org/gvsig/raster/RasterLibrary.java
RasterLibrary.java | ||
---|---|---|
26 | 26 |
import org.gvsig.raster.dataset.serializer.GeoPointListRmfSerializer; |
27 | 27 |
import org.gvsig.raster.dataset.serializer.ProjectionRmfSerializer; |
28 | 28 |
import org.gvsig.raster.dataset.serializer.StatisticsRmfSerializer; |
29 |
import org.gvsig.raster.datastruct.Transparency; |
|
30 |
import org.gvsig.raster.datastruct.TransparencyRange; |
|
29 | 31 |
import org.gvsig.raster.datastruct.serializer.ColorTableRmfSerializer; |
30 | 32 |
import org.gvsig.raster.datastruct.serializer.HistogramRmfSerializer; |
31 | 33 |
import org.gvsig.raster.datastruct.serializer.NoDataRmfSerializer; |
34 |
import org.gvsig.raster.grid.GridTransparency; |
|
32 | 35 |
import org.gvsig.raster.grid.filter.bands.ColorBalanceCMYManager; |
33 | 36 |
import org.gvsig.raster.grid.filter.bands.ColorBalanceRGBManager; |
34 | 37 |
import org.gvsig.raster.grid.filter.bands.ColorTableListManager; |
... | ... | |
44 | 47 |
import org.gvsig.raster.grid.filter.pansharp.PanSharpeningListManager; |
45 | 48 |
import org.gvsig.raster.grid.filter.segmentation.FirstDerivativeListManager; |
46 | 49 |
import org.gvsig.raster.grid.filter.statistics.StatisticsListManager; |
50 |
import org.gvsig.raster.grid.render.Rendering; |
|
47 | 51 |
import org.gvsig.raster.util.PropertyEvent; |
48 | 52 |
import org.gvsig.raster.util.PropertyListener; |
49 | 53 |
import org.gvsig.tools.ToolsLocator; |
50 | 54 |
import org.gvsig.tools.extensionpoint.ExtensionPointManager; |
55 |
import org.gvsig.tools.library.AbstractLibrary; |
|
56 |
import org.gvsig.tools.library.LibraryException; |
|
51 | 57 |
/** |
52 | 58 |
* Clase principal de la libreria. En ella se definen variables globales con informaci?n |
53 | 59 |
* de uso general, as? como acciones a realizar al arracar la librer?a. El m?todo que |
... | ... | |
57 | 63 |
* |
58 | 64 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
59 | 65 |
*/ |
60 |
public class RasterLibrary { |
|
66 |
public class RasterLibrary extends AbstractLibrary{
|
|
61 | 67 |
/** |
62 | 68 |
* Control de librer?a ya inicializada. |
63 | 69 |
*/ |
... | ... | |
135 | 141 |
public static final int NODATATYPE_DISABLED = 0; |
136 | 142 |
public static final int NODATATYPE_LAYER = 1; |
137 | 143 |
public static final int NODATATYPE_USER = 2; |
144 |
|
|
145 |
@Override |
|
146 |
protected void doInitialize() throws LibraryException { |
|
147 |
// TODO Auto-generated method stub |
|
148 |
|
|
149 |
} |
|
150 |
|
|
151 |
@Override |
|
152 |
protected void doPostInitialize() throws LibraryException { |
|
153 |
Transparency.registerPersistent(); |
|
154 |
TransparencyRange.registerPersistent(); |
|
155 |
GridTransparency.registerPersistent(); |
|
156 |
Rendering.registerPersistent(); |
|
157 |
} |
|
158 |
|
|
138 | 159 |
/** |
139 | 160 |
* Ejecuta las acciones necesarias para arrancar la librer?a. |
140 | 161 |
*/ |
... | ... | |
296 | 317 |
return getTemporalFile().getAbsolutePath(); |
297 | 318 |
} |
298 | 319 |
|
299 |
/* |
|
320 |
/*
|
|
300 | 321 |
private static Hashtable clasesJar = new Hashtable(); |
301 | 322 |
|
302 | 323 |
* |
Also available in: Unified diff