[Composite Table] Mac Drag and Drop [message #589075] |
Thu, 20 March 2008 16:10 |
Michael Yara Messages: 27 Registered: July 2009 |
Junior Member |
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03237 seconds