1 package org.simantics.sysdyn.ui.properties.widgets.expressions;
\r
3 import java.util.List;
\r
4 import java.util.Map;
\r
6 import org.eclipse.swt.custom.VerifyKeyListener;
\r
7 import org.eclipse.swt.events.FocusListener;
\r
8 import org.eclipse.swt.events.KeyListener;
\r
9 import org.eclipse.swt.events.ModifyListener;
\r
10 import org.eclipse.swt.widgets.Composite;
\r
11 import org.simantics.db.Resource;
\r
13 public class LookupExpression implements IExpression {
\r
16 public void focus() {
\r
17 // TODO Auto-generated method stub
\r
22 public List<ExpressionField> getExpressionFields() {
\r
23 // TODO Auto-generated method stub
\r
28 public void readData(final Resource variable, Map<String, Object> data) {
\r
29 // TODO Auto-generated method stub
\r
34 public void replaceSelection(String var) {
\r
35 // TODO Auto-generated method stub
\r
40 public void save(final Resource variable, Map<String, Object> data) {
\r
41 // TODO Auto-generated method stub
\r
46 public void updateData(Map<String, Object> data) {
\r
47 // TODO Auto-generated method stub
\r
52 public void createExpressionFields(Composite parent, Map<String, Object> data) {
\r
53 // TODO Auto-generated method stub
\r
58 public void addKeyListener(KeyListener listener) {
\r
59 // TODO Auto-generated method stub
\r
64 public void addModifyListener(ModifyListener listener) {
\r
65 // TODO Auto-generated method stub
\r
70 public void addFocusListener(FocusListener listener) {
\r
71 // TODO Auto-generated method stub
\r
76 public void addVerifyKeyListener(VerifyKeyListener listener) {
\r
77 // TODO Auto-generated method stub
\r