Revision 37828
branches/v2_0_0_prep/extensions/org.gvsig.hyperlink.app/org.gvsig.hyperlink.app.extension/pom.xml | ||
---|---|---|
80 | 80 |
</dependency> |
81 | 81 |
<dependency> |
82 | 82 |
<groupId>org.gvsig</groupId> |
83 |
<artifactId>org.gvsig.fmap.dal.store.raster</artifactId> |
|
84 |
<scope>compile</scope> |
|
85 |
</dependency> |
|
86 |
<dependency> |
|
87 |
<groupId>org.gvsig</groupId> |
|
88 | 83 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
89 | 84 |
<scope>compile</scope> |
90 | 85 |
</dependency> |
branches/v2_0_0_prep/extensions/org.gvsig.hyperlink.app/org.gvsig.hyperlink.app.extension/src/main/java/org/gvsig/hyperlink/app/extension/actions/LoadRasterLayer.java | ||
---|---|---|
28 | 28 |
import java.net.MalformedURLException; |
29 | 29 |
import java.net.URI; |
30 | 30 |
|
31 |
import org.cresques.cts.IProjection; |
|
32 | 31 |
import org.gvsig.andami.PluginServices; |
33 | 32 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
34 | 33 |
import org.gvsig.app.project.documents.view.gui.IView; |
... | ... | |
36 | 35 |
import org.gvsig.fmap.dal.DataStoreParameters; |
37 | 36 |
import org.gvsig.fmap.dal.exception.InitializeException; |
38 | 37 |
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException; |
39 |
import org.gvsig.fmap.dal.store.raster.RasterStoreParameters; |
|
40 |
import org.gvsig.fmap.dal.store.raster.RasterStoreProvider; |
|
41 | 38 |
import org.gvsig.fmap.mapcontext.MapContextLocator; |
42 |
import org.gvsig.fmap.mapcontext.MapContextManager; |
|
43 | 39 |
import org.gvsig.fmap.mapcontext.exceptions.LoadLayerException; |
44 | 40 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
45 | 41 |
import org.gvsig.hyperlink.app.extension.AbstractActionManager; |
... | ... | |
94 | 90 |
// new File(fileName), view.getProjection()); |
95 | 91 |
DataStoreParameters parameters = |
96 | 92 |
DALLocator.getDataManager() |
97 |
.createStoreParameters(RasterStoreProvider.NAME);
|
|
93 |
.createStoreParameters("RasterStore");
|
|
98 | 94 |
parameters.setDynValue("filename", fileName); |
99 | 95 |
parameters.setDynValue("srs", view.getViewDocument() |
100 | 96 |
.getMapContext() |
Also available in: Unified diff