Examples of TableRow


Examples of org.eclipse.swtbot.swt.finder.utils.TableRow

    return syncExec(new Result<TableCollection>() {
      public TableCollection run() {
        final TableCollection selection = new TableCollection();
        TreeItem[] items = widget.getSelection();
        for (TreeItem item : items) {
          TableRow tableRow = new TableRow();
          if (columnCount == 0)
            tableRow.add(item.getText());
          else
            for (int j = 0; j < columnCount; j++)
              tableRow.add(item.getText(j));
          selection.add(tableRow);
        }
        return selection;
      }
    });
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.utils.TableRow

    return (TableCollection) syncExec(new Result() {
      public Object run() {
        final TableCollection selection = new TableCollection();
        TableItem[] items = widget.getSelection();
        for (TableItem item : items) {
          TableRow tableRow = new TableRow();
          for (int j = 0; j < columnCount; j++)
            tableRow.add(item.getText(j));
          selection.add(tableRow);
        }
        return selection;
      }
    });
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.utils.TableRow

   */
  public TableRow row() {
    return syncExec(new Result<TableRow>() {
      public TableRow run() {
        int columnCount = tree.getColumnCount();
        TableRow tableRow = new TableRow();
        if (columnCount == 0)
          tableRow.add(widget.getText());
        else
          for (int j = 0; j < columnCount; j++)
            tableRow.add(widget.getText(j));
        return tableRow;
      }
    });
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.utils.TableRow

    return syncExec(new Result<TableCollection>() {
      public TableCollection run() {
        final TableCollection selection = new TableCollection();
        TreeItem[] items = widget.getSelection();
        for (TreeItem item : items) {
          TableRow tableRow = new TableRow();
          if (columnCount == 0)
            tableRow.add(item.getText());
          else
            for (int j = 0; j < columnCount; j++)
              tableRow.add(item.getText(j));
          selection.add(tableRow);
        }
        return selection;
      }
    });
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.utils.TableRow

    return syncExec(new Result<TableCollection>() {
      public TableCollection run() {
        final TableCollection selection = new TableCollection();
        TableItem[] items = widget.getSelection();
        for (TableItem item : items) {
          TableRow tableRow = new TableRow();
          for (int j = 0; j < columnCount; j++)
            tableRow.add(item.getText(j));
          selection.add(tableRow);
        }
        return selection;
      }
    });
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.utils.TableRow

    public String getSelectedConnection()
    {
        TableCollection selection = bot.tree().selection();
        if ( selection != null && selection.rowCount() == 1 )
        {
            TableRow row = selection.get( 0 );
            return row.get( 0 );
        }
        return null;
    }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.utils.TableRow

    public String getSelectedConnection()
    {
        TableCollection selection = getConnectionsTree().selection();
        if ( selection != null && selection.rowCount() == 1 )
        {
            TableRow row = selection.get( 0 );
            return row.get( 0 );
        }
        return null;
    }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.TableRow

    _builder.newLine();
    _builder.append("\\setlength{\\XdocTEffectiveWidth}{\\textwidth}");
    _builder.newLine();
    _builder.append("\\addtolength{\\XdocTEffectiveWidth}{-");
    EList<TableRow> _rows = tab.getRows();
    TableRow _head = IterableExtensions.<TableRow>head(_rows);
    EList<TableData> _data = _head.getData();
    int _size = _data.size();
    int _multiply = (_size * 2);
    _builder.append(_multiply, "");
    _builder.append(".0\\tabcolsep}");
    _builder.newLineIfNotEmpty();
    _builder.append("\\noindent\\begin{tabular}{");
    EList<TableRow> _rows_1 = tab.getRows();
    TableRow _head_1 = IterableExtensions.<TableRow>head(_rows_1);
    EList<TableData> _data_1 = _head_1.getData();
    CharSequence _genColumns = this.genColumns(_data_1);
    _builder.append(_genColumns, "");
    _builder.append("}");
    _builder.newLineIfNotEmpty();
    EList<TableRow> _rows_2 = tab.getRows();
View Full Code Here

Examples of org.foray.fotree.fo.obj.TableRow

        case TABLE_CAPTION: {
            return new TableCaption(parent, propertyList);
        }
        case TABLE_CELL: {
            if (parent instanceof TableRow) {
                final TableRow parentRow = (TableRow) parent;
                return new TableCell(parentRow, propertyList);
            }
            if (parent instanceof AbstractTablePart) {
                final AbstractTablePart tablePart = (AbstractTablePart) parent;
                return new TableCell(tablePart, propertyList);
            }
            throwException(locator, "fo:" + enumeration.toXslFo()
                    + " must be child of fo:table-row, fo:table-body, " +
                            "fo:table-header, or fo:table-footer.");
            return null;
        }
        case TABLE_COLUMN: {
            return new TableColumn(parent, propertyList);
        }
        case TABLE_FOOTER: {
            final Table table = parentTable(enumeration, parent, locator);
            return new TableFooter(table, propertyList);
        }
        case TABLE_HEADER: {
            final Table table = parentTable(enumeration, parent, locator);
            return new TableHeader(table, propertyList);
        }
        case TABLE_ROW: {
            return new TableRow(parent, propertyList,
                    false);
        }
        case TITLE: {
            return new Title(parent, propertyList);
        }
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.tables.TableRow

            MenuItemListener menuListener = new MenuItemListener() {
              public void selected(MenuItem menu, Object target) {
                if (!(target instanceof TableRow))
                  return;

                TableRow tr = (TableRow) target;
                Object ds = tr.getDataSource();

                if (!(ds instanceof Download))
                  return;

                DefaultRankCalculator dlData = downloadDataMap.get(ds);
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.