Package org.eclipse.ui.internal.layout

Examples of org.eclipse.ui.internal.layout.TrimCommonUIHandle


          major += resizePadding;
        }

        // If we have to show a drag handle then do it here
        if (td.listener != null && createHandles()) {
          TrimCommonUIHandle handle = getDragHandle(trimArea.orientation);
          // handle.setControl(control);

          if (horizontal) {
            handle.setBounds(tilePosMajor, tilePosMinor,
                getHandleSize(true), curLine.minorMax);
          } else {
            handle.setBounds(tilePosMinor, tilePosMajor,
                curLine.minorMax, getHandleSize(false));
          }

          tilePosMajor += horizontal ? getHandleSize(true)
              : getHandleSize(false);
View Full Code Here


  private TrimCommonUIHandle getDragHandle(int orientation) {
    // boolean horizontal = orientation == SWT.TOP
    // || orientation == SWT.BOTTOM;

    for (Iterator iter = dragHandles.iterator(); iter.hasNext();) {
      TrimCommonUIHandle handle = (TrimCommonUIHandle) iter.next();
      // if (handle.toDrag == null && handle.horizontal == horizontal)
      return handle;
    }

    // If we get here then we haven't found a new drag handle so create one
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.layout.TrimCommonUIHandle

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.