Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » using org.eclipse.wst.xml.core.errorCustomizer
using org.eclipse.wst.xml.core.errorCustomizer [message #196276] Thu, 12 July 2007 10:47 Go to next message
Eclipse User
Originally posted by: nsat28.yahoo.com

Hi,

I am planning to customize the error messages for xml editor.
Can anybody point me to an example or a usage guide for using the
extension point "org.eclipse.wst.xml.core.errorCustomizer"
I have a custom MultiPageEditorPart for editing the xml files,
and have defined the extension in the following way,

<extension
point="org.eclipse.wst.xml.core.errorCustomizer">
<errorCustomizer
class="xml.ui.errorCustomizer2"
namespace="http://MY"/>
</extension>


But if I put a breakpoint, its not stopping in my customizeMessage method
for the xml

<?xml version="1.0" encoding="UTF-8"?>
<z:x xmlns:z="http://MY">
<a>
</z:x>


Thanks,
Anand
Re: using org.eclipse.wst.xml.core.errorCustomizer [message #198421 is a reply to message #196276] Wed, 15 August 2007 21:41 Go to previous message
Lawrence Mandel is currently offline Lawrence Mandel
Messages: 486
Registered: July 2009
Senior Member
Hi Anand,

Take a look at the extension declaration

http://dev.eclipse.org/viewcvs/index.cgi/jst/components/j2ee /plugins/org.eclipse.jst.j2ee.core/plugin.xml?root=WebTools_ Project&view=markup

and the class

http://dev.eclipse.org/viewcvs/index.cgi/jst/components/j2ee /plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclip se/jst/j2ee/core/internal/validation/xmlerrorcustomization/J 2EEErrorMessageCustomizer.java?revision=1.2&root=WebTool s_Project&view=markup

Lawrence
Previous Topic:My messages is just ignored
Next Topic:get webapp root folder
Goto Forum:
  


Current Time: Wed Oct 01 20:38:10 GMT 2014

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

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