Package org.eclipse.ui.forms.widgets

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


    FormToolkit toolkit = managedForm.getToolkit();
    toolkit.decorateFormHeading(form.getForm());

    form.setText(PAGE_TITLE);

    ColumnLayout layout = new ColumnLayout();
    layout.maxNumColumns = 1;
    form.getBody().setLayout(layout);
   
    // management section
        Section section = toolkit.createSection(form.getBody(), Section.DESCRIPTION|Section.TITLE_BAR|Section.TWISTIE|Section.EXPANDED);
View Full Code Here


            public String getPrefix( Control control ) {
                return control.getData().toString() + " - ";
            }
        });
        form.setText("Country Form");
        final ColumnLayout layout = new ColumnLayout();
        layout.maxNumColumns = MAX_COLS;
        layout.minNumColumns = MIN_COLS;
        form.getBody().setLayout(layout);
        toolkit.decorateFormHeading(form.getForm());
       
View Full Code Here

            public String getPrefix( Control control ) {
                return control.getData().toString() + " - ";
            }
        });
        form.setText("Country Form");
        final ColumnLayout layout = new ColumnLayout();
        layout.maxNumColumns = MAX_COLS;
        layout.minNumColumns = MIN_COLS;
        form.getBody().setLayout(layout);
        toolkit.decorateFormHeading(form.getForm());
View Full Code Here

    public static Composite createColumnLayoutContainer ( FormToolkit toolkit, Composite parent,
                                    int minNumColumns, int maxNumColumns )
    {  
        Composite container = toolkit.createComposite(parent, SWT.WRAP);
        ColumnLayout layout   = new ColumnLayout();
        layout.minNumColumns  = minNumColumns;
        layout.maxNumColumns  = maxNumColumns;
        container.setLayout(layout);   
        // toolkit.paintBordersFor(container);     
       
View Full Code Here

        this.model = model;
        this.editor = editor;

        setTitleAndFont( form );

        ColumnLayout colLayout = new ColumnLayout();
        colLayout.minNumColumns = 1;
        colLayout.maxNumColumns = 1;

        form.getBody().setLayout( colLayout );

        // addToolBar(toolkit, form);

        Shell shell = new Shell( Display.getCurrent() );
        Window conditionPopup = new AddNewConditionDialog( shell,
                                                           this );
        Window actionPopup = new AddNewActionDialog( shell,
                                                     this );

        Window optionsPopup = new RuleAttributesDialog( shell,
                                                        this );

        Section ifSection = createMainSection( form,
                                               toolkit,
                                               "WHEN",
                                               conditionPopup );
        Section thenSection = createMainSection( form,
                                                 toolkit,
                                                 "THEN",
                                                 actionPopup );
        Section optionsSection = createMainSection( form,
                                                    toolkit,
                                                    "(options)",
                                                    optionsPopup );

        ColumnLayout layout = new ColumnLayout();
        layout.minNumColumns = 1;
        layout.maxNumColumns = 1;
        // layout.verticalSpacing = 0;

        ((Composite) (ifSection.getClient())).setLayout( layout );
View Full Code Here

    private Section createMainSection(final ScrolledForm form,
                                      FormToolkit toolkit,
                                      String title,
                                      Window popup) {
        ColumnLayout layout = new ColumnLayout();
        layout.minNumColumns = 1;
        layout.maxNumColumns = 1;
        Section l1Sect = toolkit.createSection( form.getBody(),
                                                ExpandableComposite.TWISTIE | ExpandableComposite.TITLE_BAR | ExpandableComposite.EXPANDED );
        l1Sect.setActiveToggleColor( toolkit.getHyperlinkGroup().getActiveForeground() );
View Full Code Here

    section.setExpanded(true);
   
    Composite composite = toolkit.createComposite(section, SWT.NONE);
    toolkit.paintBordersFor(composite);
    section.setClient(composite);
    ColumnLayout cl_composite = new ColumnLayout();
    cl_composite.maxNumColumns = 1;
    composite.setLayout(cl_composite);
   
    btnPrintAccessedParameters = new Button(composite, SWT.CHECK);
    btnPrintAccessedParameters.setLayoutData(new ColumnLayoutData());
View Full Code Here

    section.setExpanded(true);
   
    Composite composite = toolkit.createComposite(section, SWT.NONE);
    section.setClient(composite);
    toolkit.paintBordersFor(composite);
    ColumnLayout cl_composite = new ColumnLayout();
    cl_composite.maxNumColumns = 1;
    composite.setLayout(cl_composite);
   
    btnNostore = new Button(composite, SWT.CHECK);
    btnNostore.setLayoutData(new ColumnLayoutData());
View Full Code Here

    form.setText("Performance Model Overview");
   
    GridLayout layout = new GridLayout();
    layout.makeColumnsEqualWidth = true;
    layout.numColumns = 1;
    form.getBody().setLayout(new ColumnLayout());
   
    Dialog.applyDialogFont(form.getBody()); // this was taken from the form examples plugin
   
    Section genericSection = this.createGenericSection(form, toolkit);
    this.genericSectionPart = new GenericSectionPart(genericSection);
View Full Code Here

    ScrolledForm form = managedForm.getForm();
    form.setText("Resources");
   
    GridLayout layout = new GridLayout();
    layout.numColumns = 2;
    form.getBody().setLayout(new ColumnLayout());
   
    Dialog.applyDialogFont(form.getBody());
   
    createResourcesListSection(form, toolkit);
    resourcesListSectionPart = new SectionPart(resourcesListSection) {
View Full Code Here

TOP

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

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.