All logic related to saving a game has been moved to action "Save".
Also: Save action management of isEnable has been simplified
Deleting Controller.saveAll() method
Replacing all ocurrences of Controller.saveAll() by Controller.action(Save.class)
Placing logic related to loading a game into the OpenGame action
Deleting controller.loadGame().
Deleting all loading logic from EditorGameAssets and Model
Removing EditorGameAssets from the Model. It is not needed anymore
GameStructure moved to new package es.eucm.ead.schemax (schema extended) to host utility classes related to the model
Adding ModelEntityCategory, a utility class for managing all aspects related to entity categories: selection(filtering), id building, path resolving, etc.
Model refactoring:
- Entities are stored in a single structure that is subdivided according to ModelEntityCategories.
- Added appropriate get and put methods for entities, based on categories. Old getScenes() method has been removed. getGame() is kept for conveniency, although it may be removed as well or replaced by a generic mehtod "getSingleEntry(ModelEntityCategory)".
- Methods for reseting the model (when a new game is loaded) have been cleaned out a little
Exporter and related tests and actions have been simplified, taking advantage of the new model structure which allows standard access to each entity, regardless of its type
Simplified loading process and added Unloaded event. ModelCommand has been deleted - it was not being used and also, it is not needed anymore since loading games is not undoable
NewGame and SaveGame actions simplified using new model structure
Replacing old Model.getScenes() method by Model.getEntities(ModelEntityCategory.SCENE)
Moving FieldNames and ModelEntityCategory to es.eucm.ead.schemax in the editor
Adding a JsonExtension utility to avoid duplicate code
Replacing use of GameStructure.JSON_EXTENSION, which has been deleted, by the new JsonExtension utility.
Other comments from the revision addressed
FileHandle dependency removed from JsonExtension
Typo
Merge pull request #359 from jtorrente/addcomponent-effect

Typo
Merge pull request #349 from jtorrente/model

Model tweaking: (1) Save, (2) Load, (3) Entity categories