Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.FreeformLayout


     * @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
     */
    protected IFigure createFigure() {
        Figure f = new FreeformLayer();
        f.setBorder( new MarginBorder( 3 ) );
        f.setLayoutManager( new FreeformLayout() );
        return f;
    }
View Full Code Here


     * @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
     */
    protected IFigure createFigure() {
        Figure f = new FreeformLayer();
        f.setBorder( new MarginBorder( 3 ) );
        f.setLayoutManager( new FreeformLayout() );
        return f;
    }
View Full Code Here

*
*/
public final class DiagramFigure extends GridLayer {

  public DiagramFigure() {
    setLayoutManager(new FreeformLayout());
  }
View Full Code Here

        return getModel().getBoxes();
    }

    protected IFigure createFigure() {
        Figure figure = new PageFigure(getModel().getSize());
        figure.setLayoutManager((new FreeformLayout()));
        return figure;
    }
View Full Code Here

    /**
     * Constructor Sets the default grid color: ColorConstants.lightGray
     */
    public GridSupportLayer() {
        setForegroundColor(ColorConstants.black);
        setLayoutManager(new FreeformLayout());
        setBorder(new LineBorder(1));
    }
View Full Code Here

public class SVGRootPart extends SVGRectPart {

  @Override
  protected IFigure createFigure() {
    IFigure figure = new FreeformLayer();
    figure.setLayoutManager(new FreeformLayout());

    return figure;
  }
View Full Code Here

   * @param nodeShape instance of generated figure class
   * @generated
   */
  protected IFigure setupContentPane(IFigure nodeShape) {
    if (nodeShape.getLayoutManager() == null) {
      nodeShape.setLayoutManager(new FreeformLayout() {

        public Object getConstraint(IFigure figure) {
          Object result = constraints.get(figure);
          if (result == null) {
            result = new Rectangle(0, 0, -1, -1);
View Full Code Here

   * @param nodeShape instance of generated figure class
   * @generated
   */
  protected IFigure setupContentPane(IFigure nodeShape) {
    if (nodeShape.getLayoutManager() == null) {
      nodeShape.setLayoutManager(new FreeformLayout() {

        public Object getConstraint(IFigure figure) {
          Object result = constraints.get(figure);
          if (result == null) {
            result = new Rectangle(0, 0, -1, -1);
View Full Code Here

   * @param nodeShape instance of generated figure class
   * @generated
   */
  protected IFigure setupContentPane(IFigure nodeShape) {
    if (nodeShape.getLayoutManager() == null) {
      nodeShape.setLayoutManager(new FreeformLayout() {

        public Object getConstraint(IFigure figure) {
          Object result = constraints.get(figure);
          if (result == null) {
            result = new Rectangle(0, 0, -1, -1);
View Full Code Here

   * @param nodeShape instance of generated figure class
   * @generated
   */
  protected IFigure setupContentPane(IFigure nodeShape) {
    if (nodeShape.getLayoutManager() == null) {
      nodeShape.setLayoutManager(new FreeformLayout() {

        public Object getConstraint(IFigure figure) {
          Object result = constraints.get(figure);
          if (result == null) {
            result = new Rectangle(0, 0, -1, -1);
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.FreeformLayout

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.