1 /*******************************************************************************
\r
2 * Copyright (c) 2010 Association for Decentralized Information Management in
\r
4 * All rights reserved. This program and the accompanying materials
\r
5 * are made available under the terms of the Eclipse Public License v1.0
\r
6 * which accompanies this distribution, and is available at
\r
7 * http://www.eclipse.org/legal/epl-v10.html
\r
10 * VTT Technical Research Centre of Finland - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.sysdyn.ui.properties.widgets.expressions;
\r
14 import java.util.List;
\r
15 import java.util.Map;
\r
17 import org.eclipse.swt.custom.VerifyKeyListener;
\r
18 import org.eclipse.swt.events.FocusListener;
\r
19 import org.eclipse.swt.events.KeyListener;
\r
20 import org.eclipse.swt.events.ModifyListener;
\r
21 import org.eclipse.swt.widgets.Composite;
\r
22 import org.eclipse.swt.widgets.Table;
\r
23 import org.simantics.db.Resource;
\r
25 public class EmptyExpression implements IExpression {
\r
28 public void createExpressionFields(Composite parent, Map<String, Object> data, Table allowedVariables) {
\r
29 // TODO Auto-generated method stub
\r
34 public void focus() {
\r
35 // TODO Auto-generated method stub
\r
40 public List<ExpressionField> getExpressionFields() {
\r
41 // TODO Auto-generated method stub
\r
46 public void readData(Resource variable, Map<String, Object> data) {
\r
47 // TODO Auto-generated method stub
\r
52 public void replaceSelection(String var) {
\r
53 // TODO Auto-generated method stub
\r
58 public void save(Resource variable, Map<String, Object> data) {
\r
59 // TODO Auto-generated method stub
\r
64 public void updateData(Map<String, Object> data) {
\r
65 // TODO Auto-generated method stub
\r
70 public void addKeyListener(KeyListener listener) {
\r
71 // TODO Auto-generated method stub
\r
76 public void addModifyListener(ModifyListener listener) {
\r
77 // TODO Auto-generated method stub
\r
82 public void addFocusListener(FocusListener listener) {
\r
83 // TODO Auto-generated method stub
\r
88 public void addVerifyKeyListener(VerifyKeyListener listener) {
\r
89 // TODO Auto-generated method stub
\r