Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.StackLayout


  @Before
  public void setUp() {
    display = new Display();
    Shell shell = new Shell( display );
    shell.setLayout( new StackLayout() );
    RemoteUI uiRenderer = mock( RemoteUI.class );
    when( uiRenderer.getPageParent() ).thenReturn( shell );
    controller = new Controller( uiRenderer, mock( UIDescriptor.class ) );
  }
View Full Code Here


        /* 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);

        return composite;
    }
View Full Code Here

            style |= SWT.HORIZONTAL;

        determinateProgressBar = new ProgressBar(this, style);
        indeterminateProgressBar = new ProgressBar(this, style
                | SWT.INDETERMINATE);
        layout = new StackLayout();
        setLayout(layout);
    }
View Full Code Here

   * org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
   */
  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage page) {
    topComposite = page.getWidgetFactory().createComposite(parent);
    stackLayout = new StackLayout();
    topComposite.setLayout(stackLayout);
    // no HDFS
    nonHDFSComposite = page.getWidgetFactory().createComposite(topComposite);
    nonHDFSComposite.setLayout(new GridLayout());
    page.getWidgetFactory().createLabel(nonHDFSComposite, "Selection is not a HDFS resource").setLayoutData(new GridData());
View Full Code Here

                }
            }
        });

        infoBox = new Composite(composite, SWT.NONE);
        stackLayoutInfoBox = new StackLayout();
        infoBox.setLayout(stackLayoutInfoBox);
        infoBox.setLayoutData(new RowData(430, 470));
    }
View Full Code Here

    });
    data = new GridData();
    data.widthHint = 280;
    cmbType.setLayoutData(data);
    modelPane = new Composite(innerComposite, SWT.NONE);
    modelPane.setLayout(new StackLayout());
    data = new GridData(GridData.FILL_BOTH);
    data.horizontalSpan = 2;
    data.heightHint = 170;
    data.horizontalIndent = 36;
    modelPane.setLayoutData(data);
View Full Code Here

     */
    @Override
    public final void createPartControl(Composite parent) {
        // Create controls
        stackPanel = new Composite(parent, SWT.NONE);
        stack = new StackLayout();
        stackPanel.setLayout(stack);

        topPanel = new Composite(stackPanel, SWT.NONE);

        // Filter panel
View Full Code Here

    private Action forwardAction;
    private ISelectionService selectionService;

    @Override
    public void createPartControl(Composite parent) {
        StackLayout stack = new StackLayout();
        parent.setLayout(stack);

        JpmPreferences prefs = new JpmPreferences();
        if (prefs.getBrowserSelection() == JpmPreferences.PREF_BROWSER_EXTERNAL) {
            external = true;
View Full Code Here

    @Override
    public void createPageContent( Composite parent ) {

        mainComposite = new Composite(parent, SWT.NONE);
        mainComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
        stackLayout = new StackLayout();
        mainComposite.setLayout(stackLayout);

        noFeatureLabel = new Label(mainComposite, SWT.NONE);
        noFeatureLabel.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, false));
        noFeatureLabel.setText(Messages.SimplePointEditorPage_0);
View Full Code Here

    @Override
    public void createPageContent( Composite parent ) {

        mainComposite = new Composite(parent, SWT.NONE);
        mainComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
        stackLayout = new StackLayout();
        mainComposite.setLayout(stackLayout);

        noFeatureLabel = new Label(mainComposite, SWT.NONE);
        noFeatureLabel.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, false));
        noFeatureLabel.setText(Messages.SimplePolygonEditorPage_0);
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.