Skip to main content

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

Title: Message

Hi,

 

This sounds very similar to the situation I described in my post yesterday.  I’ve dug through the event system and found the proper event to post into the event queue, but I haven’t found a way to post this “fake” drag detect event into the queue without modifying the SWT source and forking it into my own custom build which is definitely not an option for the voice tools project.  I’m not sure if we have described the desired behavior very

well, so if you have any questions please do not hesitate to ask.

 

Trip Gilman

Eclipse Voice Tools Project Lead

OpenMethods

4741 Central Street  |  Suite 285  |  Kansas City, MO  |  64112-1533

o| +1.816.283.VXML (8965) x102  c| +1.816.729.0672  f| +1.816.817.0643

trip@xxxxxxxxxxxxxxx  |  www.openmethods.com

 

 

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.


From: platform-swt-dev-bounces@xxxxxxxxxxx [mailto:platform-swt-dev-bounces@xxxxxxxxxxx] On Behalf Of Kumar, Saurav
Sent: Thursday, April 05, 2007 10:20 AM
To: platform-swt-dev@xxxxxxxxxxx
Subject: [platform-swt-dev] RE: Making a composite to listen to both Droplistener and Mouse listener for drop support and movementrepectively.

 

 

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