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?
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.)