Revision 27670 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/InitializeApplicationExtension.java
InitializeApplicationExtension.java | ||
---|---|---|
12 | 12 |
import org.cresques.ProjectionLibrary; |
13 | 13 |
import org.cresques.impl.CresquesCtsLibrary; |
14 | 14 |
import org.gvsig.AppGvSigLibrary; |
15 |
import org.gvsig.compat.CompatLibrary; |
|
16 |
import org.gvsig.compat.CompatLocator; |
|
17 |
import org.gvsig.compat.se.SECompatLibrary; |
|
15 | 18 |
import org.gvsig.fmap.dal.DALFileLibrary; |
16 | 19 |
import org.gvsig.fmap.dal.DALLibrary; |
17 | 20 |
import org.gvsig.fmap.dal.DALLocator; |
... | ... | |
63 | 66 |
private GeometryLibrary geometryLibrary; |
64 | 67 |
private SQLJEPLibrary sQLJEPLibrary; |
65 | 68 |
private DefaultGeometryLibrary defaultGeometryLibrary; |
69 |
private CompatLibrary compatLibrary; |
|
66 | 70 |
private ProjectionLibrary projectionLibrary; |
67 | 71 |
private CresquesCtsLibrary cresquesCtsLibrary; |
68 | 72 |
|
... | ... | |
75 | 79 |
toolLibrary.initialize(); |
76 | 80 |
|
77 | 81 |
// Register persistence manager |
78 |
ToolsLocator |
|
79 |
.registerDefaultPersistenceManager(XMLEntityManager.class); |
|
82 |
ToolsLocator.registerDefaultPersistenceManager(XMLEntityManager.class); |
|
80 | 83 |
|
81 | 84 |
projectionLibrary = new ProjectionLibrary(); |
82 | 85 |
projectionLibrary.initialize(); |
... | ... | |
146 | 149 |
appGvSigLibrary = new AppGvSigLibrary(); |
147 | 150 |
appGvSigLibrary.initialize(); |
148 | 151 |
|
152 |
// libCompat library |
|
153 |
// Register default expression parser |
|
154 |
compatLibrary = new CompatLibrary(); |
|
155 |
compatLibrary.initialize(); |
|
156 |
SECompatLibrary compatLibraryImpl=new SECompatLibrary(); |
|
157 |
compatLibraryImpl.initialize(); |
|
158 |
|
|
149 | 159 |
addToLogInfo(); |
150 | 160 |
registerIcons(); |
151 | 161 |
|
... | ... | |
179 | 189 |
|
180 | 190 |
appGvSigLibrary.postInitialize(); |
181 | 191 |
|
192 |
compatLibrary.postInitialize(); |
|
193 |
|
|
182 | 194 |
registerObservers(); |
183 | 195 |
} |
184 | 196 |
private void registerObservers() { |
... | ... | |
319 | 331 |
|
320 | 332 |
} |
321 | 333 |
} |
322 |
|
|
323 | 334 |
writer.write("JAVA vendor: " + props.get("java.vendor") + "\n"); |
324 | 335 |
writer.write(" version:" +props.get("java.version")+ "\n"); |
325 | 336 |
writer.write(" home: " + props.get("java.home") + "\n"); |
Also available in: Unified diff