Examples of AdHocSubProcess


Examples of org.eclipse.bpmn2.AdHocSubProcess

public class AdHocSubProcessElementHandler extends MainElementHandler {

    @Override
    public boolean handle(FlowElement element, PathContextManager manager) {
        AdHocSubProcess adHoc = (AdHocSubProcess) element;
       
        List<FlowElement> flowElements = adHoc.getFlowElements();
       
        for (FlowElement fElement : flowElements) {
            if (fElement instanceof Activity) {
                if (((Activity) fElement).getIncoming().size() == 0) {
                   
View Full Code Here

Examples of org.eclipse.bpmn2.AdHocSubProcess

            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case Bpmn2Package.AD_HOC_SUB_PROCESS: {
            AdHocSubProcess adHocSubProcess = (AdHocSubProcess) theEObject;
            T result = caseAdHocSubProcess(adHocSubProcess);
            if (result == null)
                result = caseSubProcess(adHocSubProcess);
            if (result == null)
                result = caseActivity(adHocSubProcess);
View Full Code Here

Examples of org.eclipse.bpmn2.AdHocSubProcess

          "A specialized type of Sub-Process that is a group of Activities that have no REQUIRED sequence relationships");
    }

    @Override
    protected SubProcess createFlowElement(ICreateContext context) {
      AdHocSubProcess adHocSubProcess = ModelHandler.FACTORY.createAdHocSubProcess();
      adHocSubProcess.setName("Ad-Hoc SubProcess");
      return adHocSubProcess;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.