| Summary: | tie quick fix and validation in a little more | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Amy Wu <for.work.things> |
| Component: | wst.sse | Assignee: | Amy Wu <for.work.things> |
| Status: | CLOSED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P3 | CC: | valentinbaciu |
| Version: | 3.0 | Keywords: | plan |
| Target Milestone: | 3.0 M6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Amy Wu
Part of this solution is making sure the validator can set quick fix information in annotation/marker attributes and these attributes will be passed from one object to another. I've created provisional class StructuredTextInvocationContext. This class contains a getAttribute(String) method that quick fix processors are able to call and get any special information set by the validator. (and in theory, markers would get the same set of information for marker resolution) I've also created a provisional extension point, org.eclipse.wst.sse.ui.quickFixProcessor. This extension works very much like the marker resolution extension point. Adopters would be able to contribute their quick fix processor and associate it with a "problemType" or any other name/value combo found, again in the IMessage attributes map. released for m6 (hopefully) verified in wtp 3.0m6 |