Package org.eclipse.swt.layout

Examples of org.eclipse.swt.layout.FillLayout


    GapList gap_list = new GapList();
    gap_list.addGap(70, 90);
    gap_list.addGap(1, 20);
    gap_list.addGap(25, 40);
    gap_list_painter = new GapListPainter(gap_list,100);
    FillLayout layout = new FillLayout();
    layout.marginHeight = 10;
    layout.marginWidth  = 10;
    shell.setLayout(layout);
    final Canvas canvas = new Canvas(shell,SWT.NONE);
   
View Full Code Here


    value = startValue;
    this.assumeInitiallyDown = _assumeInitiallyDown;
    cancelled = true;

    shell = new Shell(SWTThread.getDisplay(), SWT.DOUBLE_BUFFERED | SWT.ON_TOP);
    shell.setLayout(new FillLayout());
    final Display display = shell.getDisplay();

    composite = new Composite(shell, SWT.DOUBLE_BUFFERED);

    final Point firstMousePos = display.getCursorLocation();
View Full Code Here

    shell = new Shell(parent_shell,SWT.BORDER);
    shell.setText(_._("nightlybuildwarningwindow.title"));
    shell.setImage(SWTThread.getDisplay().getSystemImage(SWT.COLOR_WHITE));
    shell.setSize(400,320);
    shell.setLayout(new FillLayout());
    Composite content = new Composite(shell,SWT.NONE);
   
    GridData grid_data;
    GridLayout grid_layout = new GridLayout(1,false);
    grid_layout.marginWidth = 0;
View Full Code Here

    Composite content;
    GridData layout_data;
    GridLayout layout;
    Label label;
   
    setLayout(new FillLayout());

    CTabFolder stats_tabs = new CTabFolder(this,SWT.BORDER);
    stats_tabs.setLayout(new FillLayout());
    stats_tabs.setSimple(false);
   
    CTabItem network_stats = new CTabItem(stats_tabs,SWT.NONE);
    network_stats.setText(_._("mainwindow.statisticstab.tab.general"));
    content = new Composite(stats_tabs,SWT.NONE);
View Full Code Here

    }catch(Throwable t) {}
    FormLayout form = new FormLayout ();
    setLayout (form);
   
    server_table_panel = new Composite(this,SWT.NONE);
    server_table_panel.setLayout(new FillLayout());
   
    server_info_panel = new Composite(this,SWT.BORDER);
   
   
    SashControl.createHorizontalSash(20, 50, this, server_table_panel, server_info_panel);
   
    server_info_panel.setLayout(new FormLayout());
   
    Composite server_messages = new Composite(server_info_panel,SWT.NONE);
    server_messages.setLayout(new FillLayout());
   
    Composite peer_info = new Composite(server_info_panel,SWT.NONE);
    peer_info.setLayout(new FillLayout());
   
    SashControl.createVerticalSash(20, 70, server_info_panel, server_messages, peer_info);

    // Server List
    server_list_group = new Group(server_table_panel,SWT.NONE);
    server_list_group.setLayout(new FillLayout());
   
    setServerCount(core.getServerManager().getServersCount());
   
    server_list = new ServerList(server_list_group,core.getServerManager());
   
View Full Code Here

    });
   
    download_link.setVisible(false);
   
    Group changelog_group = new Group(shell,SWT.NONE);
    changelog_group.setLayout(new FillLayout());
    changelog_group.setLayoutData(new GridData(GridData.FILL_BOTH));
    changelog_group.setText(_._("updaterwindow.group.changelog"));
   
    changelog_text = new StyledText(changelog_group,SWT.H_SCROLL | SWT.V_SCROLL);
    changelog_text.setEditable(false);
View Full Code Here

   * @param marginWidth Margin width in pixel
   * @param marginHeight Margin height in pixel
   * @return FillLayout New FillLayout with the given parameters
   */
  public static FillLayout createFillLayout(boolean horizontal, int marginWidth, int marginHeight) {
    FillLayout f = new FillLayout(horizontal ? SWT.HORIZONTAL : SWT.VERTICAL);
    f.marginHeight = marginHeight;
    f.marginWidth = marginWidth;
    return f;
  }
View Full Code Here

        balloon = new SWTBalloonWindow(display, SWT.ON_TOP | SWT.TITLE | SWT.CLOSE);
        balloon.setAutoLocation(SWT.BOTTOM | SWT.RIGHT);
        balloon.setLocation(56, 56);
        balloon.setAnchor(SWT.BOTTOM | SWT.RIGHT);
        balloon.setAutoAnchor(false);
        balloon.getContents().setLayout(new FillLayout());
        balloon.addListener(SWT.Selection, new Listener() {
          public void handleEvent(Event event) {
            // #ifdef DEBUG
            log.debug("Balloon selected");
            // #endif
View Full Code Here

    return false;
  }


  private void initialize() {
    this.setLayout(new FillLayout());
    createGroup();
    cExitcode.setFocus();
    //setSize(new org.eclipse.swt.graphics.Point(723, 566));
  }
View Full Code Here

    return bApply.isEnabled();
  }


  private void initialize() {
    this.setLayout(new FillLayout());
    createGroup();
    setSize(new org.eclipse.swt.graphics.Point(653, 468));
    tName.setFocus();
  }
View Full Code Here

TOP

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

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.