/** * The <code>AbstractTextEditor</code> implementation of this * <code>IEditorPart</code> method calls <code>performSaveAs</code>. * Subclasses may reimplement. */ public void doSaveAs() { /* * 1GEUSSR: ITPUI:ALL - User should never loose changes made in the editors. * Changed Behavior to make sure that if called inside a regular save (because * of deletion of input element) there is a way to report back to the caller. */ performSaveAs(getProgressMonitor()); }
/** * The <code>AbstractTextEditor</code> implementation of this * <code>IEditorPart</code> method calls <code>performSaveAs</code>. * Subclasses may reimplement. */ @Override public void doSaveAs() { IProgressMonitor monitor= getProgressMonitor(); try { /* * 1GEUSSR: ITPUI:ALL - User should never loose changes made in the editors. * Changed Behavior to make sure that if called inside a regular save (because * of deletion of input element) there is a way to report back to the caller. */ performSaveAs(monitor); } finally { monitor.done(); } }
/** * The <code>AbstractTextEditor</code> implementation of this * <code>IEditorPart</code> method calls <code>performSaveAs</code>. * Subclasses may reimplement. */ @Override public void doSaveAs() { IProgressMonitor monitor= getProgressMonitor(); try { /* * 1GEUSSR: ITPUI:ALL - User should never loose changes made in the editors. * Changed Behavior to make sure that if called inside a regular save (because * of deletion of input element) there is a way to report back to the caller. */ performSaveAs(monitor); } finally { monitor.done(); } }
IProgressMonitor pm= getProgressMonitor(); performSaveAs(pm); if (pm.isCanceled())
IProgressMonitor pm= getProgressMonitor(); try { performSaveAs(pm);
IProgressMonitor pm= getProgressMonitor(); try { performSaveAs(pm);