本文整理了Java中org.pentaho.ui.xul.containers.XulDialog.setTitle()
方法的一些代码示例,展示了XulDialog.setTitle()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XulDialog.setTitle()
方法的具体详情如下:
包路径:org.pentaho.ui.xul.containers.XulDialog
类名称:XulDialog
方法名:setTitle
暂无
代码示例来源: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 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/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
@Override
public void showEditUserDialog() throws Exception {
if ( service != null && ( (IRoleSupportSecurityManager) service ).getRoles() != null ) {
eeSecurityUser.clear();
eeSecurityUser.setUser( security.getSelectedUser(),
convertToUIRoleModel( ( (IRoleSupportSecurityManager) service ).getRoles() ) );
eeSecurityUser.setMode( Mode.EDIT );
userDialog.setTitle( BaseMessages.getString( PKG, "EditUserDialog.Title" ) );//$NON-NLS-1$
userDialog.show();
}
}
代码示例来源:origin: pentaho/pentaho-kettle
public void showAddUserToRoleDialog() throws Exception {
if ( service != null && service.getUsers() != null ) {
securityRole.clear();
securityRole.setRole( ( (UIEESecurity) security ).getSelectedRole(), convertToUIUserModel( service.getUsers() ) );
securityRole.setMode( Mode.EDIT_MEMBER );
}
roleDialog.setTitle( BaseMessages.getString( PKG, "AddUserToRoleDialog.Title" ) );//$NON-NLS-1$
roleDialog.show();
}
代码示例来源:origin: pentaho/pentaho-kettle
public void showEditRoleDialog() throws Exception {
if ( service != null && service.getUsers() != null ) {
securityRole.clear();
securityRole.setRole( eeSecurity.getSelectedRole(), convertToUIUserModel( service.getUsers() ) );
securityRole.setMode( Mode.EDIT );
roleDialog.setTitle( BaseMessages.getString( PKG, "EditRoleDialog.Title" ) );//$NON-NLS-1$
roleDialog.show();
}
}
代码示例来源:origin: pentaho/pentaho-kettle
public void showAddRoleToUserDialog() throws Exception {
if ( service != null && ( (IRoleSupportSecurityManager) service ).getRoles() != null ) {
eeSecurityUser.clear();
eeSecurityUser.setUser( security.getSelectedUser(),
convertToUIRoleModel( ( (IRoleSupportSecurityManager) service ).getRoles() ) );
eeSecurityUser.setMode( Mode.EDIT_MEMBER );
userDialog.setTitle( BaseMessages.getString( PKG, "AddRoleToUserDialog.Title" ) );//$NON-NLS-1$
userDialog.show();
}
}
代码示例来源:origin: pentaho/pentaho-kettle
public void showAddRoleDialog() throws Exception {
try {
if ( service != null && service.getUsers() != null ) {
securityRole.clear();
securityRole.setAvailableUsers( convertToUIUserModel( service.getUsers() ) );
}
roleDialog.setTitle( BaseMessages.getString( PKG, "AddRoleDialog.Title" ) );//$NON-NLS-1$
roleDialog.show();
} catch ( KettleException e ) {
if ( mainController == null || !mainController.handleLostRepository( e ) ) {
messageBox.setTitle( BaseMessages.getString( PKG, "Dialog.Error" ) );//$NON-NLS-1$
messageBox.setAcceptLabel( BaseMessages.getString( PKG, "Dialog.Ok" ) );//$NON-NLS-1$
messageBox.setMessage( BaseMessages.getString( PKG,
"SecurityController.AddRole.UnableToShowAddRole", e.getLocalizedMessage() ) );//$NON-NLS-1$
messageBox.open();
}
}
}
代码示例来源:origin: pentaho/pentaho-kettle
@Override
public void showAddUserDialog() throws Exception {
try {
if ( service != null && ( (IRoleSupportSecurityManager) service ).getRoles() != null ) {
eeSecurityUser.clear();
eeSecurityUser.setAvailableRoles( convertToUIRoleModel( ( (IRoleSupportSecurityManager) service ).getRoles() ) );
eeSecurityUser.updateAssignedRoles( convertToUIRoleModel( ( (IRoleSupportSecurityManager) service )
.getDefaultRoles() ) );
}
eeSecurityUser.setMode( Mode.ADD );
userDialog.setTitle( BaseMessages.getString( PKG, "AddUserDialog.Title" ) );//$NON-NLS-1$
userDialog.show();
} catch ( KettleException e ) {
if ( mainController == null || !mainController.handleLostRepository( e ) ) {
messageBox.setTitle( BaseMessages.getString( PKG, "Dialog.Error" ) );//$NON-NLS-1$
messageBox.setAcceptLabel( BaseMessages.getString( PKG, "Dialog.Ok" ) );//$NON-NLS-1$
messageBox.setMessage( BaseMessages.getString( PKG,
"SecurityController.AddUser.UnableToShowAddUser", e.getLocalizedMessage() ) );//$NON-NLS-1$
messageBox.open();
}
}
}
代码示例来源:origin: pentaho/data-access
@Bindable
public void openSuccesDialog( String title, String message ) {
successDialog.setTitle( title );
successLabel.setValue( message );
successDialog.show();
}
代码示例来源:origin: pentaho/data-access
@Bindable
public void openSuccesDialog( String title, String message ) {
successDialog.setTitle( title );
successLabel.setValue( message );
successDialog.show();
}
代码示例来源:origin: pentaho/data-access
@Bindable
public void openSuccesDialog( String title, String message ) {
successDialog.setTitle( title );
successLabel.setValue( message );
successDialog.show();
}
代码示例来源:origin: pentaho/data-access
@Bindable
public void openSuccesDialog( String title, String message ) {
successDialog.setTitle( title );
successLabel.setValue( message );
successDialog.show();
}
代码示例来源:origin: pentaho/data-access
protected void displayErrors( JoinError error ) {
this.errorDialog.setTitle( error.getTitle() );
this.errorLabel.setValue( error.getError() );
this.errorDialog.show();
}
代码示例来源:origin: pentaho/data-access
public void showErrorDialog( String title, String message, boolean showWizardDialog ) {
this.showWizardDialog = showWizardDialog;
XulDialog errorDialog = (XulDialog) document.getElementById( "errorDialog" );
errorDialog.setTitle( title );
XulLabel errorLabel = (XulLabel) document.getElementById( "errorLabel" );
errorLabel.setValue( message );
errorDialog.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/data-access
public void showErrorDetailsDialog( String title, String message, String detailMessage ) {
XulDialog errorDialog = (XulDialog) document.getElementById( "errorDetailsDialog" );
errorDialog.setTitle( title );
XulLabel errorLabel = (XulLabel) document.getElementById( "errorDetailsLabel" );
errorLabel.setValue( message );
XulLabel detailMessageBox = (XulLabel) document.getElementById( "error_dialog_details" );
detailMessageBox.setValue( detailMessage );
errorDialog.show();
}
代码示例来源:origin: pentaho/big-data-plugin
public void openErrorDialog( String title, String message ) {
XulDialog errorDialog = (XulDialog) getXulDomContainer().getDocumentRoot().getElementById( "hadoop-error-dialog" );
errorDialog.setTitle( title );
XulTextbox errorMessage =
(XulTextbox) getXulDomContainer().getDocumentRoot().getElementById( "hadoop-error-message" );
errorMessage.setValue( message );
errorDialog.show();
}
代码示例来源:origin: pentaho/big-data-plugin
public void openErrorDialog( String title, String message ) {
XulDialog errorDialog =
(XulDialog) getXulDomContainer().getDocumentRoot().getElementById( XUL_AMAZON_EMR_ERROR_DIALOG );
errorDialog.setTitle( title );
XulTextbox errorMessage =
(XulTextbox) getXulDomContainer().getDocumentRoot().getElementById( XUL_AMAZON_EMR_ERROR_MESSAGE );
errorMessage.setValue( message );
errorDialog.show();
}
代码示例来源:origin: pentaho/big-data-plugin
public void openErrorDialog( String title, String message ) {
XulDialog errorDialog = (XulDialog) getXulDomContainer().getDocumentRoot().getElementById( "hadoop-error-dialog" );
errorDialog.setTitle( title );
XulTextbox errorMessage =
(XulTextbox) getXulDomContainer().getDocumentRoot().getElementById( "hadoop-error-message" );
errorMessage.setValue( message );
errorDialog.show();
}
内容来源于网络,如有侵权,请联系作者删除!