DockFX
DockFX copied to clipboard
Selection Model Needed
We need a Selection Model that helps a user identify which DockNode is selected and when it has been selected.
What's the best way to approach this?
That depends, and one of the reasons why this feature is not out of the box in DockFX is because I was impartial. I think if you look at Visual Studio, the docking panels there become part of the tab cycle navigation. However, if you look at docking panels in other applications, like Unity3D or Qt Framework, those are typically not traversable or even focusable. Regardless, if the Visual Studio way is what you are going after, then where you probably what to start is in fact with making the dock nodes focusable and giving them focus traversal policies. This feature would be a bit of work, and could be even considered an extension to DockFX honestly, but you'd save yourself a lot of work by letting the JavaFX platform handle the selection (which I take to be synonymous with focus here, although it doesn't have to be) for you.