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.simantics.db.Resource;
\r
24 public class DelayExpression implements IExpression {
\r
27 public void createExpressionFields(Composite parent, Map<String, Object> data) {
\r
28 // TODO Auto-generated method stub
\r
33 public void focus() {
\r
34 // TODO Auto-generated method stub
\r
39 public List<ExpressionField> getExpressionFields() {
\r
40 // TODO Auto-generated method stub
\r
45 public void readData(Resource variable, Map<String, Object> data) {
\r
46 // TODO Auto-generated method stub
\r
51 public void replaceSelection(String var) {
\r
52 // TODO Auto-generated method stub
\r
57 public void save(Resource variable, Map<String, Object> data) {
\r
58 // TODO Auto-generated method stub
\r
63 public void updateData(Map<String, Object> data) {
\r
64 // TODO Auto-generated method stub
\r
69 public void addKeyListener(KeyListener listener) {
\r
70 // TODO Auto-generated method stub
\r
75 public void addModifyListener(ModifyListener listener) {
\r
76 // TODO Auto-generated method stub
\r
81 public void addFocusListener(FocusListener listener) {
\r
82 // TODO Auto-generated method stub
\r
87 public void addVerifyKeyListener(VerifyKeyListener listener) {
\r
88 // TODO Auto-generated method stub
\r