本文整理了Java中org.pentaho.di.ui.core.widget.TableView.getSelectionIndex()
方法的一些代码示例,展示了TableView.getSelectionIndex()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableView.getSelectionIndex()
方法的具体详情如下:
包路径:org.pentaho.di.ui.core.widget.TableView
类名称:TableView
方法名:getSelectionIndex
暂无
代码示例来源: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
protected void ok() {
function = null;
int selectionIndex = wResult.getSelectionIndex();
if ( selectionIndex >= 0 && selectionIndex < functionList.size() ) {
function = functionList.get( selectionIndex );
}
dispose();
}
代码示例来源:origin: pentaho/pentaho-kettle
private void editSlaveServer() {
int idx = wServers.getSelectionIndex();
if ( idx >= 0 ) {
SlaveServer slaveServer = clusterSchema.findSlaveServer( wServers.getItems( 0 )[idx] );
if ( slaveServer != null ) {
SlaveServerDialog dialog = new SlaveServerDialog( shell, slaveServer, slaveServers );
if ( dialog.open() ) {
refreshSlaveServers();
}
}
}
}
代码示例来源: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 );
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 = 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 = 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 = 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 = 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();
}
} );
内容来源于网络,如有侵权,请联系作者删除!