Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Index for list properties in sdef files
Index for list properties in sdef files [message #1062380] Fri, 07 June 2013 08:57 Go to next message
kon f is currently offline kon f
Messages: 112
Registered: March 2012
Senior Member

I was wondering if is possible to create some counter just for the visualization in the UI. I would like to show a list property in the tree with some index:

- ListProperty  
  \ - Element 1
  \ - Element 2
  \ - Element 3

The index won't be stored in the file, it just brings a better overview.

Thank you.

Re: Index for list properties in sdef files [message #1062455 is a reply to message #1062380] Fri, 07 June 2013 16:20 Go to previous message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 940
Registered: July 2009
Senior Member
Content outline node labels support EL. There isn't a function to lookup an an index, so I added one for 0.7 release.

In 0.7, you can now define that label as "Element ${ This.Index }".
Previous Topic:Substring with expression language
Next Topic:Action Handler to move value binding to top/bottom of list
Goto Forum:

Current Time: Sat Aug 30 06:21:58 EDT 2014

Powered by FUDForum. Page generated in 0.05227 seconds