Summary: | Support for opening multiple Schema HTML Viewers | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] PDE | Reporter: | Simon Archer <sja.eclipse> | ||||||
Component: | UI | Assignee: | Les Jones <lesojones> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | enhancement | ||||||||
Priority: | P3 | CC: | baumanbr, caniszczyk | ||||||
Version: | 3.3 | Keywords: | bugday, contributed | ||||||
Target Milestone: | 3.4 M5 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Simon Archer
2008-01-16 12:07:03 EST
Created attachment 87078 [details]
Allow multiple Schema HTML viewers (but only one per exsd)
Possible patch; quite simple, could perhaps be more elegant - but I get the uniqueness check from the file name of the generated temporary HTML file. Should be fairly unique to this scenario allowing multiple opens of the same schema to share the same editor, with other schemas opening in different editors.
All that said, depending on expected behavior; this may be worthy of a preference to govern the choice?
Thanks Les, you rock. We'll try to look at it ASAP. On the other hand, it looks like the PDE Slayer is busy messing with schemas lately :) Yeah, I'm the local ExtensionPoint/RegistryReading Slayer theses days. I wrangle with the schema editor a lot. :-) The Schema HTML Viewer is awesome, btw. Undocumented extension points are just horrible to deal with, so I use the viewer a lot. Thank you Les contributing the fix. If you think it warrants a preference to control the behavior, just let me know and I'll enhance it for you; I guess it just depends what the initial rationale for re-using the same editor window was. thanks Les, best patch ever to review ;) Created attachment 87167 [details]
mylyn/context/zip
Verified on I20080204-0010 |