svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.expressionevaluator / org.gvsig.expressionevaluator.lib / org.gvsig.expressionevaluator.lib.api / src / main / java / org / gvsig / expressionevaluator / ExpressionEvaluatorLibrary.java @ 44858
History | View | Annotate | Download (849 Bytes)
1 |
package org.gvsig.expressionevaluator; |
---|---|
2 |
|
3 |
import org.gvsig.tools.ToolsLibrary; |
4 |
import org.gvsig.tools.ToolsLocator; |
5 |
import org.gvsig.tools.dataTypes.DataTypesManager; |
6 |
import org.gvsig.tools.library.AbstractLibrary; |
7 |
import org.gvsig.tools.library.LibraryException; |
8 |
|
9 |
public class ExpressionEvaluatorLibrary extends AbstractLibrary { |
10 |
|
11 |
@Override
|
12 |
public void doRegistration() { |
13 |
registerAsAPI(ExpressionEvaluatorLibrary.class); |
14 |
require(ToolsLibrary.class); |
15 |
} |
16 |
|
17 |
@Override
|
18 |
protected void doInitialize() throws LibraryException { |
19 |
} |
20 |
|
21 |
@Override
|
22 |
protected void doPostInitialize() throws LibraryException { |
23 |
DataTypesManager dataTypesManager = ToolsLocator.getDataTypesManager(); |
24 |
dataTypesManager.addtype(DataTypes.EXPRESSION, "Expression", "Expression", |
25 |
Expression.class, null); |
26 |
|
27 |
} |
28 |
} |
29 |
|