Skip to main content



      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 15:03 Go to next message
Eclipse UserFriend
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 15:28 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Auto updating links & linked snippets
Next Topic:Setting up JDST Dev Environment
Goto Forum:
  


Current Time: Tue Jul 22 18:58:38 EDT 2025

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

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

Back to the top