Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] RE: Making a composite to listen to both Drop listener and Mouse listener for drop support and movement repectively.

Title: Message

 

Child1

 

Child2

  

 

Parent composite

 

 

 

 

 

 

 

 

 

 

 

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.

 

Dear All,

 

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.

any snippet or sample.

 

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

 

DISCLAIMER:
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.


Back to the top