• Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT - anybody had luck using TreeTableViewer's reveal() method?  RSS feed

 
Ivan Jouikov
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically I got a TreeTableViewer and I'm trying to reveal an item inside the table. I've implemented public boolean equals( Object o ) for my Item, but the reveal method doesn't seem to work. In fact, it doesn't even seem to be calling to equals() method at all!
 
Ivan Jouikov
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I forgot to implement getParent() for ContentProvider for one of my objects.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!