Drop on separate dockable

Hi Beni,

I have two questions about drop operation.

I noticed that it is not possible to drop a stack of dockables onto a separate dockable.
You can perform the following drops:
dockable -> dockable
dockable -> stack
stack -> stack
but not:
stack -> dockable.
Is it meant to be like this or is there a technical reason it is not possible?

I also noticed that when you drop a dockable on another dockable
you cannot drop it on the title and choose whether it should be first or second (eclipse theme).

kind regards,
Maciej Modelski

  1. stack -> dockable: technical reasons, it’s just not implemented yet. It is on the todo list, but with low priority.

  2. Because a single tab is not a real tab (it just looks and behaves like a real one). It’s not that easy to implement this feature (easier than in earlier versions). I’ll keep it in mind, if I find the time to implement it…

Hi Beni,

I was recently looking into the 2nd point myself to include in the application I’m working on (which isn’t using the most up to date version of the framework) and was wondering whether any more was ever done this feature?

Thanks

By now (version 1.1.1p7) both features are implemented.

Thanks for the reply Beni.

Do you know if it would be difficult to incorporate this second behaviour into an older version? I believe we are using 1.0.8.a here and were looking at adding it.

1.0.8 is quite old, there are many changes inside the framework, it would require more than just copy&paste. And because a feature like this depends on other features… which are not present in 1.0.8 yet… well you can imagine how such a task grows exponentially.

Using a newer version of the library is probably the easier solution. Most code should still work (I try to keep the framework backwards compatible, but there are some exceptions), and you would have the bonus of some additional bugfixes.