Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.StackLayout


        return container;
    }

    private void activateView(final int index)
    {
        StackLayout layout = (StackLayout) container.getLayout();
        Control[] children = container.getChildren();

        if (index >= 0 && index < children.length)
        {
            if (layout.topControl != null)
View Full Code Here


    public PageBook(Composite parent, int style)
    {
        super(parent, style);

        this.layout = new StackLayout();
        setLayout(layout);
    }
View Full Code Here

    @Override
    protected void itemSelected(Control viewer)
    {
        Composite parent = viewer.getParent();
        StackLayout layout = (StackLayout) parent.getLayout();
        layout.topControl = viewer;
        parent.layout();
    }
View Full Code Here

    public ProgressIndicator(Composite parent) {
        super(parent, SWT.NULL);
        determinateProgressBar = new ProgressBar(this, SWT.HORIZONTAL);
        indeterminateProgressBar = new ProgressBar(this, SWT.HORIZONTAL
                | SWT.INDETERMINATE);
        layout = new StackLayout();
        setLayout(layout);
    }
View Full Code Here

    fd_composite_1.top = new FormAttachment(0, 10);
    fd_composite_1.bottom = new FormAttachment(0, 710);
    composite_1.setLayoutData(fd_composite_1);

    // Create new stack layout that we reference and modify
    final StackLayout stackLayout = new StackLayout();

    // Set the layout of the composite to the stack layout we just created
    composite_1.setLayout(stackLayout);

    Composite composite_2 = new Composite(composite, SWT.NONE);
View Full Code Here

      });


      // scheduling options
      groupOptions = new Group(dialogShell, SWT.FILL);
      StackLayout groupOptionsLayout = new StackLayout();
      GridData groupOptionsLData = new GridData();
      groupOptionsLData.grabExcessVerticalSpace = true;
      groupOptionsLData.grabExcessHorizontalSpace = true;
      groupOptionsLData.horizontalAlignment = SWT.FILL;
      groupOptionsLData.verticalAlignment = SWT.FILL;
View Full Code Here

//        public void widgetSelected(SelectionEvent e) {
//          submitZip(false);
//        }
//        });
//      }
    rightLayout = new StackLayout();
    rightLayout.topControl = startupMessage;
    rightPane.setLayout(rightLayout);
    startupMessage = new Text(rightPane, SWT.WRAP);
    startupMessage.setText(JExerciseViewHelpString);
    try {
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.