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 fFriend
Messages: 143
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 20:20 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1040
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: Thu Nov 26 00:33:00 GMT 2015

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

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