/** * Notifies that the cancel button of this dialog has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method sets * this dialog's return code to <code>Window.CANCEL</code> and closes the * dialog. Subclasses may override if desired. * </p> */ protected void cancelPressed() { setReturnCode(CANCEL); close(); }
@Override public boolean close() { boolean closed= super.close(); if (closed && fNewBounds != null) saveBounds(fNewBounds); return closed; }
@Override public void closeModalContainers() { close(); if (modalParent != null) modalParent.close(); }
public boolean close() { boolean closed = super.close(); if(closed && (fNewBounds != null)) { saveBounds(fNewBounds); } return closed; }
/** * @see org.eclipse.jface.window.Window#close() */ @Override public boolean close() { handleDialogClose(); return super.close(); }
public boolean close() { boolean closed= super.close(); if (closed && fNewBounds != null) saveBounds(fNewBounds); return closed; }
/** * @see org.eclipse.jface.window.Window#close() */ @Override public boolean close() { handleDialogClose(); return super.close(); }
public boolean close() { if (color != null) { color.dispose(); } return super.close(); }
/** * @see org.eclipse.jface.window.Window#close() */ public boolean close() { handleDialogClose(); return super.close(); }
/** * Notifies that the ok button of this dialog has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method sets * this dialog's return code to <code>Window.OK</code> and closes the * dialog. Subclasses may override. * </p> */ protected void okPressed() { setReturnCode(OK); close(); }
/** * Notifies that the cancel button of this dialog has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method sets * this dialog's return code to <code>Window.CANCEL</code> and closes the * dialog. Subclasses may override if desired. * </p> */ protected void cancelPressed() { setReturnCode(CANCEL); close(); }
public boolean close() { fWizard.dispose(); return super.close(); }
/** * Close the window. */ @Override public boolean close() { boolean result = super.close(); resourceManager.dispose(); resourceManager = null; return result; }
/** * Notifies that the ok button of this dialog has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method sets * this dialog's return code to <code>Window.OK</code> and closes the * dialog. Subclasses may override. * </p> */ protected void okPressed() { setReturnCode(OK); close(); }
/** * Notifies that the cancel button of this dialog has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method sets * this dialog's return code to <code>Window.CANCEL</code> and closes the * dialog. Subclasses may override if desired. * </p> */ protected void cancelPressed() { setReturnCode(CANCEL); close(); }
/** * Notifies that the ok button of this dialog has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method sets * this dialog's return code to <code>Window.OK</code> and closes the * dialog. Subclasses may override. * </p> */ protected void okPressed() { setReturnCode(OK); close(); }
/** * {@inheritDoc} */ @Override public boolean close() { arrow.dispose(); breadcrumbTitleComposite.dispose(); return super.close(); }
/** * @see org.eclipse.jface.dialogs.Dialog#close() */ public boolean close() { dnBuilderWidget.removeWidgetModifyListener( this ); dnBuilderWidget.dispose(); return super.close(); }
public boolean close() { /* * Close the tray to ensure that those dialogs that remember their * size do not store the tray size. */ if (getTray() != null) { closeTray(); } return super.close(); }
/** * @see org.eclipse.jface.dialogs.Dialog#close() */ public boolean close() { dnBuilderWidget.removeWidgetModifyListener( this ); dnBuilderWidget.dispose(); return super.close(); }