Examples of RowLayout


Examples of org.eclipse.swt.layout.RowLayout

    assertEquals( "groupedEventComposite", variant );
  }

  @Test
  public void testExcludesFacadeFromLayoutingWithRowLayout() {
    composite.setLayout( new RowLayout() );

    decorator.addGroupedListener( SWT.Selection, mock( Listener.class ) );

    Control facade = composite.getChildren()[ 0 ];
    RowData layoutData = ( RowData )facade.getLayoutData();
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

  @Test
  public void testRevealsItem() {
    shell.setSize( 100, 100 );
    shell.setLayout( new FillLayout() );
    ScrollingComposite composite = new ScrollingComposite( shell, SWT.V_SCROLL );
    composite.setLayout( new RowLayout( SWT.VERTICAL ) );
    createChildren( composite );
    Control child = composite.getChildren()[ 80 ];

    composite.reveal( child );
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

  @Test
  public void testIsNotRevealedByDefault() {
    shell.setSize( 100, 100 );
    shell.setLayout( new FillLayout() );
    ScrollingComposite composite = new ScrollingComposite( shell, SWT.V_SCROLL );
    composite.setLayout( new RowLayout( SWT.VERTICAL ) );
    createChildren( composite );
    Control child = composite.getChildren()[ 80 ];
    shell.layout( true, true );

    boolean revealed = composite.isRevealed( child );
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

    client.setLayout(new GridLayout());
    GridDataFactory.fillDefaults().grab(true, true).applyTo(client);
    section.setClient(client);

    Composite headerComposite = toolkit.createComposite(section, SWT.NONE);
    RowLayout rowLayout = new RowLayout();
    rowLayout.marginTop = 0;
    rowLayout.marginBottom = 0;
    headerComposite.setLayout(rowLayout);
    headerComposite.setBackground(null);
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

    client.setLayout(new GridLayout());
    GridDataFactory.fillDefaults().grab(true, true).applyTo(client);
    servicesSection.setClient(client);

    Composite headerComposite = toolkit.createComposite(servicesSection, SWT.NONE);
    RowLayout rowLayout = new RowLayout();
    rowLayout.marginTop = 0;
    rowLayout.marginBottom = 0;
    headerComposite.setLayout(rowLayout);
    headerComposite.setBackground(null);
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

    // createStandaloneCommandArea(client);

    buttonComposite = toolkit.createComposite(client);
    GridDataFactory.fillDefaults().span(2, 1).applyTo(buttonComposite);

    RowLayout layout = RowLayoutFactory.fillDefaults().margins(0, 5).wrap(false).create();
    layout.center = true;
    buttonComposite.setLayout(layout);

    startAppButton = toolkit.createButton(buttonComposite, Messages.ApplicationDetailsPart_TEXT_START, SWT.PUSH);
    startAppButton.setImage(ImageResource.getImage(ImageResource.IMG_CLCL_START));
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

                SWT.RADIO);
        data = new GridData(SWT.FILL, SWT.FILL, true, false, 2, 1);
        quickLocalInstallButton.setLayoutData(data);

        actionArea = toolkit.createComposite(composite);
        RowLayout actionAreaLayout = new RowLayout();
        actionAreaLayout.center = true;
        actionArea.setLayout(actionAreaLayout);

        supportBundleVersionLabel = toolkit.createLabel(actionArea, "");
        installOrUpdateSupportBundleLink = toolkit.createHyperlink(actionArea, "(Install)", SWT.NONE);
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

        root.setLayout(layout);

        final Composite container = new Composite(root, SWT.NULL);
        gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
        container.setLayoutData(gd);
        final RowLayout rlayout = new RowLayout(SWT.HORIZONTAL);
        rlayout.fill = true;
        container.setLayout(rlayout);

        createTable(container);
        createButtons(container);
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

    }

    private void createButtonsPanel(final Composite parent) {
        buttonsPanel = new Composite(parent, SWT.NONE);
        buttonsPanel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
        buttonsPanel.setLayout(new RowLayout());

        // "Previous" button
        previousButton = new Button(buttonsPanel, SWT.PUSH | SWT.CENTER);
        previousButton.setToolTipText("Show previous trace set");
        previousButton.setImage(PlatformUI.getWorkbench().getSharedImages()
View Full Code Here

Examples of org.eclipse.swt.layout.RowLayout

        }
    }

    private Composite createProcessCheckBoxes(final Composite parent) {
        final Composite container = new Composite(parent, SWT.NONE);
        container.setLayout(new RowLayout());

        TraceBackend.getInstance().removeAllProcessFlag();

        for (final ProcessFlag flag : ProcessFlag.values()) {
            final Button button = new Button(container, SWT.CHECK);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.