Examples of FlowPage


Examples of org.eclipse.draw2d.text.FlowPage

        super.setBounds(rect);
    }
   
    protected void addSwimlaneLabel() {
        swimlaneLabel = new TextFlow();
        FlowPage fp = new FlowPage();
        fp.setHorizontalAligment(PositionConstants.CENTER);
        fp.add(swimlaneLabel);
        GridData data = new GridData(GridData.FILL_HORIZONTAL);
        add(fp, data);
    }
View Full Code Here

Examples of org.eclipse.draw2d.text.FlowPage

        figure.setLayoutManager(layout);
        figure.setOpaque(false);

        label = new TextFlow();

        FlowPage fp = new FlowPage();
        fp.setLayoutManager(new PageFlowLayout(fp));
        fp.setHorizontalAligment(PositionConstants.CENTER);
        fp.add(label);

        figure.add(fp, FlowLayout.ALIGN_CENTER);

        GridData data = new GridData(GridData.FILL_BOTH);
        add(figure, data);
View Full Code Here

Examples of org.eclipse.draw2d.text.FlowPage

*
* @param borderSize the size of the MarginBorder
*/
public StickyNoteFigure(int borderSize) {
  setBorder(new MarginBorder(borderSize));
  FlowPage flowPage = new FlowPage();

  textFlow = new TextFlow();

  textFlow.setLayoutManager(new ParagraphTextLayout(textFlow,
          ParagraphTextLayout.WORD_WRAP_SOFT));

  flowPage.add(textFlow);

  setLayoutManager(new StackLayout());
  add(flowPage);
}
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.css2.layout.FlowPage

   * (non-Javadoc)
   *
   * @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
   */
  protected IFigure createFigure() {
    FlowPage f = new FlowPage();
    return f;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.