Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Table


    bApply.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
      public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
        addParam();
      }
    });
    tParameter = new Table(group, SWT.BORDER | SWT.FULL_SELECTION);
    final GridData gridData_3 = new GridData(GridData.FILL, GridData.FILL, false, true, 5, 5);
    gridData_3.widthHint = 342;
    gridData_3.heightHint = 140;
    tParameter.setLayoutData(gridData_3);
    tParameter.addPaintListener(new PaintListener() {
View Full Code Here


      }
    });
    butApplyHttpUser.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, false, false));
    butApplyHttpUser.setText("Apply");
   
    tableHttpUsers = new Table(group_1, SWT.FULL_SELECTION | SWT.BORDER);
    tableHttpUsers.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(final SelectionEvent e) {
        if (tableHttpUsers.getSelectionCount() > 0) {
          TableItem item = tableHttpUsers.getItem(tableHttpUsers.getSelectionIndex());
          txtUsername.setText(item.getText(0));
View Full Code Here

    label4_3 = new Label(group_3, SWT.HORIZONTAL | SWT.SEPARATOR);
    label4_3.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, false, false, 5, 1));
    label4_3.setText("Label");

    tableIncludeParams = new Table(group_3, SWT.FULL_SELECTION | SWT.BORDER);
    tableIncludeParams.addMouseListener(new MouseAdapter() {
      public void mouseDoubleClick(final MouseEvent e) {

      }
    });
View Full Code Here

    bApply.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
      public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
        addParam();
      }
    });
    tParameter = new Table(group, SWT.BORDER | SWT.FULL_SELECTION);
    final GridData gridData_3 = new GridData(GridData.FILL, GridData.FILL, false, true, 4, 5);
    gridData_3.widthHint = 342;
    gridData_3.heightHint = 140;
    tParameter.setLayoutData(gridData_3);
    tParameter.addPaintListener(new PaintListener() {
View Full Code Here

    final Label label = new Label(gMain, SWT.HORIZONTAL | SWT.SEPARATOR);
    label.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, false, false, 3, 1));
    label.setText("label");
    new Label(gMain, SWT.NONE);

    tCommands = new Table(gMain, SWT.FULL_SELECTION | SWT.BORDER);
    tCommands.addMouseListener(new MouseAdapter() {
      public void mouseDoubleClick(final MouseEvent e) {
        String str =  tCommands.getSelection()[0].getText(2).length() > 0 ? tCommands.getSelection()[0].getText(2) : tCommands.getSelection()[0].getText(1);
        ContextMenu.goTo(tCommands.getSelection()[0].getText(0) + ": " + str, _dom, Editor.JOB_COMMAND_EXIT_CODES);
      }
View Full Code Here

      }
    });
    bEndNode.setText("End Node");
    new Label(gNodes, SWT.NONE);

    tNodes = new Table(gNodes, SWT.FULL_SELECTION | SWT.BORDER);   
    tNodes.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(final SelectionEvent e) {
        selectNodes();       
      }
    });
View Full Code Here

          }
        });
        butChangeDir.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, false, false));
        butChangeDir.setText("Change Directory ");

        table = new Table(schedulerGroup, SWT.FULL_SELECTION | SWT.BORDER);
        table.setSortDirection(SWT.DOWN);
        table.addSelectionListener(new SelectionAdapter() {
          public void widgetSelected(final SelectionEvent e) {
            try {
              if(table.getSelectionCount() > 0) {
View Full Code Here

    /**
     * This method initializes table
     */
    private void createTable() {
        GridData gridData = new org.eclipse.swt.layout.GridData(GridData.FILL, GridData.FILL, true, true, 2, 4);
        table = new Table(group, SWT.BORDER | SWT.FULL_SELECTION);
        table.addMouseListener(new MouseAdapter() {
          public void mouseDoubleClick(final MouseEvent e) {
            openBaseElement();
          }
        });
View Full Code Here

          }
        });
        butRemove.setLayoutData(new GridData(GridData.FILL, GridData.BEGINNING, false, false));
        butRemove.setText("Remove");

        table = new Table(group, SWT.FULL_SELECTION | SWT.BORDER);
        table.addMouseListener(new MouseAdapter() {
          public void mouseDoubleClick(final MouseEvent e) {
            ContextMenu.goTo(table.getSelection()[0].getText(0), _dom, Editor.EVENTS);
          }
        });
View Full Code Here

    /**
     * This method initializes table
     */
    private void createTable() {
        tErrorDelay = new Table(group2, SWT.BORDER | SWT.FULL_SELECTION);
        tErrorDelay.setSortDirection(SWT.UP);
        tErrorDelay.setHeaderVisible(true);
        tErrorDelay.setLayoutData(new org.eclipse.swt.layout.GridData(GridData.FILL, GridData.FILL, true, true, 11, 3));
        tErrorDelay.setLinesVisible(true);
        tErrorDelay.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
View Full Code Here

TOP

Related Classes of org.eclipse.swt.widgets.Table

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.