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

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

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

TableView.getItem介绍

[英]Get all the strings from a certain column as an array
[中]将某列中的所有字符串作为数组获取

代码示例

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

public void widgetSelected( SelectionEvent event ) {
 int index = wFields.getSelectionIndex();
 if ( index >= 0 ) {
  String[] item = wFields.getItem( index );
  if ( item != null && item.length > 0 ) {
   selectedRevision = item[0];
  }
 }
}

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wFilename.setText( string[0] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wFilename.setText( string[0] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFoldernameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFoldernameList.getItem( idx );
   wFoldername.setText( string[0] );
   wFoldernameList.remove( idx );
  }
  wFoldernameList.removeEmptyRows();
  wFoldernameList.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wSourceFileFolder.setText( string[0] );
   wWildcard.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wSourceFileFolder.setText( string[0] );
   wWildcard.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wImageFilename.setText( string[0] );
   wContentID.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFilenameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFilenameList.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wFilenameList.remove( idx );
  }
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wSourceFileFolder.setText( string[0] );
   wWildcard.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wImageFilename.setText( string[0] );
   wContentID.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFilenameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFilenameList.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wExcludeFilemask.setText( string[2] );
   wFilenameList.remove( idx );
  }
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFilenameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFilenameList.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wExcludeFilemask.setText( string[2] );
   wFilenameList.remove( idx );
  }
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFilenameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFilenameList.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wExcludeFilemask.setText( string[2] );
   wFilenameList.remove( idx );
  }
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wSourceFileFolder.setText( string[0] );
   wDestinationFileFolder.setText( string[1] );
   wWildcard.setText( string[2] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFilenameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFilenameList.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wExcludeFilemask.setText( string[2] );
   wFilenameList.remove( idx );
  }
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wDirectoryList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wDirectoryList.getItem( idx );
   wDirectory.setText( string[0] );
   wNameMask.setText( string[1] );
   wExcludeFilemask.setText( string[2] );
   wDirectoryList.remove( idx );
  }
  wDirectoryList.removeEmptyRows();
  wDirectoryList.setRowNums();
 }
} );

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

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFilenameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFilenameList.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wExcludeFilemask.setText( string[2] );
   wFilenameList.remove( idx );
  }
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

相关文章