⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 activitytypes.java

📁 jawe的最新版本,基于Java的图形化工作流编辑器。图形化工作流编辑器 。使用JAVA语言开发
💻 JAVA
字号:
package org.enhydra.shark.xpdl.elements;import java.util.ArrayList;import org.enhydra.shark.xpdl.XMLComplexChoice;import org.enhydra.shark.xpdl.XMLElement;/** *  Represents Activity types from XPDL schema. *  *  @author Sasa Bojanic */public class ActivityTypes extends XMLComplexChoice {   public ActivityTypes (Activity parent) {      super(parent,"Type", true);   }   protected void fillChoices () {      choices=new ArrayList();      choices.add(new Route(this));       choices.add(new Implementation(this));       choices.add(new BlockActivity(this));      choosen=(XMLElement)choices.get(0);         }      public Route getRoute () {      return (Route)choices.get(0);   }   public void setRoute () {      setChoosen((Route)choices.get(0));   }      public Implementation getImplementation () {      return (Implementation)choices.get(1);   }   public void setImplementation () {      setChoosen((Implementation)choices.get(1));   }   public BlockActivity getBlockActivity () {      return (BlockActivity)choices.get(2);   }   public void setBlockActivity () {      setChoosen((BlockActivity)choices.get(2));   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -