-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactorings regarding source model loading and saving
With this change, I'd like to consistently use the term source model and avoid the term model source. This is to avoid the overlap with Sprotty's concept of ModelSource and its unclear relation to a source model and GModel. I suggest to avoid Model Source altogether and instead introduce and consistently use "source model" to refer to the underlying model that we read and write. Thus we have in GLSP two types of models: * Source Model * Graph Model (GModel) Thus, I did the following refactorings: * Rename ModelSourceLoader to SourceModelPersistence * Add saving to the SourceModelPersistence interface * Delegate from the SaveModelActionHandler to that implementation * Rename ModelSourceWatcher into SourceModelWatcher * Update javadoc and variable names where fit
- Loading branch information
Showing
11 changed files
with
108 additions
and
103 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
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
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
Oops, something went wrong.