📄 implementationtypes.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -