-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added basic contect menu support. A partial solution to #3.
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.
- Loading branch information
1 parent
078f0b1
commit 633234c
Showing
5 changed files
with
130 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
"BITRATE","FAVOURITE","ID","LASTPLAYED","NAMES","PLAYCOUNT","URI" | ||
"-1","false","2","","BBC Radio 1","15","http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p" | ||
"-1","true","0","","Clyde1(mp3)","98","http://stream-al.planetradio.co.uk/clyde1.mp3" | ||
"-1","false","1","","Capital FM","58","http://media-ice.musicradio.com/Capital" | ||
"-1","false","2","","BBC Radio 1","17","http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p" | ||
"-1","false","3","","StartFM","14","http://eteris.startfm.lt/startfm.ogg" | ||
"-1","true","7","","Clyde1(aac)","9","http://stream-al.planetradio.co.uk/clyde1.aac" | ||
"-1","false","6","","test2","0","http://test.test2" | ||
"-1","false","1","","Capital FM","55","http://media-ice.musicradio.com/Capital" | ||
"-1","true","0","","Clyde1(mp3)","97","http://stream-al.planetradio.co.uk/clyde1.mp3" | ||
"-1","false","3","","StartFM","13","http://eteris.startfm.lt/startfm.ogg" | ||
"-1","false","4","","FreeDesktop","2","https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters