1 23 package org.objectweb.clif.scenario.util.isac.util.tree.nodes; 24 25 import java.util.Vector ; 26 27 import org.objectweb.clif.scenario.util.isac.plugin.PluginManager; 28 import org.objectweb.clif.scenario.util.isac.util.tree.Node; 29 import org.objectweb.clif.scenario.util.isac.util.tree.NodeDescription; 30 31 38 public class IfNode { 39 40 46 protected static NodeDescription createNodeDescription(String pluginName, String testName) { 47 PluginManager pluginManager = PluginManager.getPluginManager() ; 48 return pluginManager.createNodeDescription(pluginName, Node.IF, testName) ; 49 } 50 51 55 protected static Vector getHelp() { 56 Vector help = new Vector () ; 57 String temp = "This is a if node : " ; 58 help.add(temp) ; 59 temp = "This node is used to create a if controller, you must edit the condition." ; 60 help.add(temp) ; 61 temp = "This node automaticaly generate a 'then' node, the actions containing by this node will be executed" ; 62 help.add(temp) ; 63 temp = "if the test is true. You can add a 'else' node by right clicking on the if node, and choose 'add else node' in the menu" ; 64 help.add(temp) ; 65 return help ; 66 } 67 } 68 | Popular Tags |