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

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

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

TableView.setEnabled介绍

暂无

代码示例

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

private void setPrevious() {
 wlFields.setEnabled( !wPrevious.getSelection() );
 wFields.setEnabled( !wPrevious.getSelection() );
 wbdTablename.setEnabled( !wPrevious.getSelection() );
 wbTable.setEnabled( !wPrevious.getSelection() );
}

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

public void widgetSelected( SelectionEvent e ) {
  wFields.setEnabled( !getArgFromPrev() );
 }
} );

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

private void setPrevious() {
 wlFields.setEnabled( !wPrevious.getSelection() );
 wFields.setEnabled( !wPrevious.getSelection() );
 wFilename.setEnabled( !wPrevious.getSelection() );
 wlFilename.setEnabled( !wPrevious.getSelection() );
 wbdFilename.setEnabled( !wPrevious.getSelection() );
 wbeFilename.setEnabled( !wPrevious.getSelection() );
 wbaFilename.setEnabled( !wPrevious.getSelection() );
 wbDirectory.setEnabled( !wPrevious.getSelection() );
}

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

private void setFieldsEnabledStatus() {
 wlFields.setEnabled( wAllowCaptureGroups.getSelection() );
 wFields.setEnabled( wAllowCaptureGroups.getSelection() );
 wlReplaceFields.setEnabled( wAllowCaptureGroups.getSelection() );
 wReplaceFields.setEnabled( wAllowCaptureGroups.getSelection() );
}

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

private void activeSelectFields() {
 if ( wSelectFields.getSelection() ) {
  wSelectValuesType.setSelection( false );
  wlValueTypes.setEnabled( false );
  wValueTypes.setEnabled( false );
 }
 activeFields();
}

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

private void activeSelectValuesType() {
 if ( wSelectValuesType.getSelection() ) {
  wSelectFields.setSelection( false );
  wFields.setEnabled( false );
  wlFields.setEnabled( false );
 }
 activeFields();
}

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

private void refreshArgFromPrevious() {
 wlFields.setEnabled( !wPrevious.getSelection() );
 wFields.setEnabled( !wPrevious.getSelection() );
 deleteToolItem.setEnabled( !wPrevious.getSelection() );
}

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

private void RefreshArgFromPrevious() {
 wlFields.setEnabled( !wPrevious.getSelection() );
 wFields.setEnabled( !wPrevious.getSelection() );
 wbdSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wbeSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wbSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wbaSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wlSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wlWildcard.setEnabled( !wPrevious.getSelection() );
 wWildcard.setEnabled( !wPrevious.getSelection() );
 wbSourceDirectory.setEnabled( !wPrevious.getSelection() );
}

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

private void activeFields() {
 wlFields.setEnabled( wSelectFields.getSelection() );
 wFields.setEnabled( wSelectFields.getSelection() );
 wGet.setEnabled( wSelectFields.getSelection() );
 wlValueTypes.setEnabled( wSelectValuesType.getSelection() );
 wValueTypes.setEnabled( wSelectValuesType.getSelection() );
 wlReplaceByValue.setEnabled( !wSelectFields.getSelection() && !wSelectValuesType.getSelection() );
 wReplaceByValue.setEnabled( !wSelectFields.getSelection() && !wSelectValuesType.getSelection() );
 wlMask.setEnabled( !wSelectFields.getSelection() && !wSelectValuesType.getSelection() );
 wMask.setEnabled( !wSelectFields.getSelection() && !wSelectValuesType.getSelection() );
 wlSetEmptyStringAll.setEnabled( !wSelectFields.getSelection() && !wSelectValuesType.getSelection() );
 wSetEmptyStringAll.setEnabled( !wSelectFields.getSelection() && !wSelectValuesType.getSelection() );
}

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

private void RefreshArgFromPrevious() {
 wlFields.setEnabled( !wPrevious.getSelection() );
 wFields.setEnabled( !wPrevious.getSelection() );
 wbdSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wbeSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wbSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wbaSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wlSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wSourceFileFolder.setEnabled( !wPrevious.getSelection() );
 wlWildcard.setEnabled( !wPrevious.getSelection() );
 wWildcard.setEnabled( !wPrevious.getSelection() );
 wbSourceDirectory.setEnabled( !wPrevious.getSelection() );
}

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

@Override public void widgetSelected( SelectionEvent selectionEvent ) {
 boolean selection = ( (Button) selectionEvent.getSource() ).getSelection();
 sslTable.setEnabled( selection );
 sslTable.table.setEnabled( selection );
}

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

public void widgetSelected( SelectionEvent arg0 ) {
  wJsonField.setEnabled( wIsJson.getSelection() );
  wFields.setEnabled( !wIsJson.getSelection() );
  wFields.setVisible( !wIsJson.getSelection() );
  wGet.setEnabled( !wIsJson.getSelection() );
  model.setChanged();
 }
} );

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

public void resetPropertyTableVisibility() {
 propertiesTable.setEnabled( wCheckBox.getSelection()
  && ( selectedConnectionType.equals( JmsProvider.ConnectionType.WEBSPHERE )
  || !wUseDefaultCheckBox.getSelection() ) );
 propertiesTable.table.setEnabled( wCheckBox.getSelection()
  && ( selectedConnectionType.equals( JmsProvider.ConnectionType.WEBSPHERE )
  || !wUseDefaultCheckBox.getSelection() ) );
}

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

public void widgetSelected( SelectionEvent e ) {
  jobEntry.argFromPrevious = !jobEntry.argFromPrevious;
  jobEntry.setChanged();
  wlFields.setEnabled( !jobEntry.argFromPrevious );
  wFields.setEnabled( !jobEntry.argFromPrevious );
 }
} );

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

@Override public void widgetSelected( SelectionEvent selectionEvent ) {
 boolean selection = ( (Button) selectionEvent.getSource() ).getSelection();
 propertiesTable.setEnabled( selection );
 propertiesTable.table.setEnabled( selection );
 lsMod.modifyText( null );
}

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

private void setUIText() {
 wCheckBox.setSelection( isEnabled );
 propertiesTable.setEnabled( isEnabled );
 propertiesTable.table.setEnabled( isEnabled );
 propertiesTable.table.select( 0 );
 propertiesTable.table.showSelection();
}

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

void setUIText() {
 wUseSSL.setSelection( sslEnabled );
 sslTable.setEnabled( sslEnabled );
 sslTable.table.setEnabled( sslEnabled );
 sslTable.table.select( 0 );
 sslTable.table.showSelection();
}

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

@Override public void widgetDefaultSelected( SelectionEvent selectionEvent ) {
  boolean selection = ( (Button) selectionEvent.getSource() ).getSelection();
  propertiesTable.setEnabled( selection );
  propertiesTable.table.setEnabled( selection );
  lsMod.modifyText( null );
 }
} );

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

protected void setMethod() {
 boolean activateBody = RestMeta.isActiveBody( wMethod.getText() );
 boolean activateParams = RestMeta.isActiveParameters( wMethod.getText() );
 wlBody.setEnabled( activateBody );
 wBody.setEnabled( activateBody );
 wApplicationType.setEnabled( activateBody );
 wlParameters.setEnabled( activateParams );
 wParameters.setEnabled( activateParams );
 wGet.setEnabled( activateParams );
 wlMatrixParameters.setEnabled( activateParams );
 wMatrixParameters.setEnabled( activateParams );
 wMatrixGet.setEnabled( activateParams );
}

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

public void setActive() {
 boolean outputCapture = !Utils.isEmpty( wSourceStep.getText() );
 wSourceFields.setEnabled( outputCapture );
 boolean streaming = !Utils.isEmpty( wStreamingSourceStep.getText() );
 wStreamingTargetStep.setEnabled( streaming );
 wlStreamingTargetStep.setEnabled( streaming );
}

相关文章