Drag-and -Drop & Icons [message #55499] |
Fri, 17 January 2003 06:06  |
Eclipse User |
|
|
|
Originally posted by: jan.odvarko.schemantix.com
Hi All,
How can I change the icons, which are displayed
during a drag-and-drop operation?
thanks for all tips
Honza
|
|
|
|
|
|
|
Re: Drag-and -Drop & Icons [message #57706 is a reply to message #57565] |
Thu, 23 January 2003 13:01   |
Eclipse User |
|
|
|
I'm not sure. That would be a good question for the SWT folks.
Jan Odvárko wrote:
> Yeah, I see...
>
> Another question, is there any chance to supply my own cursors?
>
> Thanks again
>
> Honza
>
>
> "Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
> news:b0he9p$79n$4@rogue.oti.com...
>
>>The cursor is based on the current DropTargetEvent's detail field, which
>
> can be DND.DROP_NONE,
>
>>DND.DROP_MOVE, DND.DROP_COPY, or DND.DROP_LINK. Changing the detail
>
> should change the cursor to the
>
>>appropriate one.
>>
>>Eric
>>
>>
>>Jan Odvárko wrote:
>>
>>>oops
>>>
>>>I meant the cursors, which are used during that operation...
>>>
>>>Honza
>>>
>>>
>>>"Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
>>>news:b09d2t$aa2$1@rogue.oti.com...
>>>
>>>
>>>>What do you mean by "icons"?
>>>>
>>>>Eric
>>>>
>>>>Jan Odvárko wrote:
>>>>
>>>>
>>>>>Hi All,
>>>>>How can I change the icons, which are displayed
>>>>>during a drag-and-drop operation?
>>>>>
>>>>>thanks for all tips
>>>>>
>>>>>Honza
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>
>
|
|
|
|
Re: Drag-and -Drop & Icons [message #57895 is a reply to message #57871] |
Fri, 24 January 2003 14:16   |
Eclipse User |
|
|
|
I think the question was whether a custom cursor can be used during drag and drop. I'm not sure of
the answer to this. You would be better off to ask this question on the eclipse.tools newsgroup.
The SWT folks should be able to answer this. If I had to venture a guess, I would say this is not
currently possible. But, again, I don't know for sure.
Eric
Pratik Shah wrote:
> Yes, you can do that. To create your own cursors, look at
> org.eclipse.graphics.swt.Cursor. In particular, the following constructor:
>
> public Cursor(Device device, ImageData source, ImageData mask, int hotspotX,
> int hotspotY)
>
> Pratik Shah
>
> "Jan Odvárko" <jan.odvarko@schemantix.com> wrote in message
> news:b0oupi$8u6$1@rogue.oti.com...
>
>>Yeah, I see...
>>
>>Another question, is there any chance to supply my own cursors?
>>
>>Thanks again
>>
>>Honza
>>
>>
>>"Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
>>news:b0he9p$79n$4@rogue.oti.com...
>>
>>>The cursor is based on the current DropTargetEvent's detail field, which
>>
>>can be DND.DROP_NONE,
>>
>>>DND.DROP_MOVE, DND.DROP_COPY, or DND.DROP_LINK. Changing the detail
>>
>>should change the cursor to the
>>
>>>appropriate one.
>>>
>>>Eric
>>>
>>>
>>>Jan Odvárko wrote:
>>>
>>>>oops
>>>>
>>>>I meant the cursors, which are used during that operation...
>>>>
>>>>Honza
>>>>
>>>>
>>>>"Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
>>>>news:b09d2t$aa2$1@rogue.oti.com...
>>>>
>>>>
>>>>>What do you mean by "icons"?
>>>>>
>>>>>Eric
>>>>>
>>>>>Jan Odvárko wrote:
>>>>>
>>>>>
>>>>>>Hi All,
>>>>>>How can I change the icons, which are displayed
>>>>>>during a drag-and-drop operation?
>>>>>>
>>>>>>thanks for all tips
>>>>>>
>>>>>>Honza
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>
>
>
|
|
|
Re: Drag-and -Drop & Icons [message #58947 is a reply to message #55499] |
Tue, 28 January 2003 15:48  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You cannot change the Cursor during DND. This is probably because of Motif
or some platform that doesn't support changing the cursor. Windows CE
maybe?
"Jan Odv
|
|
|
Powered by
FUDForum. Page generated in 0.04456 seconds