Revision 44259 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.swing/org.gvsig.expressionevaluator.swing.api/src/main/java/org/gvsig/expressionevaluator/swing/ExpressionEvaluatorSwingManager.java
ExpressionEvaluatorSwingManager.java | ||
---|---|---|
3 | 3 |
|
4 | 4 |
import java.util.Collection; |
5 | 5 |
import java.util.List; |
6 |
import javax.lang.model.element.VariableElement; |
|
6 | 7 |
import javax.swing.JButton; |
7 |
import javax.swing.JPanel; |
|
8 | 8 |
import javax.swing.text.JTextComponent; |
9 | 9 |
import org.gvsig.expressionevaluator.Function; |
10 | 10 |
import org.gvsig.expressionevaluator.SymbolTable; |
11 | 11 |
import org.gvsig.expressionevaluator.swing.Element.ConstantElement; |
12 | 12 |
import org.gvsig.expressionevaluator.swing.Element.FunctionElement; |
13 | 13 |
import org.gvsig.expressionevaluator.swing.Element.GroupElement; |
14 |
import org.gvsig.expressionevaluator.swing.Element.VariableElement; |
|
15 | 14 |
|
16 | 15 |
public interface ExpressionEvaluatorSwingManager { |
17 | 16 |
|
18 | 17 |
|
19 | 18 |
// public List<Element> createElements(Collection<SymbolTable> symbolTables); |
20 | 19 |
|
21 |
public List<Element> createElements(ExpressionBuilderConfig config, Collection<SymbolTable> symbolTables);
|
|
20 |
public List<Element> createElements(Collection<SymbolTable> symbolTables); |
|
22 | 21 |
|
23 | 22 |
public JExpressionBuilder createJExpressionBuilder(); |
24 | 23 |
|
... | ... | |
48 | 47 |
// |
49 | 48 |
// public VariableElement createVariableElement(String label, String source, String name, String typeName, String description); |
50 | 49 |
|
51 |
public GroupElement createGroupElement(ExpressionBuilderConfig config, String name);
|
|
50 |
public GroupElement createGroupElement(String name); |
|
52 | 51 |
|
53 |
public GroupElement createGroupElement(ExpressionBuilderConfig config, String name, List<Element> elements);
|
|
52 |
public GroupElement createGroupElement(String name, List<Element> elements); |
|
54 | 53 |
|
55 |
public FunctionElement createFunctionElement(ExpressionBuilderConfig config, Function function);
|
|
54 |
public FunctionElement createFunctionElement(Function function); |
|
56 | 55 |
|
57 |
public ConstantElement createConstantElement(ExpressionBuilderConfig config, Object value);
|
|
56 |
public ConstantElement createConstantElement(Object value, String label);
|
|
58 | 57 |
|
59 |
public ConstantElement createConstantElement(ExpressionBuilderConfig config, Object value, String description);
|
|
58 |
public ConstantElement createConstantElement(Object value, String label, String description);
|
|
60 | 59 |
|
61 |
public VariableElement createVariableElement(ExpressionBuilderConfig config, String label, String source, String name, String typeName, String description); |
|
62 |
|
|
63 | 60 |
public ExpressionPickerController createExpressionPickerController(JTextComponent text, JButton button); |
64 | 61 |
|
65 | 62 |
public CalculatorController createCalculatorController(JTextComponent text, int dataType); |
Also available in: Unified diff