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

Bug 311735

Summary: uiCustom editor doesn't reflect file changes
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gdupe, hugo.bruneliere, modisco.web-inbox
Version: 0.8.0Flags: nicolas.bros: helios+
hugo.bruneliere: review+
Target Milestone: 0.8.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

Description Nicolas Bros CLA 2010-05-05 10:33:42 EDT
When a uiCustom file is changed or deleted from outside the editor, the uiCustom editor stays open on the old version of the file. 

When the file is deleted, the editor should close automatically.
And when the file is modified, the user should be notified, and asked whether to replace the editor's contents with those from the file on disk.
Comment 1 Gregoire Dupe CLA 2010-05-10 05:58:40 EDT
Hi,

To many changes (including UI modifications), this bug will then be handle for 0.9.

Regards,
Grégoire
Comment 2 Nicolas Bros CLA 2010-05-12 07:03:32 EDT
Created attachment 168118 [details]
patch

This patch handles resource changes and deletions. It doesn't change the UI (apart from a yes/no prompt to discard changes), so it can be integrated for RC1.
Comment 3 Hugo Bruneliere CLA 2010-05-12 08:06:11 EDT
Hi Nicolas,

You can go ahead with the patch.

Regards,

Hugo
Comment 4 Nicolas Bros CLA 2010-05-12 08:59:22 EDT
Thanks. I have applied the patch to branch 0_8_0.
Comment 5 Hugo Bruneliere CLA 2010-10-01 13:37:46 EDT
Patch successfully committed.