Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Table


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


        gridData30.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData30.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData30.grabExcessHorizontalSpace = true;
        gridData30.grabExcessVerticalSpace = true;
        gridData30.verticalSpan = 3;
        tDirectories = new Table(group1, SWT.BORDER | SWT.FULL_SELECTION);
        tDirectories.setHeaderVisible(true);
        tDirectories.setLayoutData(gridData30);
        tDirectories.setLinesVisible(true);
        tDirectories.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
            public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
View Full Code Here

     * This method initializes table
     */
    private void createTable() {
        GridData gridData2 = new org.eclipse.swt.layout.GridData(GridData.FILL, GridData.FILL, true, true, 1, 3);
        gridData2.widthHint = 204;
        table = new Table(commandsGroup, SWT.BORDER | SWT.FULL_SELECTION);
        table.addMouseListener(new MouseAdapter() {
          public void mouseDoubleClick(final MouseEvent e) {
            ContextMenu.goTo(table.getSelection()[0].getText(0), _dom, Editor.ACTION_COMMANDS);
          }
        });
View Full Code Here

        gridData.grabExcessHorizontalSpace = true;
        gridData.grabExcessVerticalSpace = true;
        gridData.horizontalSpan = 4;
        gridData.verticalSpan = 3;
        gridData.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
        table = new Table(group, SWT.FULL_SELECTION | SWT.BORDER);
        table.setHeaderVisible(true);
        table.setLayoutData(gridData);
        table.setLinesVisible(true);
        table.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
            public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
View Full Code Here

   */
  private void createTable() {
    try {
      GridData gridData2 = new org.eclipse.swt.layout.GridData(GridData.FILL, GridData.FILL, true, true, 1, 3);
      gridData2.widthHint = 425;
      table = new Table(scriptsGroup, SWT.FULL_SELECTION | SWT.BORDER);
      table.addMouseListener(new MouseAdapter() {
        public void mouseDoubleClick(final MouseEvent e) {
          if (table.getSelectionCount() > 0)
            ContextMenu.goTo(Utils.getAttributeValue("name", listener.getParent()) + "_@_" + table.getSelection()[0].getText(0), dom,
                Editor.MONITOR);
View Full Code Here

        gridLayout.numColumns = 2; // Generated
        actionsGroup = new Group(this, SWT.NONE);
        actionsGroup.setText("Actions"); // Generated
        actionsGroup.setLayout(gridLayout); // Generated

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

  /**
   * This method initializes table
   */
  private void createTable() {
    try {
      table = new Table(group, SWT.BORDER | SWT.FULL_SELECTION | SWT.CHECK);
      table.addMouseListener(new MouseAdapter() {
        public void mouseDoubleClick(final MouseEvent e) {
          if(table.getSelectionCount() > 0)
            ContextMenu.goTo(table.getSelection()[0].getText(1), dom, Editor.JOB);         
        }
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) {

          if(table.getSelectionCount() > 0) {
View Full Code Here

        gridData4.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData4.grabExcessHorizontalSpace = true;
        gridData4.grabExcessVerticalSpace = true;
        gridData4.verticalSpan = 2;
        gridData4.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
        tPeriods = new Table(group, SWT.BORDER | SWT.FULL_SELECTION);
        tPeriods.setHeaderVisible(true);
        tPeriods.setLayoutData(new org.eclipse.swt.layout.GridData(GridData.FILL, GridData.FILL, true, true, 1, 3));
        tPeriods.setLinesVisible(true);
        tPeriods.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
            public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
View Full Code Here

    label_1 = new Label(gInclude, SWT.HORIZONTAL | SWT.SEPARATOR);
    final GridData gridData1_1 = new GridData(GridData.FILL, GridData.CENTER, false, false, 3, 1);
    label_1.setLayoutData(gridData1_1);
    label_1.setText("Label");

    tableIncludes = new Table(gInclude, SWT.FULL_SELECTION | SWT.BORDER);
    tableIncludes.addMouseListener(new MouseAdapter() {
      public void mouseDoubleClick(final MouseEvent e) {
        openInclude();
      }
    });
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.