public boolean close() { /* if (dlgTitleImage != null) dlgTitleImage.dispose();*/ return super.close(); }
@Override public boolean close() { /* if (dlgTitleImage != null) dlgTitleImage.dispose();*/ return super.close(); }
/** * The <code>SaveAsDialog</code> implementation of this <code>Window</code> method disposes of the banner image * when the dialog is closed. */ public boolean close() { if (_dlgTitleImage != null) { // _dlgTitleImage.dispose(); } return super.close(); }
public boolean close() { if (titleImage != null) { titleImage.dispose(); } return super.close(); }
/** * The <code>SaveAsDialog</code> implementation of this <code>Window</code> * method disposes of the banner image when the dialog is closed. */ @Override public boolean close() { if (dlgTitleImage != null) { dlgTitleImage.dispose(); } return super.close(); }
@Override public boolean close() { fPanel.dispose(); return super.close(); }
public boolean close() { if (dlgTitleImage != null) dlgTitleImage.dispose(); return super.close(); }
@Override public boolean close() { if (dlgTitleImage != null) dlgTitleImage.dispose(); return super.close(); }
public boolean close() { if (dlgTitleImage != null) dlgTitleImage.dispose(); return super.close(); }
public boolean close() { if (titleImage != null) { titleImage.dispose(); } return super.close(); }
public boolean close() { if (image != null) { image.dispose(); } return super.close(); } }
@Override public boolean close() { rw.dispose(); return super.close(); }
public boolean close() { this.getComposite().dispose(); return super.close(); }
/** * Closes this window. * * @return <code>true</code> if the window is (or was already) closed, and * <code>false</code> if it is still open */ private boolean hardClose() { // inform wizards for (int i = 0; i < createdWizards.size(); i++) { IWizard createdWizard = createdWizards.get(i); try { createdWizard.dispose(); } catch (Exception e) { Status status = new Status(IStatus.ERROR, Policy.JFACE, IStatus.ERROR, e.getMessage(), e); Policy.getLog().log(status); } // Remove this dialog as a parent from the managed wizard. // Note that we do this after calling dispose as the wizard or // its pages may need access to the container during // dispose code createdWizard.setContainer(null); } // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=202534 // disposing the wizards could cause the image currently set in // this dialog to be disposed. A subsequent repaint event during // close would then fail. To prevent this case, we null out the image. setTitleImage(null); return super.close(); }
/** * Closes this window. * * @return <code>true</code> if the window is (or was already) closed, and * <code>false</code> if it is still open */ private boolean hardClose() { // inform wizards for (int i = 0; i < createdWizards.size(); i++) { IWizard createdWizard = createdWizards.get(i); try { createdWizard.dispose(); } catch (Exception e) { Status status = new Status(IStatus.ERROR, Policy.JFACE, IStatus.ERROR, e.getMessage(), e); Policy.getLog().log(status); } // Remove this dialog as a parent from the managed wizard. // Note that we do this after calling dispose as the wizard or // its pages may need access to the container during // dispose code createdWizard.setContainer(null); } // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=202534 // disposing the wizards could cause the image currently set in // this dialog to be disposed. A subsequent repaint event during // close would then fail. To prevent this case, we null out the image. setTitleImage(null); return super.close(); }
/** * Closes this window. * * @return <code>true</code> if the window is (or was already) closed, and * <code>false</code> if it is still open */ private boolean hardClose() { // inform wizards for (int i = 0; i < createdWizards.size(); i++) { IWizard createdWizard = (IWizard) createdWizards.get(i); try { createdWizard.dispose(); } catch (Exception e) { Status status = new Status(IStatus.ERROR, Policy.JFACE, IStatus.ERROR, e.getMessage(), e); Policy.getLog().log(status); } // Remove this dialog as a parent from the managed wizard. // Note that we do this after calling dispose as the wizard or // its pages may need access to the container during // dispose code createdWizard.setContainer(null); } // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=202534 // disposing the wizards could cause the image currently set in // this dialog to be disposed. A subsequent repaint event during // close would then fail. To prevent this case, we null out the image. setTitleImage(null); return super.close(); }
@Override public boolean close() { if (!isSafeToClose()) { return false; } persistSashWeights(); persistExpansion(); setCurrentlyVisibleLaunchConfigurationDialog(null); fTabViewer.dispose(); if (fLaunchConfigurationView != null) { fLaunchConfigurationView.dispose(); } DebugUIPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this); boolean result = super.close(); getBannerImage().dispose(); return result; }