Package org.eclipse.swt.layout

Examples of org.eclipse.swt.layout.RowLayout


 
  public ScrolledContent(Composite parent) {
    super(parent, SWT.H_SCROLL | SWT.V_SCROLL);
    setExpandVertical(true);
    setExpandHorizontal(true);
    RowLayout layout = new RowLayout();
    layout.marginHeight = 0;
    layout.marginWidth = 0;
    setLayout(layout);
  }
View Full Code Here


    table.setHeaderVisible(true);
   
    Composite cButtonArea = new Composite(shell, SWT.NULL);
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_END);
    cButtonArea.setLayoutData(gridData);
    RowLayout rLayout = new RowLayout(SWT.HORIZONTAL);
    rLayout.marginLeft = 0;
   rLayout.marginTop = 0;
   rLayout.marginRight = 0;
   rLayout.marginBottom = 0;
   rLayout.spacing = 5;
View Full Code Here

            GridData data = new GridData(GridData.FILL_BOTH);
            ((Composite) message).setLayoutData(data);
        }
   
    Composite c2 = new Composite(shell, 0);
    RowLayout rowLayout = new RowLayout ();
    c2.setLayout (rowLayout);

    // Create the OK button and add a handler
    // so that pressing it will set input
    // to the entered value
View Full Code Here

                e.doit = Utils.isOnlyDigits(e.text);
            }
        });
        createComposite();
        composite = new Composite(group2, SWT.NONE);
        composite.setLayout(new RowLayout(SWT.HORIZONTAL));
        composite.setLayoutData(new org.eclipse.swt.layout.GridData(GridData.END, GridData.CENTER, true, false));
        bStop = new Button(group2, SWT.RADIO);
        bStop.setText("stop");
        bStop.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
            public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
View Full Code Here

    });
    label7 = new Label(gMain, SWT.NONE);
    label7.setText("Order Job:");
    cOrder = new Composite(gMain, SWT.NONE);
    cOrder.setLayout(new RowLayout());
    bOrderYes = new Button(cOrder, SWT.RADIO);
   
    bOrderYes.setText("Yes");
    bOrderYes.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
      public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
View Full Code Here

        } else {
            setErrorMessage("Select an import location");
        }
       
        adjustComposite = new Composite(composite, SWT.NONE);
        adjustComposite.setLayout(new RowLayout());

        adjustJcrRootText = new Label(adjustComposite, SWT.NONE);
        adjustJcrRootText.setFont(containerGroup.getFont());
        adjustJcrRootText();
       
View Full Code Here

    protected Control createContents( Composite parent )
    {
        final IBrowserConnection connection = getConnection( getElement() );

        tabFolder = new TabFolder( parent, SWT.TOP );
        RowLayout mainLayout = new RowLayout();
        mainLayout.fill = true;
        mainLayout.marginWidth = 0;
        mainLayout.marginHeight = 0;
        tabFolder.setLayout( mainLayout );
View Full Code Here

     */
    public final void createPartControl(final Composite parent) {
        topshell = parent;
        topshell.addControlListener(this);
        cm = new ColorMap(topshell.getDisplay());
        RowLayout rl = new RowLayout();
        rl.type = SWT.VERTICAL;
        rl.wrap = false;
        rl.justify = true;
        topshell.setLayout(rl);
        preference = new Composite(topshell, SWT.BORDER);
        preference.setLayoutData(new RowData(
                topshell.getClientArea().width, 50));
        RowLayout rl2 = new RowLayout();
        rl2.spacing = 10;
        preference.setLayout(rl2);
        lbDevice = new Label(preference, SWT.READ_ONLY);
        lbDevice.setText("Device: ");
        RowData rowd = new RowData();
View Full Code Here

    public final void createPartControl(final Composite parent) {
        topshell = parent;
        topshell.addControlListener(this);
        disp = parent.getDisplay();
        cm = new ColorMap(disp);
        RowLayout rl = new RowLayout();
        rl.type = SWT.VERTICAL;
        rl.wrap = false;
        rl.justify = true;
        topshell.setLayout(rl);
        topshell.addDisposeListener(this);
        preference = new Composite(topshell, SWT.BORDER);
        preference.setLayoutData(
                new RowData(topshell.getClientArea().width, 50));
        preference.setLayout(new RowLayout());
        lbDevice = new Label(preference, SWT.READ_ONLY);
        lbDevice.setText("Device: ");
        RowData rowd = new RowData();
        rowd.height = 45;
        rowd.width = 130;
View Full Code Here

    public final void createPartControl(final Composite parent) {
        Activator.getDefault().ctr = this;
        disp = parent.getDisplay();
        Composite c = new Composite(parent, SWT.NONE);
        topshell = parent.getShell();
        c.setLayout(new RowLayout());
        btNewHistogram = new Button(c, SWT.PUSH);
        btNewHistogram.setText("New Histogram");
        btNewHistogram.addSelectionListener(this);
        btNewHistogram.addDisposeListener(this);
        btNewPattern = new Button(c, SWT.PUSH);
View Full Code Here

TOP

Related Classes of org.eclipse.swt.layout.RowLayout

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.