Detaching a Part from PartStack now available? [message #1799328] |
Tue, 04 December 2018 15:06  |
Eclipse User |
|
|
|
Hi,
I'm just trying to figuring out how much is the buildin support for detaching a Part from it's enclosing PartStack. The detached part should be transfered into a new window and if the window is closed, it should be rearranged into the original tab pane of the part stack.
I already did the following:
- added the DndAddon
- set the system property -Ddetachdrag.enabled=true
- provided a dummy DndService which just returns true in the methods
- detachAllowed
- handleDetach
The tab can now be moved, but nothing happens. So, I got the following questions:
1. Is the DndService responsible for creating the new window and move the Node to the new window?
2. Who is removing the tab from the PartStack if the "detach" is handeled?
3. How is the reparenting be handled?
4. The most important question: Is there a implementation for this service. Found nothing in the sources.
If I would get the right hints, I would try to provide an implementation later.
Thanks, for the support
Thomas
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.34387 seconds