Bug 187193 - Provide a way for third parties to control the Validation UI
Summary: Provide a way for third parties to control the Validation UI
Status: RESOLVED FIXED
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.validation (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Hari Shankar CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2007-05-16 03:25 EDT by Gary Karasiuk CLA
Modified: 2008-05-15 09:38 EDT (History)
3 users (show)

See Also:


Attachments
Add a new extension point for overriding the Validation UI (27.45 KB, patch)
2007-05-16 03:30 EDT, Gary Karasiuk CLA
no flags Details | Diff
version 2 of the patch (28.10 KB, patch)
2007-05-17 08:14 EDT, Gary Karasiuk CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?