Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 YANGFriend
Messages: 688
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 DahyabhaiFriend
Messages: 4435
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 Web Tools Platform
Previous Topic:Customize drag'n'drop in SSE
Next Topic:JSP Validator Hates Spring's form:errors Tag
Goto Forum:
  


Current Time: Fri Apr 26 06:39:37 GMT 2024

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

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

Back to the top