Package org.uengine.processdesigner

Examples of org.uengine.processdesigner.PlaceHolder


        return super.add(comp);
      }
    };*/
   
    ProxyPanel firstPlaceHolder = new ProxyPanel();{
      PlaceHolder innerHolder = new PlaceHolder(new Dimension(50,40), false){

        @Override
        public void onDropped() {
          super.onDropped();
          if(ActivityDesignerListener.getSelectedComponents()!=null && ActivityDesignerListener.getSelectedComponents().size()>0)
            AllActivityDesigner.this.onDropped(ActivityDesignerListener.getSelectedComponents());
        }
       
      };
      //innerHolder.setAlwaysDrawRegion(true);
      innerHolder.setText("drop here");
     
      firstPlaceHolder.setLayout(new BorderLayout(0, 0));
      firstPlaceHolder.add("West", new ArrowLabel());
      firstPlaceHolder.add("Center", innerHolder);
      firstPlaceHolder.add("East", new ArrowLabel());
View Full Code Here


    } else {
      innerPanel.setLayout(new BorderLayout(0, 0));

      innerPanel.add("West", comp);
      innerPanel.add("Center", new HorizontalSeparator());
      innerPanel.add("South", new PlaceHolder(new Dimension(30,5), true){
        public void onDropped() {
          setSelected(false);

          Vector selectedComps = ActivityDesignerListener
            .getSelectedComponents();
         
          if (selectedComps != null) {
            int where = designer.getParentDesigner().indexOf(
                designer);
           
            insertActivityDesigners(selectedComps, where+1);
          }
        }
      });
      innerPanel.add("North", new PlaceHolder(new Dimension(30,5), true){
        public void onDropped() {
          setSelected(false);

          Vector selectedComps = ActivityDesignerListener
            .getSelectedComponents();
View Full Code Here

TOP

Related Classes of org.uengine.processdesigner.PlaceHolder

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.