Package org.eclipse.ui.forms.widgets

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


    assert editor!=null;
    this.editor = editor;
  }
 
  public void createControl(Composite parent) {
    expandBar = new SharedScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL) {
    };
    expandBar.setExpandHorizontal(true);
    expandBar.setExpandVertical(true);
    Composite container = new Composite(expandBar, SWT.NONE);
    expandBar.setContent(container);
View Full Code Here


            {
                updateGroupingState(GroupingMethod.valueOf(prefStore.getString(key)));
            }
        });

        final SharedScrolledComposite scroller = new CScrolledComposite(parent,
            SWT.H_SCROLL | SWT.V_SCROLL);

        final Composite spacer = GUIFactory.createSpacer(scroller);

        scroller.setContent(spacer);
        scroller.setExpandHorizontal(true);
        scroller.setExpandVertical(false);

        final GroupingMethod defaultGrouping = GroupingMethod.valueOf(prefStore
            .getString(key));

        attributeEditors = new AttributeGroups(spacer, editor.getAlgorithmDescriptor(),
            defaultGrouping, null, Collections.<String, Object> emptyMap());
        attributeEditors.setLayoutData(GridDataFactory.fillDefaults().grab(true, true)
            .create());
        attributeEditors.setAttribute(AttributeList.ENABLE_VALIDATION_OVERLAYS, true);

        restoreGlobalState();

        this.mainControl = scroller;
        scroller.reflow(true);

        updateGroupingState(defaultGrouping);
        registerListeners();
    }
View Full Code Here

TOP

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

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.