Project: Eclipse_Platform_UI
Bug 87211 [PresentationAPI] standalone + movable stacks should remain standalone when dragged
Reported: 2005-03-05 13:36:02 | Status: verified fixed

The dragOver() method for a custom presentation is not called when an entire stack (i.e. ViewStack) is being dragged. Thus, you cannot prevent a ViewStack from being dropped onto another ViewStack. The offending code seems to be in PartStack.getDropTarget(). I'm trying to code my presentation such that views can be dragged around and repositioned, but views cannot be combined with other views.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSashContainer.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dnd/Bug87211Test.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dnd/DragTestSuite.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dnd/StandaloneViewPerspective.java