diff --git a/uml/wmsu_class(refactoring_2024).md b/uml/wmsu_class(refactoring_2024).md index a16ad10..52998c1 100644 --- a/uml/wmsu_class(refactoring_2024).md +++ b/uml/wmsu_class(refactoring_2024).md @@ -1,18 +1,87 @@ ```mermaid classDiagram + RootSourceCollectionList o--> ASourceCollection + + ASourceCollection o-->"recursively" ASourceCollection + + ASourceCollection <|-- RootSourceCollection + + ASourceCollection <|-- SourceCollection + + ASourceCollection <|-- SubSourceCollection + + ASourceCollection <|-- NullSourceCollection + + ASourceCollection "1"o-->"1..*" ASourceObject + + ASourceCollection ..>"use" SetupObject + + SetupObject "0..*"o-->"1..*" ISetupCommand + + ASourceObject <|-- SourceObject + + ASourceObject <|-- NullSourceObject + + SourceObject ..>"create" SetupObject + + ReleaseCollectionList "1"o-->"1..*" AReleaseCollection + + AReleaseCollection <|-- ReleaseCollection + ReleaseCollection "1"o-->"1..*" ReleaseObject + + AReleaseCollection <|-- SubReleaseCollection + SubReleaseCollection "1"o-->"1..*" SubReleaseObject + + ASourceCollection ..>"create" AReleaseObject + + AReleaseObject <|-- ReleaseObject + AReleaseObject <|-- SubReleaseObject + + Translator o--> ReleaseCollectionList + Translator o--> MaterialTranslator + Translator o--> ANameTranslator + Translator ..>"create" AFinalObject + + ANameTranslator <|-- BoneGroupTranslator + ANameTranslator <|-- ShapeKeyTranslator + + ANameTranslator o--> ProfileHandler + + ProfileHandler <|-- ProfileReader + ProfileHandler <|-- ProfileWriter + + ContainerCollection "1"o-->"1..*" ContainerObject + Translator o--> ContainerCollection + + AFinalObject <|-- TranslatedObject + AFinalObject <|-- DefaultObject + + TranslatedCollection "1"o-->"1..*" TranslatedObject + DefaultCollection "1"o-->"1..*" DefaultObject + + Feedback o--> ContainerCollection + Feedback o--> AFinalCollection + + AFinalCollection <|-- TranslatedCollection + AFinalCollection <|-- DefaultCollection + + MaterialCombiner "1"o-->"1..2" AFinalCollection + MaterialCombiner ..>"use" ExternalAddonTool + MaterialCombiner "1"..>"1..* create" TextureImage + class RootSourceCollectionList - RootSourceCollectionList: list_of_ACollection member + RootSourceCollectionList: list_of_ASourceCollection member RootSourceCollectionList: update() RootSourceCollectionList RootSourceCollectionList: queue() RootSourceCollectionList: setup() list_of_AReleaseObject - class ACollection - <> ACollection - ACollection: list_of_ACollection children - ACollection: "bpy.types.Collection" -real - ACollection: SourceObject source_objects - ACollection: setup() AReleaseObject - ACollection: update() ACollection + class ASourceCollection + <> ASourceCollection + ASourceCollection: list_of_ASourceCollection children + ASourceCollection: "bpy.types.Collection" -real + ASourceCollection: list_of_SourceObject objects + ASourceCollection: setup() AReleaseObject + ASourceCollection: update() ASourceCollection class ASourceObject <> ASourceObject @@ -36,8 +105,9 @@ class AReleaseCollection <> AReleaseCollection AReleaseCollection: "bpy.types.Collection" -real - AReleaseCollection: list_of_AReleaseObject release_objects + AReleaseCollection: list_of_AReleaseObject objects AReleaseCollection: update() AReleaseCollection + AReleaseCollection: search_object() AReleaseObject class ReleaseCollectionList ReleaseCollectionList @@ -63,13 +133,21 @@ class ContainerObject <> ContainerObject + ContainerObject: "bpy.types.Object" -real + ContainerObject: delete() + ContainerObject: register_to_collection() class TextureImage <> TextureImage TextureImage: " bpy.types.Image" -real - class ACreatedCollection - ACreatedCollection: update() ACreatedCollection + class AFinalCollection + <> AFinalCollection + AFinalCollection: "bpy.types.Collection" -real + AFinalCollection: list_of_AFinalObject objects + AFinalCollection: update() AFinalCollection + AFinalCollection: search_object() AFinalObject + class Translator Translator: translate() @@ -77,69 +155,19 @@ class MaterialCombiner MaterialCombiner: combine_materials() - RootSourceCollectionList o--> ACollection - - ACollection o-->"recursively" ACollection - - ACollection <|-- RootSourceCollection - - ACollection <|-- SourceCollection - - ACollection <|-- SubSourceCollection - - ACollection <|-- NullSourceCollection - - ACollection "1"o-->"1..*" ASourceObject - - ACollection ..>"use" SetupObject - - SetupObject "0..*"o-->"1..*" ISetupCommand - - ASourceObject <|-- SourceObject + class Feedback + Feedback: feedback_to_container() - ASourceObject <|-- NullSourceObject + class ContainerCollection + ContainerCollection: "bpy.types.Collection" -real + ContainerCollection: list_of_ContainerObject objects + ContainerCollection: update() ContainerCollection + ContainerCollection: search_object() ContainerObject - SourceObject ..>"create" SetupObject + class AFinalObject + <> AFinalObject + AFinalObject: "bpy.types.Object" -real + AFinalObject: delete() + AFinalObject: register_to_collection() - ReleaseCollectionList "1"o-->"1..*" AReleaseCollection - - AReleaseCollection <|-- ReleaseCollection - ReleaseCollection "1"o-->"1..*" ReleaseObject - - AReleaseCollection <|-- SubReleaseCollection - SubReleaseCollection "1"o-->"1..*" SubReleaseObject - - ACollection ..>"use" AReleaseObject - - AReleaseObject <|-- ReleaseObject - AReleaseObject <|-- SubReleaseObject - - Translator o--> ReleaseCollectionList - Translator o--> MaterialTranslator - Translator o--> ANameTranslator - Translator ..>"create" ACreatedCollection - - ANameTranslator <|-- BoneGroupTranslator - ANameTranslator <|-- ShapeKeyTranslator - - ANameTranslator o--> ProfileHandler - - ProfileHandler <|-- ProfileReader - ProfileHandler <|-- ProfileWriter - - TranslatedCollection "1"o-->"1..*" TranslatedObject - DefaultCollection "1"o-->"1..*" DefaultObject - - Feedback o--> ContainerCollection - Feedback o--> ACreatedCollection - - ContainerCollection "1"o-->"1..*" ContainerObject - Translator o--> ContainerCollection - - ACreatedCollection <|-- TranslatedCollection - ACreatedCollection <|-- DefaultCollection - - MaterialCombiner "1"o-->"1..2" ACreatedCollection - MaterialCombiner ..>"use" ExternalAddonTool - MaterialCombiner "1"..>"1..* create" TextureImage ``` \ No newline at end of file