/** * Called when the Cancel button is pressed. */ protected void cancelPressed() { usernameString_ = null; passwordString_ = null; super.cancelPressed(); }
@Override protected void cancelPressed() { perspDesc = null; super.cancelPressed(); }
/** * @see org.eclipse.jface.dialogs.Dialog#cancelPressed() */ protected void cancelPressed() { selectedBrowserConnection = null; super.cancelPressed(); }
/** * Notifies that the cancel button of this dialog has been pressed. */ @Override protected void cancelPressed() { viewDescs = new MPartDescriptor[0]; super.cancelPressed(); }
/** * @see org.eclipse.jface.dialogs.Dialog#cancelPressed() */ protected void cancelPressed() { selectedEntry = null; super.cancelPressed(); }
/** * Called when the Cancel button is pressed. * Insures that {@link #getResult} will return null. */ protected void cancelPressed() { selection_ = null; setReturnCode(Dialog.CANCEL); super.cancelPressed(); }
protected void cancelPressed() { if (fActiveRunningOperations == 0) { if (fWizard.performCancel()) super.cancelPressed(); } }
/** * Called when the Cancel button is pressed. * Insures that {@link #getResult} will return null. */ protected void cancelPressed () { selection_ = null; setReturnCode(Dialog.CANCEL); super.cancelPressed(); }
protected void cancelPressed() { super.cancelPressed(); for (Iterator iter = imagesToDispose.iterator(); iter.hasNext();) { Image image = (Image) iter.next(); image.dispose(); } images16x16 = null; imagesToDispose = null; }
/** * Notifies that this dialog's button with the given id has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method calls * <code>okPressed</code> if the ok button is the pressed, and * <code>cancelPressed</code> if the cancel button is the pressed. All * other button presses are ignored. Subclasses may override to handle other * buttons, but should call <code>super.buttonPressed</code> if the * default handling of the ok and cancel buttons is desired. * </p> * * @param buttonId * the id of the button that was pressed (see * <code>IDialogConstants.*_ID</code> constants) */ protected void buttonPressed(int buttonId) { if (IDialogConstants.OK_ID == buttonId) { okPressed(); } else if (IDialogConstants.CANCEL_ID == buttonId) { cancelPressed(); } }
/** * Notifies that this dialog's button with the given id has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method calls * <code>okPressed</code> if the ok button is the pressed, and * <code>cancelPressed</code> if the cancel button is the pressed. All * other button presses are ignored. Subclasses may override to handle other * buttons, but should call <code>super.buttonPressed</code> if the * default handling of the ok and cancel buttons is desired. * </p> * * @param buttonId * the id of the button that was pressed (see * <code>IDialogConstants.*_ID</code> constants) */ protected void buttonPressed(int buttonId) { if (IDialogConstants.OK_ID == buttonId) { okPressed(); } else if (IDialogConstants.CANCEL_ID == buttonId) { cancelPressed(); } }
/** * Notifies that this dialog's button with the given id has been pressed. * <p> * The <code>Dialog</code> implementation of this framework method calls * <code>okPressed</code> if the ok button is the pressed, and * <code>cancelPressed</code> if the cancel button is the pressed. All * other button presses are ignored. Subclasses may override to handle other * buttons, but should call <code>super.buttonPressed</code> if the * default handling of the ok and cancel buttons is desired. * </p> * * @param buttonId * the id of the button that was pressed (see * <code>IDialogConstants.*_ID</code> constants) */ protected void buttonPressed(int buttonId) { if (IDialogConstants.OK_ID == buttonId) { okPressed(); } else if (IDialogConstants.CANCEL_ID == buttonId) { cancelPressed(); } }