| Summary: | XML perspective throws PartInitException for TemplatesView if no JDT installed | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Norbert Schöpke <norbert.schoepke> |
| Component: | wst.xml | Assignee: | Nitin Dahyabhai <thatnitind> |
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, thatnitind |
| Version: | unspecified | ||
| Target Milestone: | 3.3 RC1 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Norbert Schöpke
Can you append or attach the contents of that log entry? n/m, I see now that the org.eclipse.ui.texteditor.TemplatesView part comes from org.eclipse.jdt.ui. Moving to JDT since I'm really not sure why the view definition is there when the code is already in an agreeable place. Maybe simple code rot? The templates view was probably first developed for Java only. Then, judging from bug 277393 and some forum threads I read, people asked for it to be generalized. The code may have been moved, but the view definition was forgotten? Only speculating here, of course... Anyway, it should be easy to fix. The platform has the code for it but it does not want to surface it in the UI because most RCPs don't need such a view. If someone uses/refers that view it must make sure it's registered (e.g. by requiring JDT UI or by copying the view contribution from JDT UI). Requiring JDT UI isn't a good option imho, because most RCPs don't need or don't want to include JDT either... (In reply to comment #6) > Requiring JDT UI isn't a good option imho, Sure, in this case this wouldn't be the way to go. Won't happen in RC1. |