Is there a way to change the icon that is displayed when something is dragged. I have a multi column custom tree viewer extended from TreeViewer. When I drag a row from the tree, I see multiple colums being dragged. Can I change that to to text of the first column only?
"Lidder" <ulidder@gmail.com> wrote in message
news:hu13c7$o4j$1@build.eclipse.org...
> Hello,
>
> I implemented drag and drop support in my plugin using the following
article.
> http://www.eclipse.org/articles/Article-Workbench-DND/drag_d rop.html
>
> Is there a way to change the icon that is displayed when something is
dragged. I have a multi column custom tree viewer extended from TreeViewer.
When I drag a row from the tree, I see multiple colums being dragged. Can I
change that to to text of the first column only?
>
> Thanks.
Could you please post the solution to this problem?
I am pretty new in JFace and I can not find a way to get the GC to capture the bounds of the item's column.
I am only able to capture the full table.