|Re: How to modify contents of the Outline view for a CSS file? [message #519754 is a reply to message #517561]
||Tue, 09 March 2010 20:46
| Nitin Dahyabhai
Registered: July 2009
> Is it possible to modify the contents of a CSS file shown in the Outline
> view? For instance,the outline view only displays the names of CSS
> proprties.Suppose I also want to display the value for those CSS
> properties in a name:value format.
> Currently, internal CSS node adapters from WST are used to retrieve the
> content and labels for the nodes. Is there a way for me to plug in my
> adapter and perform custom logic?
No, but a high quality patch implementing the behavior you want
would be well received. The behavior of the outline can be
augmented through the use of custom editors and content types, but
for an existing editor and content type, you're restricted to
whatever flexibility is provided right there. And right now, that's
> Also since the CSS model(ICSSModel,ICSSNode,ICSSValue ...) is marked as
> internal,is it safe to use these entities?
Generally, no, not outside of the CSS plug-ins themselves, and
definitely not outside of the Source Editing project.
Eclipse WTP Source Editing
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.01692 seconds