public Shell getShell() { XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById( "repository-login-dialog" ); return (Shell) dialog.getRootObject(); } }
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(); } }
public void onAccept() { // save model via PersistenceManager here ... this.xulDialog.hide(); }
public void open() { if ( xulDialog != null ) { xulDialog.show(); } }
(XulTree) xulDialogComponent.getDocument().getRootElement().getElementById( "options-parameter-tree" ); tree.getRootChildren().removeAll(); xulDialogComponent.show(); // Attention: onload: loadConnectionData() is called here the second time, see above
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() ) ); } }
public Composite getDialogArea() { XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById( "repository-login-dialog" ); return (Composite) dialog.getManagedObject(); }
@Bindable public void renameCheck() { if ( !saveConnectionConfirmationDialog.isHidden() ) { closeSaveConnectionConfirmationDialog(); } if ( datasourceModel.isEditing() && !previousConnectionName.equals( currentConnection.getName() ) ) { showRenameConnectionConfirmationDialog(); } else { overwriteCheck(); } }
public void close() { xulDialog.hide(); }
public String open() { xulDialog.show(); return stepname; }
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(); } }
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(); }
public Composite getDialogArea() { XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById( "repository-config-dialog" ); //$NON-NLS-1$ return (Composite) dialog.getManagedObject(); }
@Bindable public void renameCheck() { if ( !saveConnectionConfirmationDialog.isHidden() ) { closeSaveConnectionConfirmationDialog(); } if ( datasourceModel.isEditing() && !previousConnectionName.equals( currentConnection.getName() ) ) { showRenameConnectionConfirmationDialog(); } else { overwriteCheck(); } }