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 12:57 Go to next message
kon f is currently offline kon f
Messages: 112
Registered: March 2012
Senior Member
Hey,

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.

Kon
Re: Index for list properties in sdef files [message #1062455 is a reply to message #1062380] Fri, 07 June 2013 20:20 Go to previous message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 941
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.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=410239

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: Thu Oct 23 03:43:16 GMT 2014

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

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