Drag-and-drop on Motif [message #170783] |
Mon, 07 March 2005 14:16 |
Eclipse User |
|
|
|
Originally posted by: sinleeh.nowhere.com
Dear All,
I have drag and drop working in Win32 and MacOSX but not in Motif (both
linux/solaris).
The visual editor works correctly in Win32/MacOSX/Motif when one drag a
model to its new place. However, drag-and-drop from palette view to the
visual editor is only working on Win32/MacOSX. I understand that in Motif
it is "click-and-drop" (i.e., click on the icon on palette view and a
second click will 'drop' the model on to the visual editor) but I cannot
get this behaviour working.
On clicking the icon on my palette view, I do not even observe the cursor
change to the "add" cursor. Can someone point me to resources which I can
then workout what I had missed.
Many thanks in advance,
sinlee
|
|
|
Re: Drag-and-drop on Motif [message #170806 is a reply to message #170783] |
Mon, 07 March 2005 15:55 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Motif uses the middle mouse button for DND.
"Sinlee Huang" <sinleeh@nowhere.com> wrote in message
news:d0hnn7$rga$1@www.eclipse.org...
> Dear All,
>
> I have drag and drop working in Win32 and MacOSX but not in Motif (both
> linux/solaris).
>
> The visual editor works correctly in Win32/MacOSX/Motif when one drag a
> model to its new place. However, drag-and-drop from palette view to the
> visual editor is only working on Win32/MacOSX. I understand that in Motif
> it is "click-and-drop" (i.e., click on the icon on palette view and a
> second click will 'drop' the model on to the visual editor) but I cannot
> get this behaviour working.
> On clicking the icon on my palette view, I do not even observe the cursor
> change to the "add" cursor. Can someone point me to resources which I can
> then workout what I had missed.
>
> Many thanks in advance,
> sinlee
>
|
|
|
Re: Drag-and-drop on Motif [message #170819 is a reply to message #170806] |
Mon, 07 March 2005 17:13 |
Eclipse User |
|
|
|
Originally posted by: sinleeh.nowhere.com
Dear Randy,
Oops. You are right. I forgotten about the middle button (and the click
both left-and-right buttons to simulate middle button).
I tried it out but it still refuse to allow me to drop anything from
palette to visual editor. I have no such problem in Win32/MacOSX.
Indeed, I have no problem with the logic example on any OS.
However, my own palette, which I extends from
TemplateTransferDropTargetListener, never has its getFactory(Object
template) method called when I use Motif. Can you suggest ways to debug
this problem?
Many thanks in advance,
Sinlee
Randy Hudson wrote:
> Motif uses the middle mouse button for DND.
> "Sinlee Huang" <sinleeh@nowhere.com> wrote in message
> news:d0hnn7$rga$1@www.eclipse.org...
>> Dear All,
>>
>> I have drag and drop working in Win32 and MacOSX but not in Motif (both
>> linux/solaris).
>>
>> The visual editor works correctly in Win32/MacOSX/Motif when one drag a
>> model to its new place. However, drag-and-drop from palette view to the
>> visual editor is only working on Win32/MacOSX. I understand that in Motif
>> it is "click-and-drop" (i.e., click on the icon on palette view and a
>> second click will 'drop' the model on to the visual editor) but I cannot
>> get this behaviour working.
>> On clicking the icon on my palette view, I do not even observe the cursor
>> change to the "add" cursor. Can someone point me to resources which I can
>> then workout what I had missed.
>>
>> Many thanks in advance,
>> sinlee
>>
|
|
|
Re: Drag-and-drop on Motif [message #171011 is a reply to message #170819] |
Tue, 08 March 2005 14:53 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Do you have a drop target on the graphical viewer? You need both a source
and target.
"sinlee Huang" <sinleeh@nowhere.com> wrote in message
news:d0i23u$n11$1@www.eclipse.org...
> Dear Randy,
>
> Oops. You are right. I forgotten about the middle button (and the click
> both left-and-right buttons to simulate middle button).
>
> I tried it out but it still refuse to allow me to drop anything from
> palette to visual editor. I have no such problem in Win32/MacOSX.
> Indeed, I have no problem with the logic example on any OS.
>
> However, my own palette, which I extends from
> TemplateTransferDropTargetListener, never has its getFactory(Object
> template) method called when I use Motif. Can you suggest ways to debug
> this problem?
>
> Many thanks in advance,
> Sinlee
>
>
> Randy Hudson wrote:
>
|
|
|
Powered by
FUDForum. Page generated in 0.03249 seconds