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ölling
Messages: 45
Registered: December 2011
Location: Munich
Member
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 Alwis
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.)

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


Current Time: Thu Oct 30 18:20:21 GMT 2014

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

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