Package org.eclipse.wb.gef.graphical.tools

Examples of org.eclipse.wb.gef.graphical.tools.ResizeTracker


  protected List<Handle> createStaticHandles() {
    List<Handle> handles = Lists.newArrayList();
    // create resize column handle
    SideResizeHandle resizeHandle =
        new SideResizeHandle(getHost(), IPositionConstants.RIGHT, 10, true);
    resizeHandle.setDragTrackerTool(new ResizeTracker(getHost(),
        IPositionConstants.EAST,
        REQ_RESIZE));
    handles.add(resizeHandle);
    //
    return handles;
View Full Code Here


    return new MoveHandle(getHost());
  }

  protected final Handle createResizeHandle(int direction) {
    ResizeHandle handle = new ResizeHandle(getHost(), direction);
    handle.setDragTrackerTool(new ResizeTracker(direction, REQ_RESIZE));
    return handle;
  }
View Full Code Here

      @Override
      protected Color getFillColor() {
        return isPrimary() ? fillColor : IColorConstants.white;
      }
    };
    handle.setDragTrackerTool(new ResizeTracker(direction, REQ_RESIZE));
    return handle;
  }
View Full Code Here

      handles.add(moveHandle);
    }
    // create resize column handle
    {
      Handle resizeHandle = new SideResizeHandle(getHost(), IPositionConstants.RIGHT, 10, true);
      ResizeTracker tracker = new ResizeTracker(getHost(), IPositionConstants.EAST, REQ_RESIZE);
      resizeHandle.setDragTrackerTool(tracker);
      handles.add(resizeHandle);
    }
    // done
    return handles;
View Full Code Here

  protected List<Handle> createStaticHandles() {
    List<Handle> handles = Lists.newArrayList();
    // create resize column handle
    SideResizeHandle resizeHandle =
        new SideResizeHandle(getHost(), IPositionConstants.RIGHT, 10, true);
    resizeHandle.setDragTrackerTool(new ResizeTracker(getHost(),
        IPositionConstants.EAST,
        REQ_RESIZE));
    handles.add(resizeHandle);
    //
    return handles;
View Full Code Here

TOP

Related Classes of org.eclipse.wb.gef.graphical.tools.ResizeTracker

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.