Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] WST XML Component public API

Andrei:

The best place to ask these questions are on the Eclipse Web Tools Forums:

http://www.eclipse.org/forums/index.php?t=thread&frm_id=88

With this said, you are correct most of the API that you need for doing anything beyond the basics is internal, and unfortunatelly you have to access the internals.
This tutorial should help get you going:

http://www.eclipsecon.org/2008/?page=sub/&id=280

Dave

Andrei Lucian Branescu wrote:
Hello,

First of all, I'm not a WTP developer and I know that this is a development mailing list. Unfortunately, I didn't find answers to my questions and I thought this is the last place I would have a chance to find them.

I am trying to programatically access the WST XML component. The problem is that I didn't find any documentation, public API or extensions for this component. I've checked the overview page <http://www.eclipse.org/webtools/wst/components/xml/overview.html> and the wst sdk and I couldn't find anything relevant. I only found internal classes which, judging by this article shouldn't be used by normal users because they are subject to change anytime. So, does the WST XML Component have a public API or usable extension points?

I'm asking this because I'm using the XML editor plugin (wst.xml.ui) to edit XML files and I need to programatically access the DOM of the XML file currently open. Can this be done without messing around with the internal classes or recompiling the source code of the plugin?

Any help is appreciated.

Thanks,
Andrei
------------------------------------------------------------------------

_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev



Back to the top