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

Bug 365809

Summary: SWT: Nofication of unsaved changes in Scout Dialogs
Product: z_Archived Reporter: Jeremie Bresson <dev>
Component: ScoutAssignee: Claudio Guglielmo <claudio.guglielmo>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: claudio.guglielmo, zimmermann
Version: unspecifiedFlags: claudio.guglielmo: juno+
Target Milestone: 3.8.0 Juno   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Patch for bug 365809 claudio.guglielmo: iplog+

Description Jeremie Bresson CLA 2011-12-06 16:01:13 EST
Build Identifier: 

Form  with unsaved changes under Mac OS X should have notification in the close button of the WindowsBar.

As explained in this Forum Post [1], the Scout SWT UI plugin should react on IForm.PROP_SAVE_NEEDED and use this information to call Shell.setModified(..). (see this article [2] for more information).

SWT takes care on how its should looks like in the differents operating system (on Windows 7 nothing appends).

[1] http://www.eclipse.org/forums/index.php/t/263184/
[2] http://www.eclipse-tips.com/how-to-guides/27-making-good-eclipse-rcp-apps-for-mac

Reproducible: Always
Comment 1 Jeremie Bresson CLA 2011-12-06 16:25:32 EST
Created attachment 208026 [details]
Patch for bug 365809
Comment 2 Claudio Guglielmo CLA 2012-02-17 04:48:59 EST
Fixed for 3.8.0 Juno
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:50:45 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)