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

Extract out a reusable configuration #5

Open
jhickman opened this issue Nov 12, 2021 · 0 comments
Open

Extract out a reusable configuration #5

jhickman opened this issue Nov 12, 2021 · 0 comments

Comments

@jhickman
Copy link
Member

There may be need to reuse bindings. This could be due to needing to hold onto the configuration as we may be removing old Node's and appending new Nodes that need the same shortcuts, or being able to use the same bindings on multiple Nodes where we don't want to apply the listener at a common parent Node.

Extract out a configuration class such that we can perform the same actions such as:

config.bind("ctrl+c", this::onCopy);
config.removeAll();
// etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant