Community
Participate
Working Groups
Today it is not easy to open multiple Schema HTML Viewers. When you have multiple .exsd files that you what to visually inspect, possibly side-by-side, opening the second file replaces the first in the Schema HTML Viewer. But there is a sneaky work-around, which makes me think that this should not be too difficult to support directly. 1. Open the first .exsd file in the Schema HTML Viewer. 2. Right click on the viewer's tab and choose "New Editor". 3. Open the second .exsd file and it'll show up in one of the 2 open viewers. It would be nice to just have PDE open a new Schema HTML Viewer rather than replacing the contents of an already open viewer.
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