Accomplished:
-made an adjacent List View to show which elements have been added to the quiz.
-made a feature that allows you to select a map pack from a folder chooser (mostly for debugging)
-made the feature which looks through a map pack directory and includes map packs in a dropdown menu
-fixed weird focus thing on the list view/tree view
TODO 7-3-13: Make a clearFromTreeView() method to be called whenever an item is unchecked (allowing for redundancy) and when an element on the list view is double clicked, removing it. It must be recursive, going through the tree and unchecking the element everywhere it is encountered. Also make a respective addEverywhere() method that goes through the tree view recursively, checking the element wherever it is encountered.
The next step is to come up with a way to distinguish between categories, features, and cities to avoid confusion on the user end when traversing the tree view. Color coding was considered, but this has the potential to clash with later CSS styling.
Then, a custom class must be created to hold the state of the tree view, the list view, and possibly the map pack. When a user hits save, or export, they are prompted "Should the map pack be included?" users would hit "yes" only if they are using a custom map pack (so by default - no). The program then needs to be able to serialize these objects in a default folder. The "Take a Preset Quiz" option will let users choose from a list of premade already-serialized quizzes. This feature must be implemented in the full GUI-scheme, complete with all the features on the sketch.
**Make sure to link uncheckEverywhere() and checkEverywhere to deleteFromList and addToList()
**Also consider the case when a redundant CATEGORY is added
-made an adjacent List View to show which elements have been added to the quiz.
-made a feature that allows you to select a map pack from a folder chooser (mostly for debugging)
-made the feature which looks through a map pack directory and includes map packs in a dropdown menu
-fixed weird focus thing on the list view/tree view
TODO 7-3-13: Make a clearFromTreeView() method to be called whenever an item is unchecked (allowing for redundancy) and when an element on the list view is double clicked, removing it. It must be recursive, going through the tree and unchecking the element everywhere it is encountered. Also make a respective addEverywhere() method that goes through the tree view recursively, checking the element wherever it is encountered.
The next step is to come up with a way to distinguish between categories, features, and cities to avoid confusion on the user end when traversing the tree view. Color coding was considered, but this has the potential to clash with later CSS styling.
Then, a custom class must be created to hold the state of the tree view, the list view, and possibly the map pack. When a user hits save, or export, they are prompted "Should the map pack be included?" users would hit "yes" only if they are using a custom map pack (so by default - no). The program then needs to be able to serialize these objects in a default folder. The "Take a Preset Quiz" option will let users choose from a list of premade already-serialized quizzes. This feature must be implemented in the full GUI-scheme, complete with all the features on the sketch.
**Make sure to link uncheckEverywhere() and checkEverywhere to deleteFromList and addToList()
**Also consider the case when a redundant CATEGORY is added