Bug 113991 - Support displaying a common dialog for live validation messages
Summary: Support displaying a common dialog for live validation messages
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: All Windows XP
: P2 enhancement
Target Milestone: 1.0   Edit
Assignee: Chris McGee CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2005-10-27 11:40 EDT by Vishy Ramaswamy CLA
Modified: 2010-07-19 12:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vishy Ramaswamy CLA 2005-10-27 11:40:04 EDT
The live validation dialogs that currently show up are provided using EMF 
Validation listeners that are contributed to listen to certain client 
contexts. It is possible that during a write action, two client contexts are 
involved in live validation and there could be two dialogs that show up.

There should be some way that multiple client contexts could share this common 
dialog. Possibly through some intermediary service that will display a 
conglomerated dialog with all validation results that different client 
contexts can subscribe. This would prevent the dialog from showing up in 
client contexts that do not subscribe because they do not wish to use this 
dialog.

It is also possible that an MSL editing domain could be given a call-back of 
some sort that can be used to direct live errors/warnings. Perhaps it could be 
given as an optional parameter in the MEditingDomain.createNewDomain() factory 
method.
Comment 1 Chris McGee CLA 2006-03-10 10:10:41 EST
There is a new extension point available in the org.eclipse.emf.validation.ui plugin that allows a client to register their client context to request that a live validation dialog/console be displayed in the event of a validation error/warning that involved their client context.
Comment 2 Richard Gronback CLA 2008-08-13 13:07:16 EDT
[target cleanup] 1.0 M6 was the original target milestone for this bug
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:25:01 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime EMF was the original product and component for this bug