Revision 43891 branches/org.gvsig.desktop-2018a/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/InitializeApplicationExtension.java
InitializeApplicationExtension.java | ||
---|---|---|
60 | 60 |
import org.gvsig.tools.ToolsLocator; |
61 | 61 |
import org.gvsig.tools.dynobject.DynObject; |
62 | 62 |
import org.gvsig.tools.evaluator.sqljep.SQLJEPEvaluatorFactory; |
63 |
import org.gvsig.tools.folders.FoldersManager; |
|
63 | 64 |
import org.gvsig.tools.i18n.I18nManager; |
64 | 65 |
import org.slf4j.Logger; |
65 | 66 |
import org.slf4j.LoggerFactory; |
... | ... | |
74 | 75 |
@Override |
75 | 76 |
public void initialize() { |
76 | 77 |
|
78 |
PluginsManager pluginsManager = PluginsLocator.getManager(); |
|
77 | 79 |
DALLocator.getDataManager().registerDefaultEvaluator(new SQLJEPEvaluatorFactory()); |
78 | 80 |
|
79 | 81 |
DALLocator.registerFeatureTypeDefinitionsManager(DefaultFeatureTypeDefinitionsManager.class); |
... | ... | |
81 | 83 |
InfoListener.initializeExtensionPoint(); |
82 | 84 |
|
83 | 85 |
registerIcons(); |
86 |
|
|
87 |
FoldersManager folderManager = ToolsLocator.getFoldersManager(); |
|
88 |
folderManager.set("ApplicationHome", pluginsManager.getApplicationHomeFolder()); |
|
84 | 89 |
|
85 | 90 |
} |
86 | 91 |
|
Also available in: Unified diff