Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XSD Editor Extension -- good place to start?
XSD Editor Extension -- good place to start? [message #166948] Mon, 17 April 2006 18:48 Go to next message
Eclipse UserFriend
Originally posted by: ajenkins.infocomp.com

Hi All,

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.

Cheers
Adam
Re: XSD Editor Extension -- good place to start? [message #167227 is a reply to message #166948] Mon, 24 April 2006 02:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ajenkins.infocomp.com

Hi All,

Obviously from the lack of replies there's not much doco out there. Can
someone point me in the direction of a good source package to start
figuring it out? Maybe a source based example of what I'm trying to do
(above).

Cheers
Adam
Re: XSD Editor Extension -- good place to start? [message #168046 is a reply to message #167227] Sun, 30 April 2006 02:57 Go to previous message
Keith Chong is currently offline Keith ChongFriend
Messages: 64
Registered: July 2009
Member
Hi Adam,

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
"org.eclipse.wst.xsd.ui.popup.outline" respectively.

To contribute for a particular object, use object contributions, which
sounds
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.
Previous Topic:Developing Web Services for JBoss using WTP
Next Topic:WTP automated builds?
Goto Forum:
  


Current Time: Fri Dec 19 17:36:37 GMT 2014

Powered by FUDForum. Page generated in 0.17015 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software