1 10 11 package org.enhydra.jawe.graph; 12 13 import org.enhydra.jawe.*; 14 import org.enhydra.jawe.xml.*; 15 16 import org.jgraph.graph.*; 17 18 import java.util.*; 19 import java.awt.*; 20 21 24 public class Start extends Activity { 25 26 29 public Start() { 30 this(null); 31 } 32 33 36 public Start(Object userObject) { 37 super(userObject); 38 activityVisualType=JaWEConstants.TYPE_OF_ELEMENT_STARTING; 39 } 40 41 42 public void showPropertyDialog(Window parentWindow,AbstractGraph graph){} 43 44 48 public boolean acceptsSource() { 49 if (getOutgoingTransitions().size()<1) { 50 return true; 51 } 52 else { 53 return false; 54 } 55 } 56 57 60 public XMLElement get (String what) { 61 return null; 62 } 63 64 67 public void set (String what,Object value) { 68 return; 69 } 70 71 72 75 public String toString () { 76 String toRet=ResourceManager.getLanguageDependentString("StartKey"); 77 if (toRet!=null) { 78 return toRet; 79 } else { 80 return ""; 81 } 82 } 83 } 84 85 86 | Popular Tags |