|XSD Editor Extension -- good place to start? [message #166948]
||Mon, 17 April 2006 14:48
Originally posted by: ajenkins.infocomp.com|
I want to extend the XSD editor in web tools platform. I just want to add
a popup action on xsd elements in the various views, as well as making a
custom editor pane available. This is so that, for a given xsd file, I
can use the same interface to provide an easy way (nice gui) to edit the
XMLBeans configuration (.xsdconfig) file. At the moment I'm fairly new to
plugins and the xsd editor. Could someone suggest a good information
source (few links) to get me to a point where I can identify the necessary
extension points and how to interact with them. Please note, at this
stage I don't need to edit the schema document just the corresponding
xsdconfig document...I just need to attach several actions to the menu for
xsd elements and a custom editor pane to the xsd multipage editor.
|Re: XSD Editor Extension -- good place to start? [message #168046 is a reply to message #167227]
||Sat, 29 April 2006 22:57
| Keith Chong
Registered: July 2009
You can contribute your own actions to the editor's existing popup menus
by using the org.eclipse.ui.popupMenus extension point. Look at its
extension point description for more details.
To contribute to a specific view, use viewer contributions.
The XML schema editor registers popup-up menus for the design and outline
views. Their ids are "org.eclipse.wst.xsd.ui.popup.graph" and
To contribute for a particular object, use object contributions, which
like what you want.
If I understand you correctly, you want to add an additional page to
the already existing Design and Source pages? Unfortunately,
there are currently no defined extension points that allow this. Please
open a feature request for this.
Powered by FUDForum
. Page generated in 0.02237 seconds