implementationtypes.java
来自「jawe的最新版本,基于Java的图形化工作流编辑器。图形化工作流编辑器 。使用」· Java 代码 · 共 54 行
JAVA
54 行
package org.enhydra.shark.xpdl.elements;import java.util.ArrayList;import org.enhydra.shark.xpdl.XMLComplexChoice;import org.enhydra.shark.xpdl.XMLElement;/** * Represents the type of implementations for Activity from XPDL schema. * * @author Sasa Bojanic */public class ImplementationTypes extends XMLComplexChoice { public ImplementationTypes (Implementation parent) { super(parent,"Type", true); } protected void fillChoices () { choices=new ArrayList(); choices.add(new No(this)); // we use tools instead of tool choices.add(new Tools(this)); choices.add(new SubFlow(this)); choosen=(XMLElement)choices.get(0); } public No getNo () { return (No)choices.get(0); } public void setNo () { setChoosen((No)choices.get(0)); } public Tools getTools () { return (Tools)choices.get(1); } public void setTools () { setChoosen((Tools)choices.get(1)); } public SubFlow getSubFlow () { return (SubFlow)choices.get(2); } public void setSubFlow () { setChoosen((SubFlow)choices.get(2)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?