gpt4 book ai didi

org.pentaho.ui.xul.components.XulMenuList.getValue()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-25 03:07:05 25 4
gpt4 key购买 nike

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

XulMenuList.getValue介绍

暂无

代码示例

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

DatabaseInterface databaseInterface = meta.getDatabaseInterface();
if ( databaseInterface instanceof  GenericDatabaseMeta ) {
 ( (GenericDatabaseMeta) databaseInterface).setDatabaseDialect( databaseDialectList.getValue() );

代码示例来源:origin: pentaho/big-data-plugin

private int fetchValue( XulMenuList<?> menulist ) {
 int result = -1;
 if ( menulist != null && menulist.getValue() != null ) {
  result = ValueMeta.getType( menulist.getValue() );
 }
 return result;
}

代码示例来源:origin: pentaho/big-data-plugin

@Override
public void onAccept() {
 metaMapper.setOutKeyFieldname( outKeyFieldnames.getValue() );
 metaMapper.setOutValueFieldname( outValueFieldnames.getValue() );
 if ( !workingStepname.equals( stepname ) ) {
  stepname = workingStepname;
  baseStepMeta.setChanged();
 }
 metaMapper.saveMeta( (HadoopExitMeta) baseStepMeta );
 dispose();
}

代码示例来源:origin: pentaho/data-access

protected void fetchTables() {
 showWaitingDialog();
 IDatabaseConnection connection = ( (MultiTableDatasource) parentDatasource ).getConnection();
 processAvailableTables( connection, schemas.getValue() );
}

代码示例来源:origin: pentaho/big-data-plugin

protected void syncModel() {
 XulMenuList<String> tempMenu =
  (XulMenuList<String>) getXulDomContainer().getDocumentRoot().getElementById( XUL_REGION );
 this.region = tempMenu.getValue();
 tempMenu = (XulMenuList<String>) getXulDomContainer().getDocumentRoot().getElementById( XUL_EC2_ROLE );
 this.ec2Role = tempMenu.getValue();
 tempMenu = (XulMenuList<String>) getXulDomContainer().getDocumentRoot().getElementById( XUL_EMR_ROLE );
 this.emrRole = tempMenu.getValue();
 tempMenu = (XulMenuList<String>) getXulDomContainer().getDocumentRoot().getElementById( XUL_MASTER_INSTANCE_TYPE );
 this.masterInstanceType = tempMenu.getValue();
 tempMenu = (XulMenuList<String>) getXulDomContainer().getDocumentRoot().getElementById( XUL_SLAVE_INSTANCE_TYPE );
 this.slaveInstanceType = tempMenu.getValue();
 tempMenu = (XulMenuList<String>) getXulDomContainer().getDocumentRoot().getElementById( XUL_EMR_RELEASE );
 this.emrRelease = tempMenu.getValue();
 ExtTextbox tempBox =
  (ExtTextbox) getXulDomContainer().getDocumentRoot().getElementById( XUL_JOBENTRY_HADOOPJOB_NAME );

代码示例来源:origin: pentaho/data-access

public void buildAndSetParameters( boolean isEditMode ) {
 if ( isEditMode ) {
  String file = importDialogModel.getUploadedFile();
  if ( file != null ) {
   mainFormPanel.add( new Hidden( "catalogName", file ) );
  }
  // MONDRIAN-1731
  if ( datasourceInfo != null ) {
   mainFormPanel.add( new Hidden( "origCatalogName", datasourceInfo.getId() ) );
  }
 }
 // If user selects available data source, then pass the datasource as part of the parameters.
 // If user selects manual data source, pass in whatever parameters they specify even if it is empty.
 String parameters = importDialogModel.getParameters();
 if ( availableRadio.isSelected() ) {
  parameters = datasourceParam( connectionList.getValue() );
 }
 // Parameters would contain either the data source from connectionList drop-down
 // or the parameters manually entered (even if list is empty)
 String sep = ( StringUtils.isEmpty( parameters ) ) ? "" : ";";
 parameters += ";overwrite=" + String.valueOf( isEditMode ? isEditMode : overwrite );
 Hidden queryParameters = new Hidden( "parameters", parameters );
 mainFormPanel.add( queryParameters );
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com