Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.StackLayout


    /* contributed provider preferences. */
    fGroup = new Composite(groupComp, SWT.NONE);
    gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING
        | GridData.VERTICAL_ALIGN_BEGINNING);
    fGroup.setLayoutData(gd);
    fStackLayout = new StackLayout();
    fGroup.setLayout(fStackLayout);

    PlatformUI.getWorkbench().getHelpSystem().setHelp(composite,
        IPHPHelpContextIds.FOLDING_PREFERENCES);
    return composite;
View Full Code Here


    deploymentCoLocated.setSelection(true);
    deploymentCoLocated.addSelectionListener(deploymentListener);
    deploymentRemote.addSelectionListener(deploymentListener);

    stackLayoutComposite = new Composite(sectionClient, SWT.NONE);
    stackLayout = new StackLayout();
    stackLayoutComposite.setLayout(stackLayout);
    td = new TableWrapData(TableWrapData.FILL);
    td.colspan = 2;
    td.grabHorizontal = true;
    td.indent = 0;
View Full Code Here

        Composite stackComposite = new Composite(parent, SWT.NONE);
       
        stackComposite.setLayoutData(control.getLayoutData());
        control.setLayoutData(null);

        StackLayout stackLayout = new StackLayout();
        stackComposite.setLayout(stackLayout);
       
        control.setParent(stackComposite);
       
        if (controls.length > 1) {
View Full Code Here

       
        Composite stackComposite = new Composite(parent, SWT.NONE);

        stackComposite.setLayoutData(combo.getLayoutData());

        StackLayout stackLayout = new StackLayout();
        stackComposite.setLayout(stackLayout);
       
        combo.setParent(stackComposite);

        comboLabel = new Label(stackComposite, SWT.NONE);
View Full Code Here

                CheckHandler.support(button);
//            else
//                RadioGroupHandler.support(button);
        }
       
        StackLayout stackLayout = cover(button);

        Label skinLabel = new Label(button.getParent(), SWT.NONE);

        stackLayout.topControl = skinLabel;
       
View Full Code Here

        Label skinLabel = label;
       
        if (isSeparator) {

            StackLayout stackLayout = cover(label);

            int style = (isStyle(label, SWT.TRANSPARENT) ? SWT.TRANSPARENT : SWT.NONE);
           
            skinLabel = new Label(label.getParent(), style);
           
View Full Code Here

            // pages
           
            pageComposite = new Composite(borderComposite, SWT.TRANSPARENT);

            pageLayout = new StackLayout();
           
            pageComposite.setLayout(pageLayout);

            gridData = new GridData(GRAB_FILL);
            gridData.horizontalSpan = 2;
View Full Code Here

            fields.add(EMPTY);
            fields.addAll(definition.getFields());
            mappedTo.setInput(fields);

            final Composite details = new Composite(composite, SWT.NONE);
            final StackLayout layout = new StackLayout();
            details.setLayout(layout);

            final Composite emptyArea = new Composite(details, SWT.NONE);

            GridLayoutFactory glf = GridLayoutFactory.fillDefaults().margins(0, 0);
View Full Code Here

        Action config = new Action()
        {
            @Override
            public void run()
            {
                StackLayout layout = (StackLayout) container.getLayout();
                if (layout.topControl != null)
                    ((Page) layout.topControl.getData()).showConfigMenu(getActiveShell());
            }
        };
        config.setImageDescriptor(PortfolioPlugin.descriptor(PortfolioPlugin.IMG_CONFIG));
View Full Code Here

        LocalResourceManager resources = new LocalResourceManager(JFaceResources.getResources(), parent);

        TaxonomyNodeRenderer renderer = new TaxonomyNodeRenderer(resources);

        container = new Composite(parent, SWT.NONE);
        StackLayout layout = new StackLayout();
        container.setLayout(layout);

        Page[] pages = new Page[] { new DefinitionViewer(model, renderer), //
                        new ReBalancingViewer(model, renderer), //
                        new PieChartViewer(model, renderer), //
View Full Code Here

TOP

Related Classes of org.eclipse.swt.custom.StackLayout

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.