• Post Reply Bookmark Topic Watch Topic
  • New Topic

JFace/SWT Tables help ?!  RSS feed

 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi :

Does any body know how to find the location of a TableItem, using a point ?

Im trying to drag and drop items into a table - but not just add them to the end - that is, drop items directly after the item on the table which the mouse is hovering above at time of the release.

Im having trouble with the itemAt(Point p) method in the Table API. maybe its because Im using a table viewer. ButI dont see anything in the table viewer that provides facilities for finding the cloases table item to the mouse location....

any ideas ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!