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

Bug 319486

Summary: [Dawn] Implement locking mechanism for extended editors
Product: [Modeling] EMF Reporter: Martin Fluegge <martin.fluegge>
Component: cdo.dawnAssignee: Martin Fluegge <martin.fluegge>
Status: ASSIGNED --- QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3 CC: alex.lagarde, hjoensson, mariot.chauvin
Version: 4.13   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch v1
none
Patch v2
none
Patch v3 none

Description Martin Fluegge CLA 2010-07-11 05:50:19 EDT
Dawn should provide locking mechanisms for GMF diagrams as shown here:
http://www.mftech.org/dawn/screencasts/9_locking/locking.htm
Comment 1 Eike Stepper CLA 2011-06-23 03:59:19 EDT
Moving all open enhancement requests to 4.1
Comment 2 Martin Fluegge CLA 2011-09-25 06:06:23 EDT
Created attachment 203968 [details]
Patch v1

Attached the first steps. EMF and GMF editor now provide a context menu that allows locking the selecteed objects. 

This combined patch also contains some test to verify the new behavior.

Additional tasks to do:
- provide better (changeable) coloring for the effected objects
- provide changeable icons for locked object that can be changed be customers
- provide extendable locking strategies which make it possible to define which objects are effected if one object is locked
- editing locked objects must be prohibited by the UI. Currently only an exception is thrown at commit time.
- enhance tests
Comment 3 Martin Fluegge CLA 2011-09-25 06:08:18 EDT
Patch v1 - Committed revision 9260
Comment 4 Martin Fluegge CLA 2011-09-25 09:42:07 EDT
Created attachment 203970 [details]
Patch v2

moved more responisbility from the listeners/handlers to the IDawnEditingSupport implementations.
Comment 5 Martin Fluegge CLA 2011-09-25 09:43:09 EDT
Patch v2 - Committed revision 9263
Comment 6 Martin Fluegge CLA 2011-09-25 15:01:56 EDT
Created attachment 203973 [details]
Patch v3

added icons for locked elements and changed the visualization. Also provided extension point which makes it possible for users the change the visualization of the elements.
Comment 7 Martin Fluegge CLA 2011-09-25 15:04:05 EDT
Patch v3 - Committed revision 9264
Comment 8 Eike Stepper CLA 2012-08-14 22:54:06 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 9 Eike Stepper CLA 2013-06-27 04:09:12 EDT
Moving all outstanding enhancements to 4.3
Comment 10 Eike Stepper CLA 2014-08-19 09:28:58 EDT
Moving all open enhancement requests to 4.4
Comment 11 Eike Stepper CLA 2014-08-19 09:38:00 EDT
Moving all open enhancement requests to 4.4
Comment 12 Eike Stepper CLA 2015-07-14 02:16:11 EDT
Moving all open bugzillas to 4.5.
Comment 13 Eike Stepper CLA 2016-07-31 00:59:10 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 14 Eike Stepper CLA 2017-12-28 01:17:35 EST
Moving all open bugs to 4.7
Comment 15 Eike Stepper CLA 2019-11-08 02:17:16 EST
Moving all unresolved issues to version 4.8-
Comment 16 Eike Stepper CLA 2019-12-13 12:49:15 EST
Moving all unresolved issues to version 4.9
Comment 17 Eike Stepper CLA 2020-12-11 10:44:45 EST
Moving to 4.13.