Skip to main content



      Home
Home » Eclipse Projects » GEF » feedback in tree viewers while dragging elements
feedback in tree viewers while dragging elements [message #96634] Wed, 01 October 2003 12:43 Go to next message
Eclipse UserFriend
Hi,

I have a tree viewer and I'm moving an element. I'd like to change the
cursor appearence according to the part I'm hovering over and get the NO
Cursor.

Another question is how do I completely disable moving an element in the
tree?

thanks

yoav
Re: feedback in tree viewers while dragging elements [message #96665 is a reply to message #96634] Wed, 01 October 2003 20:06 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Yoav Rubin" <yoav@il.ibm.com> wrote in message
news:blf080$plv$1@eclipse.org...
> Hi,
>
> I have a tree viewer and I'm moving an element. I'd like to change the
> cursor appearence according to the part I'm hovering over and get the NO
> Cursor.

There may be a bug open on this already, but go ahead and open another. One
way to do this is to query the target editpart for its command, and check
canExecute(). The other way to do this is to have the target become NULL,
in which case NOT should be shown.

> Another question is how do I completely disable moving an element in the
> tree?

We are using an internal transfer class which does not currently have an
enablement check. Please open a bugzilla. We can fix this for 3.0.
>
> thanks
>
> yoav
>
>
Previous Topic:SelectionHandle
Next Topic:Dragging objects from the Outline view to a GEF editor?
Goto Forum:
  


Current Time: Sat May 10 19:24:09 EDT 2025

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

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

Back to the top