Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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: 152
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: 1077
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: Mon Jul 22 01:55:30 GMT 2024

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

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

Back to the top