Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Custom Outline View for HTML files
Custom Outline View for HTML files [message #227789] Thu, 12 February 2009 17:01 Go to previous message
Dominik Raymann is currently offline Dominik Raymann
Messages: 37
Registered: July 2009
Member
Hi all,

I try to provide a custom outline view for HTML files. In my plugin.xml
I have

<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<sourceViewerConfiguration
class="ch.raymi.plugin.coder.StructuredTextViewerConfiguration "
target="org.eclipse.wst.html.core.htmlsource"/>

<contentOutlineConfiguration
class="ch.raymi.plugin.coder.outline.OutlineConfiguration"
target="org.eclipse.wst.html.core.htmlsource"/>
</extension>

My StructuredTextViewerConfiguration extends
StructuredTextViewerConfigurationHTML. This seems to work (I am able to
provide my own content assist processors).

My OutlineConfiguration extends
org.eclipse.wst.html.ui.views.contentoutline.HTMLContentOutl ineConfiguration.
However none of the overridden methods is called (not even the
constructor), when I open a HTML file. The Outline View is there, but it
doesn't seem to use my class.

What's wrong?
Thanks for your help.

Dominik
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:An internal error occurred during: "J2EEComponentMappingUpdateJob"
Next Topic:Debug RCP on WTP
Goto Forum:
  


Current Time: Wed May 22 10:12:39 EDT 2013

Powered by FUDForum. Page generated in 0.01758 seconds