Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 456650

Summary: Have ProgressMonitorDialog on save
Product: [Modeling] Sirius Reporter: Esteban DUGUEPEROUX <esteban.dugueperoux>
Component: CoreAssignee: Esteban DUGUEPEROUX <esteban.dugueperoux>
Status: CLOSED FIXED QA Contact: Belqassim Djafer <belqassim.djafer>
Severity: enhancement    
Priority: P3 CC: belqassim.djafer, laurent.redor, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.0.0M5   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Esteban DUGUEPEROUX CLA 2015-01-05 04:53:38 EST
Currently when saving and this last is long we have a specific icon indicating that there is a work in progress. This saving is done in the UI Job and we can't see the progression neither cancel the saving if the SavingPolicy allows it.

To manage the save In Sirius, org.eclipse.ui.Saveable is used. Only the Saveable.doSave(IProgressMonitor) is used while there exists a second method Saveable.doSave(IProgressMonitor) which returns a IJobRunnable which is executed in a Job which possibility to cancel it through the progress view.
Comment 1 Esteban DUGUEPEROUX CLA 2015-01-05 04:55:49 EST
I have created https://git.eclipse.org/r/38956 to have that.
Comment 2 Esteban DUGUEPEROUX CLA 2015-01-06 11:23:21 EST
Fixed as 912ddff183789704c293c24126cb36f5166f4a66
Comment 3 Belqassim Djafer CLA 2015-04-10 05:04:25 EDT
Verified on Sirius 3.0.0M6
Comment 4 Belqassim Djafer CLA 2015-05-22 04:10:08 EDT
Verified with Sirius 3.0.0 RC1
Comment 5 Pierre-Charles David CLA 2015-06-24 11:17:01 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.