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 09: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 10: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: Sat Jul 26 01:16:15 EDT 2014

Powered by FUDForum. Page generated in 0.01807 seconds