Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to add validation to XMLMultiPageEditorPart? (I'm using XMLMultiPageEditorPart to edit xml files and want to add "validate" option..)
How to add validation to XMLMultiPageEditorPart? [message #556099] Mon, 30 August 2010 19:03 Go to next message
Maciej  is currently offline Maciej Friend
Messages: 4
Registered: August 2010
Junior Member
Hello,

I'm using XMLMultiPageEditorPart as an editor for XML files. Now I'd like to add validation to the view (i.e. via context menu item), how can I achieve that? I was trying by adding the following plugins, but I do not not what to do next:

* org.eclipse.wst.xml.core
* org.eclipse.wst.xml.ui
* org.eclipse.wst.validation
* org.eclipse.wst.validation.ui


Any help would be appreciated! Smile
Re: How to add validation to XMLMultiPageEditorPart? [message #556105 is a reply to message #556099] Mon, 30 August 2010 19:28 Go to previous message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 131
Registered: February 2010
Location: Bangalore, India
Senior Member
Hi,
If you want to add the extra validation you wll have to implement the extension point "org.eclipse.wst.validation.validatorV2" and add your own validator class which can use the current functionality of xml Validator. Check out the xml.core plugin to see the current implementation of the extension point.


Sarika Sinha
JDT Programmer
Previous Topic:Auto updating links & linked snippets
Next Topic:Setting up JDST Dev Environment
Goto Forum:
  


Current Time: Tue Apr 16 05:08:39 GMT 2024

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

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

Back to the top