Package org.eclipse.bpel.common.ui.layouts

Examples of org.eclipse.bpel.common.ui.layouts.AlignedFlowLayout


    Layer layer = new Layer();
    if (figureLayout == null) {
        if (fillParent) {
            figureLayout = new FillParentLayout();
        } else {
        figureLayout = new AlignedFlowLayout() {
         
          @Override
          protected void setBoundsOfChild(IFigure parent,  IFigure child,  Rectangle bounds) {
            parent.getClientArea(Rectangle.SINGLETON);
            bounds.translate(Rectangle.SINGLETON.x, Rectangle.SINGLETON.y);
View Full Code Here


     *
     */
    public MainTrayTitleFigure() {
      super();
      setOpaque(true);
      AlignedFlowLayout titleLayout = new AlignedFlowLayout();
      titleLayout.setHorizontal(true);
      titleLayout.setHorizontalSpacing(2);
      titleLayout.setVerticalAlignment(AlignedFlowLayout.ALIGN_CENTER);
      titleLayout.setHorizontalAlignment(AlignedFlowLayout.ALIGN_CENTER);
      setLayoutManager(titleLayout);
      setBorder(new MarginBorder(new Insets(3)));
    }
View Full Code Here

TOP

Related Classes of org.eclipse.bpel.common.ui.layouts.AlignedFlowLayout

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.