Package org.eclipse.wb.swt.layout.grouplayout.GroupLayout

Examples of org.eclipse.wb.swt.layout.grouplayout.GroupLayout.SequentialGroup


    }

    // generate the anchors for the windows
    GroupLayout gl_composite = new GroupLayout(this);

    SequentialGroup ss = gl_composite.createSequentialGroup();
    ParallelGroup p2 = gl_composite
        .createParallelGroup(GroupLayout.LEADING);

    if ((layout & TOPIC) != 0) {
      p2.add(topicBox, GroupLayout.DEFAULT_SIZE, 496, Short.MAX_VALUE);
    }
    if ((layout & IO) != 0) {
      p2.add(output, GroupLayout.DEFAULT_SIZE, 496, Short.MAX_VALUE);
      p2.add(input, GroupLayout.DEFAULT_SIZE, 496, Short.MAX_VALUE);
    }
    ss.add(p2);
    if ((layout & WHO) != 0) {
      ss.add(who, 150, 150, 150);
    }
    gl_composite.setHorizontalGroup(gl_composite.createParallelGroup(
        GroupLayout.LEADING).add(ss));

    ParallelGroup p = gl_composite.createParallelGroup(GroupLayout.LEADING);
    SequentialGroup s = gl_composite.createSequentialGroup();

    if ((layout & TOPIC) != 0) {
      s.add(topicBox, GroupLayout.DEFAULT_SIZE, 15, 18);
    }
    if ((layout & IO) != 0) {
      if ((layout & TOPIC) == 0) {
        s.add(output, GroupLayout.DEFAULT_SIZE, 323, Short.MAX_VALUE);
      } else {
        s.add(output, GroupLayout.DEFAULT_SIZE, 308, Short.MAX_VALUE);
      }
      s.add(input);
    }
    p.add(s);
    if ((layout & WHO) != 0) {
      p.add(who, GroupLayout.DEFAULT_SIZE, 344, Short.MAX_VALUE);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.wb.swt.layout.grouplayout.GroupLayout.SequentialGroup

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.