Package org.uengine.processdesigner

Examples of org.uengine.processdesigner.ActivityDesigner


    toggle();
  }
 
  protected void toggle(){
    for(int i=0; i<getChildDesigners().size(); i++){
      ActivityDesigner designer = (ActivityDesigner) getChildDesigners().get(i);
      if(!(designer instanceof HumanActivityDesigner)){
       
        collapsed = designer.getComponent().isVisible();

        designer.getComponent().setVisible(!collapsed);
        designer.getComponent().getParent().setVisible(!collapsed);
       
      }
    }
  }
View Full Code Here


            designer.onDropped(selectedComps);
          } else {
            // ActivityDesigner droppingActivity =
            // ((ActivityDesigner)selectedComps.elementAt(0));
            SequenceActivity wrapperActivity = new SequenceActivity();
            ActivityDesigner wrapperActivityDesigner = wrapperActivity
                .createDesigner();

            int where = designer.getParentDesigner().indexOf(
                designer);
            Vector compBag = new Vector();
            compBag.add(designer);
            wrapperActivityDesigner.onDropped(compBag);

            wrapperActivityDesigner.onDropped(selectedComps);

            selectedComps = new Vector();
            selectedComps.add(wrapperActivityDesigner);
            insertActivityDesigners(selectedComps, where);
          }
View Full Code Here

TOP

Related Classes of org.uengine.processdesigner.ActivityDesigner

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.