org.pentaho.di.ui.core.widget.TableView.optWidth()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(6.4k)|赞(0)|评价(0)|浏览(110)

本文整理了Java中org.pentaho.di.ui.core.widget.TableView.optWidth()方法的一些代码示例,展示了TableView.optWidth()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableView.optWidth()方法的具体详情如下:
包路径:org.pentaho.di.ui.core.widget.TableView
类名称:TableView
方法名:optWidth

TableView.optWidth介绍

暂无

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

@Override
 public void widgetSelected( SelectionEvent e ) {
  optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

@Override
 public void widgetSelected( SelectionEvent e ) {
  optWidth( false );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void run() {
  lineNr = 0;
  for ( int i = 0; i < rowBuffer.size(); i++ ) {
   TableItem item = wFields.table.getItem( i );
   Object[] row = rowBuffer.get( i );
   getDataForRow( item, row );
  }
  wFields.optWidth( true, 200 );
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

private void setStreamFieldsOptions() {
 String[] steamFields = getSteamFieldsNames();
 if ( steamFields != null ) {
  fieldMappingColumnInfo[1].setComboValues( new String[]{ } );
  fieldMappingColumnInfo[1].setComboValues( steamFields );
  tableViewFieldMappings.optWidth( true );
  keyFieldsViewColinf[2].setComboValues( new String[]{ } );
  keyFieldsViewColinf[2].setComboValues( steamFields );
  tableViewKeyFields.optWidth( true );
 }
}

代码示例来源:origin: pentaho/pentaho-kettle

private void getFields() {
 // Clear Fields Grid
 wFields.removeAll();
 for ( int i = 0; i < MailInputField.ColumnDesc.length; i++ ) {
  wFields.add( new String[] { MailInputField.ColumnDesc[i], MailInputField.ColumnDesc[i] } );
 }
 wFields.removeEmptyRows();
 wFields.setRowNums();
 wFields.optWidth( true );
}

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wFilename.getText() } );
  wFilename.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wFilename.getText() } );
  wFilename.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFoldernameList.add( new String[] { wFoldername.getText() } );
  wFoldername.setText( "" );
  wFoldernameList.removeEmptyRows();
  wFoldernameList.setRowNums();
  wFoldernameList.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

private void get() {
 wFields.removeAll();
 Table table = wFields.table;
 for ( int i = 0; i < previousSteps.length; i++ ) {
  TableItem ti = new TableItem( table, SWT.NONE );
  ti.setText( 0, "" + ( i + 1 ) );
  ti.setText( 1, previousSteps[i] );
 }
 wFields.removeEmptyRows();
 wFields.setRowNums();
 wFields.optWidth( true );
}

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wSourceFileFolder.getText(), wWildcard.getText() } );
  wSourceFileFolder.setText( "" );
  wWildcard.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wImageFilename.getText(), wContentID.getText() } );
  wImageFilename.setText( "" );
  wContentID.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wImageFilename.getText(), wContentID.getText() } );
  wImageFilename.setText( "" );
  wContentID.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wFilename.getText(), wFilemask.getText() } );
  wFilename.setText( "" );
  wFilemask.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wSourceFileFolder.getText(), wWildcard.getText() } );
  wSourceFileFolder.setText( "" );
  wWildcard.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wSourceFileFolder.getText(), wWildcard.getText() } );
  wSourceFileFolder.setText( "" );
  wWildcard.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wDirectoryList.add( new String[] {
   wDirectory.getText(), wNameMask.getText(), wExcludeFilemask.getText(), "Y", } );
  wDirectory.setText( "" );
  wNameMask.setText( "" );
  wDirectoryList.removeEmptyRows();
  wDirectoryList.setRowNums();
  wDirectoryList.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFilenameList.add( new String[] {
   wFilename.getText(), wFilemask.getText(), wExcludeFilemask.getText(),
   LoadFileInputMeta.RequiredFilesCode[0], LoadFileInputMeta.RequiredFilesCode[0] } );
  wFilename.setText( "" );
  wFilemask.setText( "" );
  wExcludeFilemask.setText( "" );
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
  wFilenameList.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFilenameList.add( new String[] {
   wFilename.getText(), wFilemask.getText(), wExcludeFilemask.getText(),
   JsonInputMeta.RequiredFilesCode[0], JsonInputMeta.RequiredFilesCode[0] } );
  wFilename.setText( "" );
  wFilemask.setText( "" );
  wExcludeFilemask.setText( "" );
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
  wFilenameList.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFilenameList.add( new String[] {
   wFilename.getText(), wFilemask.getText(), wExcludeFilemask.getText(),
   LDIFInputMeta.RequiredFilesCode[0], LDIFInputMeta.RequiredFilesCode[0] } );
  wFilename.setText( "" );
  wFilemask.setText( "" );
  wExcludeFilemask.setText( "" );
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
  wFilenameList.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] {
   wSourceFileFolder.getText(), wWildcard.getText(), null, wDestinationFileFolder.getText() } );
  wSourceFileFolder.setText( "" );
  wDestinationFileFolder.setText( "" );
  wWildcard.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

相关文章