Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ensure consistent usage of
ModelState
Previously the default implementations used and inconsistent mix of injecting
GModelState
(the custom model state for the direct Gmodel lib)and
ModelState
(the default class). This introduced and indirect dependency to theGModelDiagramModule
. Since theGModelState
actually did only contain generally reusable code it has been removed and merged withModelState
. All default implementations now consistently inject theModelState
.Move all services (action & operations handlers etc.) that contain implementation specific code for the direct gmodel usecase (graphical model === source model) into a dedicated
gmodel-lib
subdirectory.Extract a reusable
AbstractJsonModelStorage
base implementation from theGModelStorage
that can be reused for any model storagethat loads JSON models from files.
Introduce a generic abstract base implementation for
CreateNodeOperationHandlers
.Ensure that the
OperationHandler
correctly sets the reason when dispatching a newSetDirtyStateAction
Fix issue in
ChangeBoundsOperationHandler
. Only set theprefWidth, prefHeight
layout options if the changed object has alayout
property.Cleanup index imports
s21
Fix change-bounds-operation-handler
save model action
s