Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Using DND in RCP Eclipse 4 application model
Using DND in RCP Eclipse 4 application model [message #853663] Mon, 23 April 2012 04:13 Go to previous message
Steve Jones is currently offline Steve Jones
Messages: 92
Registered: July 2009
Member
Hi,

I've been following the Lars Vogel Eclipse 4 RCP turorial using 4.2M6:

http://www.vogella.com/articles/Eclipse4RCP/article.html

I now have a simple three part RCP skeleton. I decided the extend the application model by adding drag and drop to the parts using the DnDAddon and CleanupAddon addons. Sure enough, just adding these to the model gives the new functionality.

My problem is having run up the application and dragged the parts to give a new layout, on restarting the application I often get IllegalArgumentException with the message:

"part ... is not a child of this container"

Even with the exception, sometimes the new layout is restored OK. Other times I loose one or more of the parts.

Is this a bug or do I need to add some additional functionality to support DND?

Thanks for any help.

Steve.





 
Read Message
Read Message
Read Message
Previous Topic:disabling handledmenuitem
Next Topic:Javascript Sample
Goto Forum:
  


Current Time: Wed May 22 19:53:22 EDT 2013

Powered by FUDForum. Page generated in 0.01677 seconds