org.pentaho.ui.xul.containers.XulDialog类的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.7k)|赞(0)|评价(0)|浏览(191)

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

XulDialog介绍

暂无

代码示例

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

public void showAddUserDialog() throws Exception {
 securityUser.clear();
 securityUser.setMode( Mode.ADD );
 userDialog.setTitle( BaseMessages.getString( PKG, "AddUserDialog.Title" ) );
 userDialog.show();
}

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

public Shell getShell() {
  XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById( "repository-login-dialog" );
  return (Shell) dialog.getRootObject();
 }
}

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

public void cancel() {
 if ( !repositoryConfigDialog.isHidden() ) {
  repositoryConfigDialog.hide();
  getCallback().onCancel();
 }
}

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

public void dispose() {
 Shell shell = (Shell) this.xulDialog.getRootObject();
 if ( !shell.isDisposed() ) {
  WindowProperty winprop = new WindowProperty( shell );
  props.setScreen( winprop );
  ( (Composite) this.xulDialog.getManagedObject() ).dispose();
  shell.dispose();
 }
}

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

public void onAccept() {
 // save model via PersistenceManager here ...
 this.xulDialog.hide();
}

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

public void open() {
 if ( xulDialog != null ) {
  xulDialog.show();
 }
}

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

@Bindable
public void closeErrorDialog() {
 if ( !errorDialog.isHidden() ) {
  errorDialog.hide();
 }
 if ( this.showWizardDialog ) {
  wizardDialog.show();
 }
}

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

(XulTree) xulDialogComponent.getDocument().getRootElement().getElementById( "options-parameter-tree" );
tree.getRootChildren().removeAll();
xulDialogComponent.show(); // Attention: onload: loadConnectionData() is called here the second time, see above

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

public void init() {
 bf = new SwtBindingFactory();
 bf.setDocument( this.getXulDomContainer().getDocumentRoot() );
 createBindings();
 if ( dialog != null && repository != null ) {
  dialog.setTitle( BaseMessages.getString( PKG, "RepositoryExplorerDialog.DevTitle", repository.getName() ) );
 }
}

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

public Composite getDialogArea() {
 XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById( "repository-login-dialog" );
 return (Composite) dialog.getManagedObject();
}

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

@Bindable
public void renameCheck() {
 if ( !saveConnectionConfirmationDialog.isHidden() ) {
  closeSaveConnectionConfirmationDialog();
 }
 if ( datasourceModel.isEditing() && !previousConnectionName.equals( currentConnection.getName() ) ) {
  showRenameConnectionConfirmationDialog();
 } else {
  overwriteCheck();
 }
}

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

public void close() {
 xulDialog.hide();
}

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

public String open() {
 xulDialog.show();
 return stepname;
}

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

public void cancel() {
 XulDialog xulDialog = (XulDialog) getXulDomContainer().getDocumentRoot().getElementById( "job-entry-dialog" );
 Shell shell = (Shell) xulDialog.getRootObject();
 if ( !shell.isDisposed() ) {
  WindowProperty winprop = new WindowProperty( shell );
  PropsUI.getInstance().setScreen( winprop );
  ( (Composite) xulDialog.getManagedObject() ).dispose();
  shell.dispose();
 }
}

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

@Bindable
public void closeErrorDetailsDialog() {
 if ( !errorDetailsDialog.isHidden() ) {
  errorDetailsDialog.hide();
 }
 wizardDialog.show();
}

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

public void showDialog() {
 reset();
 importDialog.setTitle( resBundle.getString( "importDialog.IMPORT_MONDRIAN", "Import Analysis" ) );
 analysisFileLabel.setValue( resBundle.getString( "importDialog.MONDRIAN_FILE", "Mondrian File" ) + ":" );
 super.showDialog();
 createWorkingForm();
}

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

public Composite getDialogArea() {
 XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById( "repository-config-dialog" ); //$NON-NLS-1$
 return (Composite) dialog.getManagedObject();
}

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

@Bindable
public void renameCheck() {
 if ( !saveConnectionConfirmationDialog.isHidden() ) {
  closeSaveConnectionConfirmationDialog();
 }
 if ( datasourceModel.isEditing() && !previousConnectionName.equals( currentConnection.getName() ) ) {
  showRenameConnectionConfirmationDialog();
 } else {
  overwriteCheck();
 }
}

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

public void showEditUserDialog() throws Exception {
 if ( service != null ) {
  securityUser.clear();
  securityUser.setUser( security.getSelectedUser() );
  securityUser.setMode( Mode.EDIT );
  userDialog.setTitle( BaseMessages.getString( PKG, "EditUserDialog.Title" ) );
  userDialog.show();
 }
}

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

@Bindable
public void closeSuccessDetailsDialog() {
 if ( !successDetailsDialog.isHidden() ) {
  successDetailsDialog.hide();
 }
}

相关文章