Mac OS X drag and drop [message #445481] |
Sat, 06 November 2004 15:50 |
Eclipse User |
|
|
|
Originally posted by: michaelh.mjhenderson.com
Hi,
I have a plugin which implements drag and drop using LocalTransfer.
It works fine on Win32 and Linux but not on`Mac OS X.
I'm using Eclipse 3.01 on all platforms. On Mac OS X with debug statements
I can see that dragStart() is called on my drag dource control. But no drop
is detected or called on my drop target.
I'm using the org.eclipse.core.runtime.adapters extension in my plugin to
add the drop target listener to an editor from another plugin and I can see
from my debugging output that my listern factory and my listener instance
are created. Yet no drop target methods are called.
Bugzilla shows Mac OS X drag and drop problems to have been fixed earlier
this year.
Does anyone have a similar problem, or a workaround?
Thanks,
Mike
|
|
|
|
Re: Mac OS X drag and drop [message #445649 is a reply to message #445564] |
Mon, 08 November 2004 15:35 |
Eclipse User |
|
|
|
Originally posted by: michaelh.mjhenderson.com
Thank you, that works. Why the platform difference. I followed an example i
found on the web with data set in the dragStart() ,using
LocalSelectionTransfer and it works fine on Win an Linux.
Mike
Veronika Irvine wrote:
> Do you provide any data in the dragSetData event notification on the
> DragSource? If not, you will not be able to perform a drag and drop on
> Mac OSX.
>
> "Michael Henderson" <michaelh@mjhenderson.com> wrote in message
> news:cmitlq$jvj$1@eclipse.org...
>> Hi,
>>
>> I have a plugin which implements drag and drop using LocalTransfer.
>> It works fine on Win32 and Linux but not on`Mac OS X.
>>
>> I'm using Eclipse 3.01 on all platforms. On Mac OS X with debug
>> statements I can see that dragStart() is called on my drag dource
>> control. But no drop
>> is detected or called on my drop target.
>>
>> I'm using the org.eclipse.core.runtime.adapters extension in my plugin to
>> add the drop target listener to an editor from another plugin and I can
>> see
>> from my debugging output that my listern factory and my listener instance
>> are created. Yet no drop target methods are called.
>>
>> Bugzilla shows Mac OS X drag and drop problems to have been fixed earlier
>> this year.
>>
>> Does anyone have a similar problem, or a workaround?
>>
>> Thanks,
>> Mike
|
|
|
|
Powered by
FUDForum. Page generated in 0.03961 seconds