View Javadoc

1   /*
2    * Copyright (c) 2005, The K-Wf Grid Consortium
3    * Fraunhofer Institute for Computer Architecture and Software Technology
4    * See http://www.kwfgrid.eu and http://www.first.fraunhofer.de for more details.
5    */
6   package net.kwfgrid.gwui.graphview;
7   
8   import net.kwfgrid.gworkflowdl.structure.Transition;
9   
10  /***
11     Operation properties which are used when no Operation is defined for a Transition.
12  */
13  public class NullOperationProperties implements OperationProperties {
14      private String[] _text;
15      
16      public NullOperationProperties(Transition transition) {
17  	_text = new String[] { transition.getID() };
18      }
19      
20      public String[] getText() {
21  	return _text;
22      }
23      
24      public String getToolTipText() {
25  	return "";
26      }
27      
28      public void invalidate() {
29      }
30  }