I want to use the default XML editor (org.eclipse.wst.xml.ui) Eclipse in an RCP application. I need to read the DOM of the current xml file. The plugin does not offer extension points, so I'm trying to access inner classes. I know that I should not have access to inner classes, but I have no other option.
My approach is to create a fragment and extension point for reading data from the plugin. I try not to recompile the plugin, so I thought a snippet is needed. I just want to load it and extract the data at runtime.
So my question is: is there any other way to access the plugin classes? if so, how? Any tutorial, document page, or useful link for any of the methods is welcome.
eclipse eclipse-plugin eclipse-rcp
Andrei B.
source share