Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » [Neon] AbstractIconColumn
[Neon] AbstractIconColumn [message #1724506] Wed, 24 February 2016 09:35 Go to next message
Silvio Kohler is currently offline Silvio KohlerFriend
Messages: 31
Registered: October 2015
Member
The AbstractIconColumn in Scout Neon is...

/**
* A column that renders its content as a font icon or image
*/

That's exactly what we need. But it does either not work [1] or I couldn't find how it works (what must be set as value? The name of an Icon? Where to put the Icon?)

If it is not yet implemented: Does anyone know how to make a column that shows one out of two Icons based on a boolean value, or no Icon (empty cell) if the value is null?

[1]
The class body is empty, so I guess: Not yet implemented.
public abstract class AbstractIconColumn extends AbstractColumn<String> implements IIconColumn {

}
Re: [Neon] AbstractIconColumn [message #1724531 is a reply to message #1724506] Wed, 24 February 2016 12:32 Go to previous message
Arthur van Dorp is currently offline Arthur van DorpFriend
Messages: 48
Registered: October 2015
Member
Hi Silvio,

AbstractIconColumn should work. See IconColumn.js where it says cell.iconId = cell.value || cell.iconId; (current 5.2.x branch). What version of Neon are you using?

https://www.eclipse.org/forums/index.php/m/1722599/ has more info on using icons and icon fonts.

Kind regards,
Arthur
Previous Topic:where should I do the password encryption
Next Topic:Problem with RAP and a Derby DB in ClientMode
Goto Forum:
  


Current Time: Fri Apr 26 00:43:41 GMT 2024

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

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

Back to the top