Package org.eclipse.ui.forms.widgets

Examples of org.eclipse.ui.forms.widgets.Twistie


    WidgetHelper.trimComposite(title, -5,-5,-5,-5, 0, 0);

    // toggle box
    Composite toggleBox = factory.createComposite(title, SWT.NO_BACKGROUND);
    toggleBox.setLayout(new GridLayout());
    toggle = new Twistie(toggleBox, SWT.NO_BACKGROUND | SWT.NO_FOCUS);
    toggle.setData(this);
    WidgetHelper.trimComposite(toggleBox, 3, -7, 0, 0, 0, 0);
   
    // package
    createPackageCheckbox(title, factory, name);
View Full Code Here


  protected DependencySearchPart createPackagePart(Composite parent, String name) {
    DependencySearchPart dsp = new DependencySearchPart(parent, composerPackage, toolkit, name);
    dsp.addToggleListener(new HyperlinkAdapter() {
      public void linkActivated(HyperlinkEvent e) {
        if (!collapsing) {
          Twistie toggle = (Twistie)e.getSource();
          DependencySearchPart dsp = (DependencySearchPart)toggle.getData();
          setExpanded(dsp, toggle.isExpanded());
        }
      }
    });
    dsp.getVersionControl().addFocusListener(new FocusAdapter() {
      public void focusGained(FocusEvent e) {
View Full Code Here

TOP

Related Classes of org.eclipse.ui.forms.widgets.Twistie

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.