PDA

View Full Version : Undock a tab into a BasicDialog


Animal
11-13-2006, 11:08 AM
In my ListManager, a lot of the time, TabPanelItems in the "center", detail region will have their own ListManagers (almost every Entity will be searchable, and choosable from a list). These ListManagers will have a detail region which... Well, I'd better stop before I overflow my own stack, but you get the idea!

So obviously you'll get a "nesting" effect where each one has less and less available space.

I can see a possibility of being able to "undock" a tab from its place in the region, and having it's ContentPanel jump into a BasicDialog. The Tab would disappear from that region.

Perhaps a "maximize" button in the tab next to the close (if it's there) button. Or double clicking on the tab.

The BasicDialog could be resized by the user (Could we have a "maximize" button on BasicDialogs please?!) so that they can see it the way they want.

Then the BasicDialog would have a "minimize" button which would cause it to reinsert it's content into the region from whence it came.

Possible?

jack.slocum
11-13-2006, 09:38 PM
Haha, this is all possible but it's a bit of work to make it work seamlessly. I'd definitely want to implement it as an extended basic dialog to prevent code bloat for people who don't want a full "virtual desktop" type environment.

BorderLayout will eventually support something like this, but it's a bit in the future.

Animal
11-14-2006, 03:56 AM
Fair enough! I know it's a big ask.

Can we put it on the long term list?