Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Limit child count of a PartSashContainer
Limit child count of a PartSashContainer [message #769175] Wed, 21 December 2011 14:20 Go to next message
Thomas Kölling is currently offline Thomas KöllingFriend
Messages: 45
Registered: December 2011
Location: Munich
Hey Guys,

is there a possibility to limit the count of the childs from a PartSashContainer?
I've enabled the Drag&Drop Addon from swt addons, and in some cases the user should limited in moving his parts in any area. is there an option to say: "this PartSashContainer must not be a target for dragging Parts?

greetings Thomas
Re: Limit child count of a PartSashContainer [message #770186 is a reply to message #769175] Fri, 23 December 2011 15:16 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
You'll need to modify the DND manager to add this behaviour. If you do this, it would be great if you could try to separate out these types of policy decisions from the mechanics. One approach might be to allow the manager to be injected with a policy object of some type...

(Remember since this is EPL'd code, you should make any changes available.)

Previous Topic:Long running jobs in e4
Next Topic:e4 update site for eclipse 4.2 releases/built/integrations
Goto Forum:

Current Time: Mon Jun 18 13:08:26 GMT 2018

Powered by FUDForum. Page generated in 0.01823 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top