Bug 572592

Summary: Prompt for model saving on project close
Product: [Automotive] Sphinx Reporter: Snejana Bisa <snejana_b>
Component: CoreAssignee: Project Inbox <sphinx-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: balazs.grill
Version: 0.11.0   
Target Milestone: 0.13.1   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/sphinx/org.eclipse.sphinx/+/195073
https://git.eclipse.org/c/sphinx/org.eclipse.sphinx.git/commit/?id=225f12a05ac7480ea261a1496b59224b12d9b7a4
Whiteboard:

Description Snejana Bisa CLA 2021-04-05 13:18:21 EDT
Currently, closing a project containing unsaved changes will lead to the 'dirty' model being saved automatically. 

Check the TODO from org.eclipse.sphinx.emf.workspace.internal.saving.ModelSaveProvider:
'TODO In order to prompting user before proceeding with save and enable him to cancel the close operation override ResourceMgmtActionProvider and provide a custom implementation of CloseResourceAction.'
Comment 1 Eclipse Genie CLA 2022-08-05 09:08:56 EDT
New Gerrit change created: https://git.eclipse.org/r/c/sphinx/org.eclipse.sphinx/+/195073
Comment 3 Balazs Grill CLA 2022-08-15 04:59:25 EDT
Fix merged
Comment 4 Balazs Grill CLA 2024-05-07 00:59:01 EDT
Closing resolved issue