We want move the children inside parent
freely as well as allowing child to drop something inside child.
Problem is only one listener is working at
time.
How to deal with such situation
From: Lakhanpal, Srikant
Sent: Thursday, April 05, 2007
8:38 PM
To: 'platform-swt-dev@xxxxxxxxxxx'
Subject: Making a composite to
listen to both Drop listener and Mouse listener for drop support and movement
repectively.
I have problem regarding the DND support and mouse listener.
We have a situation that we need to make a composite (which
is the child of another parent composite) a drop target and also
allow it movement (using mouse listener mechanism ) within
the parent composite.
I have to make that child composite (which behave like Drop
target) setEnabled(true)... to listen to Drop event.
But at the same time to make it moveable we have to
setEnabled(false) for the respective child.
So, is there any suggession available for get out of the
problem.
plzzzz reply soon it's very urgent!!!!!!!!!!!!
Thanks
n Regards,
Srikant
Lakhanpal
Software Development Engineer
Barco | Control Rooms
A-5, Sector-5
Noida, India
Tel +91
120 4020000
Dir +91
120 4020266
Fax
+91 120 4020100
mailto: srikant.lakhanpal@xxxxxxxxx
http://www.barcocontrolrooms.com