eclipse rap - How to set own image for the cursor for drag operation -


it possible set/change image cursor drag-operatio way:

listener listener = new listener() {   public void handleevent(event event) {     switch (event.type) {       case swt.mousedown:         movecomposite.setcursor(display.getcurrent().getsystemcursor(swt.cursor_wait));         ...       }   ...  movecomposite.addlistener(swt.mousedown, listener); 

but in case standard cursors can set.

is possible set own image cursor drag operation?
either in css named control, programmatically named control or alternative globally changing standard cursors.

as workaround missing api (see rĂ¼diger's answer), try set custom variant while dragging:

movecomposite.setdata(rwt.custom_variant, "dragging"); 

and configure custom cursor variant in css this:

.dragging {   cursor: url(resources/dragging.gif) } 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -