Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drag and Drop on Mac?
Drag and Drop on Mac? [message #436699] Fri, 21 May 2004 21:41 Go to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Hi,

I just read that DND is not yet supported on Mac. Nevertheless looking
into the sources of MAC SWT library in the package .dnd there seem to be
all needed classes. So, is it working or is it not working? And if not,
how does SWT tell the application its not working. Does it exit critically
with an exception? I am not able to test my application on Mac, that is
why I am asking.

Regards,
Ben
Re: Drag and Drop on Mac? [message #436700 is a reply to message #436699] Fri, 21 May 2004 21:45 Go to previous messageGo to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Forgot something...

While reading the SWT Component Development Resources I found out this:
"macos/carbon - This port is still "early access". Functionality such as
Printing [...] are still missing [...]".
Wasn't print support added to 3.0 M6 or some time ago? I am not sure how
up to date that page is?

> Hi,

> I just read that DND is not yet supported on Mac. Nevertheless looking
> into the sources of MAC SWT library in the package .dnd there seem to be
> all needed classes. So, is it working or is it not working? And if not,
> how does SWT tell the application its not working. Does it exit critically
> with an exception? I am not able to test my application on Mac, that is
> why I am asking.

> Regards,
> Ben
Re: Drag and Drop on Mac? [message #436830 is a reply to message #436699] Tue, 25 May 2004 15:37 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Drag and Drop works on the Mac within the same application. It is not
supported between applications because there are some limitations
interacting with Finder and until I can figure out how to properly work with
Finder, I do not want to risk loosing user's files so I will not enable
dragging between applications.


"Benjamin Pasero" <bpasero@rssowl.org> wrote in message
news:c8lt2l$nmn$1@eclipse.org...
> Hi,
>
> I just read that DND is not yet supported on Mac. Nevertheless looking
> into the sources of MAC SWT library in the package .dnd there seem to be
> all needed classes. So, is it working or is it not working? And if not,
> how does SWT tell the application its not working. Does it exit critically
> with an exception? I am not able to test my application on Mac, that is
> why I am asking.
>
> Regards,
> Ben
>
Re: Drag and Drop on Mac? [message #436847 is a reply to message #436830] Tue, 25 May 2004 20:21 Go to previous messageGo to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
That is just great to hear. I am using DND inside my application between
CTabFolder and Tree. I suggest Eclipse should update the SWT Dev.
Resources "Port Status" for Mac / Carbon, its irritating currently
( http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets)

Thanks,
ben

> Drag and Drop works on the Mac within the same application. It is not
> supported between applications because there are some limitations
> interacting with Finder and until I can figure out how to properly work with
> Finder, I do not want to risk loosing user's files so I will not enable
> dragging between applications.


> "Benjamin Pasero" <bpasero@rssowl.org> wrote in message
> news:c8lt2l$nmn$1@eclipse.org...
> > Hi,
> >
> > I just read that DND is not yet supported on Mac. Nevertheless looking
> > into the sources of MAC SWT library in the package .dnd there seem to be
> > all needed classes. So, is it working or is it not working? And if not,
> > how does SWT tell the application its not working. Does it exit critically
> > with an exception? I am not able to test my application on Mac, that is
> > why I am asking.
> >
> > Regards,
> > Ben
> >
Re: Drag and Drop on Mac? [message #436850 is a reply to message #436847] Tue, 25 May 2004 21:40 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Updated the port status for mac os x but I will need to review the status
for all the ports in the future.

"Benjamin Pasero" <bpasero@rssowl.org> wrote in message
news:c909sf$lvj$1@eclipse.org...
> That is just great to hear. I am using DND inside my application between
> CTabFolder and Tree. I suggest Eclipse should update the SWT Dev.
> Resources "Port Status" for Mac / Carbon, its irritating currently
>
( http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/d
ev.html#snippets)
>
> Thanks,
> ben
>
> > Drag and Drop works on the Mac within the same application. It is not
> > supported between applications because there are some limitations
> > interacting with Finder and until I can figure out how to properly work
with
> > Finder, I do not want to risk loosing user's files so I will not enable
> > dragging between applications.
>
>
> > "Benjamin Pasero" <bpasero@rssowl.org> wrote in message
> > news:c8lt2l$nmn$1@eclipse.org...
> > > Hi,
> > >
> > > I just read that DND is not yet supported on Mac. Nevertheless looking
> > > into the sources of MAC SWT library in the package .dnd there seem to
be
> > > all needed classes. So, is it working or is it not working? And if
not,
> > > how does SWT tell the application its not working. Does it exit
critically
> > > with an exception? I am not able to test my application on Mac, that
is
> > > why I am asking.
> > >
> > > Regards,
> > > Ben
> > >
>
>
Re: Drag and Drop on Mac? [message #436983 is a reply to message #436830] Thu, 27 May 2004 14:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ochalouhi.SPAMaelitis.com

My application, using SWT, uses Drag and Drop, and it works perfectly
on Mac, even from the finder (eg. desktop > application) ...

Olivier Chalouhi.

On 2004-05-25 17:37:54 +0200, "Veronika Irvine" <veronika_irvine@oti.com> said:

> Drag and Drop works on the Mac within the same application. It is not
> supported between applications because there are some limitations
> interacting with Finder and until I can figure out how to properly work with
> Finder, I do not want to risk loosing user's files so I will not enable
> dragging between applications.
>
>
> "Benjamin Pasero" <bpasero@rssowl.org> wrote in message
> news:c8lt2l$nmn$1@eclipse.org...
>> Hi,
>>
>> I just read that DND is not yet supported on Mac. Nevertheless looking
>> into the sources of MAC SWT library in the package .dnd there seem to be
>> all needed classes. So, is it working or is it not working? And if not,
>> how does SWT tell the application its not working. Does it exit critically
>> with an exception? I am not able to test my application on Mac, that is
>> why I am asking.
>>
>> Regards,
>> Ben
Re: Drag and Drop on Mac? [message #437073 is a reply to message #436983] Fri, 28 May 2004 13:37 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
The restriction on the Mac is on the DragSource. You can not drag from an
SWT application to another application. The SWT DropTarget however can
accept data from any source.

"Aelitis" <ochalouhi@SPAMaelitis.com> wrote in message
news:c94sde$kd9$1@eclipse.org...
> My application, using SWT, uses Drag and Drop, and it works perfectly
> on Mac, even from the finder (eg. desktop > application) ...
>
> Olivier Chalouhi.
>
> On 2004-05-25 17:37:54 +0200, "Veronika Irvine" <veronika_irvine@oti.com>
said:
>
> > Drag and Drop works on the Mac within the same application. It is not
> > supported between applications because there are some limitations
> > interacting with Finder and until I can figure out how to properly work
with
> > Finder, I do not want to risk loosing user's files so I will not enable
> > dragging between applications.
> >
> >
> > "Benjamin Pasero" <bpasero@rssowl.org> wrote in message
> > news:c8lt2l$nmn$1@eclipse.org...
> >> Hi,
> >>
> >> I just read that DND is not yet supported on Mac. Nevertheless looking
> >> into the sources of MAC SWT library in the package .dnd there seem to
be
> >> all needed classes. So, is it working or is it not working? And if not,
> >> how does SWT tell the application its not working. Does it exit
critically
> >> with an exception? I am not able to test my application on Mac, that is
> >> why I am asking.
> >>
> >> Regards,
> >> Ben
>
>
Previous Topic:Mouse Wheel
Next Topic:Table refresh
Goto Forum:
  


Current Time: Sat Sep 21 03:39:27 GMT 2024

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

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

Back to the top