DockFX icon indicating copy to clipboard operation
DockFX copied to clipboard

Selection Model Needed

Open jasons2000 opened this issue 5 years ago • 1 comments

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?

jasons2000 avatar May 08 '19 12:05 jasons2000

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.

RobertBColton avatar Oct 30 '20 02:10 RobertBColton