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

Add context menu support in TableView #3

Open
lemon-codes opened this issue Feb 8, 2021 · 0 comments
Open

Add context menu support in TableView #3

lemon-codes opened this issue Feb 8, 2021 · 0 comments

Comments

@lemon-codes
Copy link
Owner

Add context menu support in TableView to enable users to right click on stations. Users should be able to favourite or remove the selected station. There should be an option to view further details about the selected station.

lemon-codes added a commit that referenced this issue Feb 8, 2021
Currently supports marking a station as a favourite and removing a station using a context menu. The context menu appears when the user right clicks on a station entry in a tableview.
Thanks to the ModelAdapters event functionality, all GUI components are notified of any changes made to the model via context menu actions.
When a station is marked as favourite it appears on the favourite station table instantly.
When a station is removed from the model it is removed from all tables immediately.
Still need to create an FXML view to display station details before #3 can be marked complete.
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