Package org.cishell.reference.gui.workflow.model

Examples of org.cishell.reference.gui.workflow.model.NormalWorkflow


    viewer.expandAll();

    LinkedHashMap<Long, Workflow> map = WorkflowManager.getInstance()
        .getMap();
    for (Map.Entry<Long, Workflow> entry : map.entrySet()) {
      NormalWorkflow wf = (NormalWorkflow) entry.getValue();
      WorkflowTreeItem wfnew = new WorkflowGUI(wf,
          (WorkflowGUI) rootItem, 0, brandPluginID);
      rootItem.addChild(wfnew);
      LinkedHashMap<Long, WorkflowItem> itemMap = wf.getMap();
      WorkflowTreeItem parent = wfnew;
      for (Map.Entry<Long, WorkflowItem> itemEntry : itemMap.entrySet()) {
        AlgorithmWorkflowItem algoItem = (AlgorithmWorkflowItem) itemEntry
            .getValue();
        final AlgorithmItemGUI dataItem = new AlgorithmItemGUI(
View Full Code Here


    viewer.expandAll();
  }

  void addworkflow(WorkflowGUI rootItem, Workflow workflow,
      String brandPluginID) {
    NormalWorkflow wf = (NormalWorkflow) workflow;
    WorkflowGUI wfnew = new WorkflowGUI(wf, (WorkflowGUI) rootItem, 0,
        brandPluginID);
    rootItem.addChild(wfnew);
    LinkedHashMap<Long, WorkflowItem> itemMap = wf.getMap();
    WorkflowTreeItem parent = wfnew;
    for (Map.Entry<Long, WorkflowItem> itemEntry : itemMap.entrySet()) {

      AlgorithmWorkflowItem algoItem = (AlgorithmWorkflowItem) itemEntry
          .getValue();
View Full Code Here

  }

  public Workflow createWorkflow(String name, String type) {
    Long newID = getUniqueInternalId();
    if (type == Constant.NormalWorkflow) {
      currentWorkflow = new NormalWorkflow(name + newID, newID);
      map.put(newID, currentWorkflow);
    }
    return currentWorkflow;
  }
View Full Code Here

TOP

Related Classes of org.cishell.reference.gui.workflow.model.NormalWorkflow

Copyright © 2018 www.massapicom. 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.