Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selection Model Needed #41

Open
jasons2000 opened this issue May 8, 2019 · 1 comment
Open

Selection Model Needed #41

jasons2000 opened this issue May 8, 2019 · 1 comment

Comments

@jasons2000
Copy link

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?

@RobertBColton
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants