Skip to content

Commit

Permalink
z
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Jul 25, 2024
1 parent 931a7c5 commit 75b03c6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ OPMementoDirectorySerializer >> loadMementoFrom: aFolder [
modelDir := aFolder ].
model := self loadModelFrom: modelDir.
(OPNavigatorAdapters new allChildrenFor: model) do: [ :each |
SystemNotification signal: 'UUID: ' , each uuid asString ].
SystemNotification signal:
'Loaded UUID: ' , (each instVarNamed: 'uuid') asString ].
^ OPMemento
model: model
diagrams: (self loadDiagramsOf: model from: aFolder / 'diagrams')
Expand Down Expand Up @@ -119,6 +120,9 @@ OPMementoDirectorySerializer >> saveMemento: aMemento to: aFolder [
OPMementoDirectorySerializer >> saveModelOf: aMemento to: aFolder [

| modelSerializer |
(OPNavigatorAdapters new allChildrenFor: aMemento model) do: [ :each |
SystemNotification signal:
'Saving UUID: ' , (each instVarNamed: 'uuid') asString ].
modelSerializer := plugin modelSerializerClass new.
modelSerializer class saveExportInfoTo: aFolder.
(aFolder / 'model' , modelSerializer formatName)
Expand Down

0 comments on commit 75b03c6

Please sign in to comment.