Community
Participate
Working Groups
GMF's UIFileModificationValidator could be enhanced to perform time stamp checking. This would help with scenarios involving clear case and using dynamic views where two people have views on the same file. Additionally, the UIModificationValidator could execute validations in a thread safe manner and prevent deadlocks if a particular transaction invokes a UI. Commands causing file updates as a side effect of executing the command might require file validation at the commit stage before the transaction finishes. I would propose registering the UIModificationValidator so that it would be invoked at commit time. EMF's enhanced transaction API allows for custom validators to perform validation at the commit() stage.
Created attachment 84659 [details] Please consider this first attempt. Let me know of any issues.
Created attachment 84901 [details] Updated patch.
*** Bug 196187 has been marked as a duplicate of this bug. ***
Hi Linda, can you commit this patch to HEAD? (change updated in header to 2008).
Reviewed and committed the patch with some minor changes: - updated copyrights - fixed a little bit of javadoc - updated the plug-in versions to reflect the non-breaking API changes. Also ran the following JUnit tests: org.eclipse.gmf.tests.runtime.common.core: 45/45 passed org.eclipse.gmf.tests.runtime.common.ui: 23/23 passed
[target cleanup] 2.1 M5 was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Runtime Common was the original product and component for this bug