Revision 27532 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/InitializeApplicationExtension.java
InitializeApplicationExtension.java | ||
---|---|---|
9 | 9 |
import java.util.Properties; |
10 | 10 |
|
11 | 11 |
import org.apache.log4j.Logger; |
12 |
import org.cresques.ProjectionLibrary; |
|
13 |
import org.cresques.impl.CresquesCtsLibrary; |
|
12 | 14 |
import org.gvsig.AppGvSigLibrary; |
13 | 15 |
import org.gvsig.fmap.dal.DALFileLibrary; |
14 | 16 |
import org.gvsig.fmap.dal.DALLibrary; |
... | ... | |
61 | 63 |
private GeometryLibrary geometryLibrary; |
62 | 64 |
private SQLJEPLibrary sQLJEPLibrary; |
63 | 65 |
private DefaultGeometryLibrary defaultGeometryLibrary; |
66 |
private ProjectionLibrary projectionLibrary; |
|
67 |
private CresquesCtsLibrary cresquesCtsLibrary; |
|
64 | 68 |
|
65 | 69 |
|
66 | 70 |
|
... | ... | |
74 | 78 |
ToolsLocator |
75 | 79 |
.registerDefaultPersistenceManager(XMLEntityManager.class); |
76 | 80 |
|
81 |
projectionLibrary = new ProjectionLibrary(); |
|
82 |
projectionLibrary.initialize(); |
|
83 |
|
|
84 |
cresquesCtsLibrary = new CresquesCtsLibrary(); |
|
85 |
cresquesCtsLibrary.initialize(); |
|
86 |
|
|
77 | 87 |
// geometry api |
78 | 88 |
geometryLibrary = new GeometryLibrary(); |
79 | 89 |
geometryLibrary.initialize(); |
... | ... | |
144 | 154 |
|
145 | 155 |
toolLibrary.postInitialize(); |
146 | 156 |
|
157 |
projectionLibrary.postInitialize(); |
|
158 |
cresquesCtsLibrary.postInitialize(); |
|
159 |
|
|
147 | 160 |
geometryLibrary.postInitialize(); |
148 | 161 |
defaultGeometryLibrary.postInitialize(); |
149 | 162 |
|
Also available in: Unified diff