Package org.eclipse.php.internal.ui.util

Examples of org.eclipse.php.internal.ui.util.ScrolledPageContent


    overlayKeys.toArray(keys);
    return keys;
  }

  public Control createControl(Composite parent) {
    ScrolledPageContent scrolled = new ScrolledPageContent(parent,
        SWT.H_SCROLL | SWT.V_SCROLL);
    scrolled.setExpandHorizontal(true);
    scrolled.setExpandVertical(true);

    Composite control = new Composite(scrolled, SWT.NONE);
    GridLayout layout = new GridLayout();
    control.setLayout(layout);

    Composite autoCloseComposite;
    autoCloseComposite = createSubsection(control,
        PHPUIMessages.typingPage_autoClose_title);
    addAutoclosingSection(autoCloseComposite);

    Composite smartPasteSection;
    smartPasteSection = createSubsection(control,
        PHPUIMessages.typingPage_smartPaste_title);
    addSmartPasteSection(smartPasteSection);

    Composite smartTabSection;
    smartTabSection = createSubsection(control,
        PHPUIMessages.typingPage_smartTab_title);
    addSmartTabSection(smartTabSection);

    scrolled.setContent(control);
    final Point size = control.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    scrolled.setMinSize(size.x, size.y);
    return scrolled;

  }
View Full Code Here


    return checkBox;
  }

  private void makeScrollableCompositeAware(Control control) {
    ScrolledPageContent parentScrolledComposite = getParentScrolledComposite(control);
    if (parentScrolledComposite != null) {
      parentScrolledComposite.adaptChild(control);
    }
  }
View Full Code Here

    }
    return null;
  }

  private void makeScrollableCompositeAware(Control control) {
    ScrolledPageContent parentScrolledComposite = getParentScrolledComposite(control);
    if (parentScrolledComposite != null) {
      parentScrolledComposite.adaptChild(control);
    }
  }
View Full Code Here

    makeScrollableCompositeAware(excomposite);
    return excomposite;
  }

  protected final void expandedStateChanged(ExpandableComposite expandable) {
    ScrolledPageContent parentScrolledComposite = getParentScrolledComposite(expandable);
    if (parentScrolledComposite != null) {
      parentScrolledComposite.reflow(true);
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.util.ScrolledPageContent

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.