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

Bug 187193

Summary: Provide a way for third parties to control the Validation UI
Product: [WebTools] WTP Common Tools Reporter: Gary Karasiuk <karasiuk>
Component: wst.validationAssignee: Hari Shankar <hshanka>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: david_williams, d_a_carver, robert_gallagher
Version: 2.0Keywords: plan
Target Milestone: 3.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Add a new extension point for overriding the Validation UI
none
version 2 of the patch none

Description Gary Karasiuk CLA 2007-05-16 03:25:15 EDT
Other products that include WTP, want to provide their own Validation UI, but yet still keep WTP in tact.

Provide a mechanism for allowing other plug-ins to "take control" of the Validation UI contributions. (These are Validation Preference page, Validation propery page and Validate menu item).
Comment 1 Gary Karasiuk CLA 2007-05-16 03:29:11 EDT
I explored various approaches for doing this.

1) Using enablement
2) Using activities
3) Using an extension point

1) didn't work because the UI extension points don't all support enablement
2) didn't work, because the validation UI contributions are already in activities, so there is no way to turn them off without turning off all of WTP
3) seems like the best/safest approach, but it is also the most work. I'll provide a patch for this approach.
Comment 2 Gary Karasiuk CLA 2007-05-16 03:30:06 EDT
Created attachment 67359 [details]
Add a new extension point for overriding the Validation UI
Comment 3 Gary Karasiuk CLA 2007-05-16 16:14:51 EDT
I found some problems with the patch that I posted, please wait for a newer one. 
Comment 4 Gary Karasiuk CLA 2007-05-17 08:14:10 EDT
Created attachment 67645 [details]
version 2 of the patch
Comment 5 David Williams CLA 2007-08-07 23:43:31 EDT
I believe this is planned for 3.0 now? Or should this one be closed an a new one open? 

Comment 6 David Williams CLA 2008-05-15 09:38:19 EDT
Correct if wrong, but believe this is "done". Unless there is a better bug to point to as implementing this item?