Extending WTP XSD editor [message #1277701] |
Wed, 26 March 2014 10:42 |
Horia Alungulesei Messages: 4 Registered: July 2009 |
Junior Member |
|
|
I am interested in extending the WTP XSD Editor in my RCP app but I notice that the InternalXSDMultiPageEditor class itself is marked as 'internal' as the entire org.eclipse.wst.xsd.ui plugin is. So what is the recommended way of reusing/extending the WTP XSD editor?
Quote:Discouraged access: The type InternalXSDMultiPageEditor is not accessible due to restriction on required library [...]\org.eclipse.wst.xsd.ui_1.2.500.v201203081826.jar
Regards / Horia
[Updated on: Wed, 26 March 2014 12:38] Report message to a moderator
|
|
|
|
|
|
Re: Extending WTP XSD editor [message #1284530 is a reply to message #1283313] |
Fri, 04 April 2014 15:31 |
|
Editors always open and save their contents through a document provider, and the Platform provides mechanisms to deal with things that aren't actually files. That sounds like something for which a custom IEditorInput, or EFS provider should be implemented (assuming one's not out there). Then you wouldn't be limited to just the XML Schema Editor being used for resources in the archive. To put it another way, editing itself isn't where you have a limitation, you have a limitation reading contents into the editor and writing them back out.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
[Updated on: Fri, 04 April 2014 15:32] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03026 seconds