Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [Composite Table] Mac Drag and Drop
[Composite Table] Mac Drag and Drop [message #50845] Thu, 20 March 2008 16:10 Go to next message
Eclipse UserFriend
Originally posted by: michaely.i9technologies.com

Hello,

I have an application that utilizes Composite Tables as well as drag and
drop functionality into those tables. Everything works fine in Windows
and Linux but I cannot drag and drop into the Composite Tables in Mac.
I have found the issue to be related to how OSX handles the
DropTargetListener.

In general if I have a parent composite with a child composite within it
and I set the dropTarget on the parent composite, in Windows and
Linux i can drop something on the child composite and the DropTarget
will activate. This is not the case on OSX. You have to explicitly place
the DropTargetListener on the child composite.

Now my issues is that i cannot find which element of the Composite table
to put the listener on so it will work in OSX. I have tried my Class
that inherits from Composite Table, the row class, the header class, and
i have called getChildren() on my main inheriting class and placed the
listener on each child control that was returned. The children that were
returned happened to be a Row, Header, and an InnerCompositeTable.
Nothing worked.

Does anyone have any insight into this issue. Any help would be greatly
appreciated.

Thank You,
Mike
Re: [Composite Table] Mac Drag and Drop [message #50901 is a reply to message #50845] Sat, 22 March 2008 19:11 Go to previous messageGo to next message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
Hi,

I don't have a Mac to debug this; any help from the community would be
really appreciated.

You could also try to produce a snippet independent of CompositeTable
that reproduces the behavior and file a bug against Platform/SWT.

Best regards,

Dave Orme

On Thu, 2008-03-20 at 10:10 -0600, Michael Yara wrote:
> Hello,
>
> I have an application that utilizes Composite Tables as well as drag and
> drop functionality into those tables. Everything works fine in Windows
> and Linux but I cannot drag and drop into the Composite Tables in Mac.
> I have found the issue to be related to how OSX handles the
> DropTargetListener.
>
> In general if I have a parent composite with a child composite within it
> and I set the dropTarget on the parent composite, in Windows and
> Linux i can drop something on the child composite and the DropTarget
> will activate. This is not the case on OSX. You have to explicitly place
> the DropTargetListener on the child composite.
>
> Now my issues is that i cannot find which element of the Composite table
> to put the listener on so it will work in OSX. I have tried my Class
> that inherits from Composite Table, the row class, the header class, and
> i have called getChildren() on my main inheriting class and placed the
> listener on each child control that was returned. The children that were
> returned happened to be a Row, Header, and an InnerCompositeTable.
> Nothing worked.
>
> Does anyone have any insight into this issue. Any help would be greatly
> appreciated.
>
> Thank You,
> Mike
Re: [Composite Table] Mac Drag and Drop [message #50958 is a reply to message #50901] Mon, 24 March 2008 16:48 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Please provide a snippet and I'll help Dave to track down the problem.

Tom

Dave Orme schrieb:
> Hi,
>
> I don't have a Mac to debug this; any help from the community would be
> really appreciated.
>
> You could also try to produce a snippet independent of CompositeTable
> that reproduces the behavior and file a bug against Platform/SWT.
>
> Best regards,
>
> Dave Orme
>
> On Thu, 2008-03-20 at 10:10 -0600, Michael Yara wrote:
>> Hello,
>>
>> I have an application that utilizes Composite Tables as well as drag and
>> drop functionality into those tables. Everything works fine in Windows
>> and Linux but I cannot drag and drop into the Composite Tables in Mac.
>> I have found the issue to be related to how OSX handles the
>> DropTargetListener.
>>
>> In general if I have a parent composite with a child composite within it
>> and I set the dropTarget on the parent composite, in Windows and
>> Linux i can drop something on the child composite and the DropTarget
>> will activate. This is not the case on OSX. You have to explicitly place
>> the DropTargetListener on the child composite.
>>
>> Now my issues is that i cannot find which element of the Composite table
>> to put the listener on so it will work in OSX. I have tried my Class
>> that inherits from Composite Table, the row class, the header class, and
>> i have called getChildren() on my main inheriting class and placed the
>> listener on each child control that was returned. The children that were
>> returned happened to be a Row, Header, and an InnerCompositeTable.
>> Nothing worked.
>>
>> Does anyone have any insight into this issue. Any help would be greatly
>> appreciated.
>>
>> Thank You,
>> Mike
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: [Composite Table] Mac Drag and Drop [message #589091 is a reply to message #50845] Sat, 22 March 2008 19:11 Go to previous message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
Hi,

I don't have a Mac to debug this; any help from the community would be
really appreciated.

You could also try to produce a snippet independent of CompositeTable
that reproduces the behavior and file a bug against Platform/SWT.

Best regards,

Dave Orme

On Thu, 2008-03-20 at 10:10 -0600, Michael Yara wrote:
> Hello,
>
> I have an application that utilizes Composite Tables as well as drag and
> drop functionality into those tables. Everything works fine in Windows
> and Linux but I cannot drag and drop into the Composite Tables in Mac.
> I have found the issue to be related to how OSX handles the
> DropTargetListener.
>
> In general if I have a parent composite with a child composite within it
> and I set the dropTarget on the parent composite, in Windows and
> Linux i can drop something on the child composite and the DropTarget
> will activate. This is not the case on OSX. You have to explicitly place
> the DropTargetListener on the child composite.
>
> Now my issues is that i cannot find which element of the Composite table
> to put the listener on so it will work in OSX. I have tried my Class
> that inherits from Composite Table, the row class, the header class, and
> i have called getChildren() on my main inheriting class and placed the
> listener on each child control that was returned. The children that were
> returned happened to be a Row, Header, and an InnerCompositeTable.
> Nothing worked.
>
> Does anyone have any insight into this issue. Any help would be greatly
> appreciated.
>
> Thank You,
> Mike
Re: [Composite Table] Mac Drag and Drop [message #589106 is a reply to message #50901] Mon, 24 March 2008 16:48 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Please provide a snippet and I'll help Dave to track down the problem.

Tom

Dave Orme schrieb:
> Hi,
>
> I don't have a Mac to debug this; any help from the community would be
> really appreciated.
>
> You could also try to produce a snippet independent of CompositeTable
> that reproduces the behavior and file a bug against Platform/SWT.
>
> Best regards,
>
> Dave Orme
>
> On Thu, 2008-03-20 at 10:10 -0600, Michael Yara wrote:
>> Hello,
>>
>> I have an application that utilizes Composite Tables as well as drag and
>> drop functionality into those tables. Everything works fine in Windows
>> and Linux but I cannot drag and drop into the Composite Tables in Mac.
>> I have found the issue to be related to how OSX handles the
>> DropTargetListener.
>>
>> In general if I have a parent composite with a child composite within it
>> and I set the dropTarget on the parent composite, in Windows and
>> Linux i can drop something on the child composite and the DropTarget
>> will activate. This is not the case on OSX. You have to explicitly place
>> the DropTargetListener on the child composite.
>>
>> Now my issues is that i cannot find which element of the Composite table
>> to put the listener on so it will work in OSX. I have tried my Class
>> that inherits from Composite Table, the row class, the header class, and
>> i have called getChildren() on my main inheriting class and placed the
>> listener on each child control that was returned. The children that were
>> returned happened to be a Row, Header, and an InnerCompositeTable.
>> Nothing worked.
>>
>> Does anyone have any insight into this issue. Any help would be greatly
>> appreciated.
>>
>> Thank You,
>> Mike
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:CVS
Next Topic:[CompositeTable] a question of size
Goto Forum:
  


Current Time: Thu Mar 28 16:16:45 GMT 2024

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

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

Back to the top