Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Customize the MarkupTagInfoProvider for XML editor
Customize the MarkupTagInfoProvider for XML editor [message #222569] Sun, 05 October 2008 18:24 Go to next message
Yves YANG is currently offline Yves YANG
Messages: 687
Registered: July 2009
Senior Member
Hi,

I have extended the XML editor. I'd like to prvide more information about
the Markup information. I saw is is realised by MarkupTagInfoProvider via
the extension point:
<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<documentationTextHover
class=" org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProce ssor "
target="org.eclipse.wst.xml.XML_DEFAULT">
</documentationTextHover>
</extension>

If I setup another EP,
<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<documentationTextHover
class="test.MyXMLTagInfoHoverProcessor"
target="org.eclipse.wst.xml.XML_DEFAULT">
</documentationTextHover>
</extension>

my definition may not be taken since WTP takes the first in the liste.

Please help!

yves yang
Re: Customize the MarkupTagInfoProvider for XML editor [message #222576 is a reply to message #222569] Mon, 06 October 2008 10:54 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
Yves Yang wrote:
> I have extended the XML editor. I'd like to prvide more information
> about the Markup information. I saw is is realised by
> MarkupTagInfoProvider via the extension point:
> <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
> <documentationTextHover
>
> class=" org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProce ssor "
> target="org.eclipse.wst.xml.XML_DEFAULT">
> </documentationTextHover>
> </extension>
>
> If I setup another EP,
> <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
> <documentationTextHover
> class="test.MyXMLTagInfoHoverProcessor"
> target="org.eclipse.wst.xml.XML_DEFAULT">
> </documentationTextHover>
> </extension>
>
> my definition may not be taken since WTP takes the first in the liste.

That functionality is generally not extensible, as it's already
looking up the documentation in the element/attributes grammar file.
What are you doing that warrants modifying that behavior?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Customize drag'n'drop in SSE
Next Topic:JSP Validator Hates Spring's form:errors Tag
Goto Forum:
  


Current Time: Sat Oct 25 14:46:09 GMT 2014

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

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