Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Combo content SWT/JFace  RSS feed

 
Peter Harris
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

currently i'm trying to get stuff into a combo, ofc comboviewer would be a good option.
let's say i want to get images in this combo, i should use the setInput() function and because
it's no 'complicated input' no special contentprovider is required. but the effect is displaying the
image id, not the image itself.

is this approach totally wrong? should i try sth else?

thanks in advance.
 
Peter Harris
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No one got any advice?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SWT gets few answers here.

In Swing the solution would be to use
a renderer, perhaps it's the same for SWT.

The SWT forum at the Eclipse site might
be a better place to post your problem.
 
Peter Harris
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well ok, thanks anyway :-)
 
Peter Harris
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the record: I'm kinda satisfied with what i got for now, it's a TableCombo(-viewer) from the Nebula project,
so if you have similar requirements go check it out!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!