-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c47ab7
commit b07b60b
Showing
20 changed files
with
254 additions
and
219 deletions.
There are no files selected for viewing
9 changes: 5 additions & 4 deletions
9
...aselineOfOntoUMLTransformationFramework/BaselineOfOntoUMLTransformationFramework.class.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Package { #name : #BaselineOfOntoUMLTransformationFramework } | ||
Package { #name : 'BaselineOfOntoUMLTransformationFramework' } |
16 changes: 9 additions & 7 deletions
16
src/OntoUML-TransformationFramework/OntoUMLAssociationTransformer.class.st
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
16 changes: 9 additions & 7 deletions
16
src/OntoUML-TransformationFramework/OntoUMLClassTransformer.class.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
Class { | ||
#name : #OntoUMLClassTransformer, | ||
#superclass : #OntoUMLTransformer, | ||
#category : #'OntoUML-TransformationFramework-Transformers' | ||
#name : 'OntoUMLClassTransformer', | ||
#superclass : 'OntoUMLTransformer', | ||
#category : 'OntoUML-TransformationFramework-Transformers', | ||
#package : 'OntoUML-TransformationFramework', | ||
#tag : 'Transformers' | ||
} | ||
|
||
{ #category : #transforming } | ||
{ #category : 'transforming' } | ||
OntoUMLClassTransformer class >> defaultTransformation [ | ||
^ OntoUMLTransformClass. | ||
] | ||
|
||
{ #category : #transforming } | ||
{ #category : 'transforming' } | ||
OntoUMLClassTransformer class >> getTransformation: aClass [ | ||
| stereotypeClass | | ||
stereotypeClass := OntoUMLModelQuery getStereotypeClass: aClass. | ||
^ super getTransformation: stereotypeClass. | ||
] | ||
|
||
{ #category : #transforming } | ||
{ #category : 'transforming' } | ||
OntoUMLClassTransformer class >> initializeTransformationIndex [ | ||
transformationIndex := Dictionary new. | ||
"Currently there are no class specific transformations." | ||
] | ||
|
||
{ #category : #transforming } | ||
{ #category : 'transforming' } | ||
OntoUMLClassTransformer >> transform [ | ||
^ (self class getTransformation: transformed) transform: transformed withController: controller withTransformer: self. | ||
] |
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
10 changes: 6 additions & 4 deletions
10
src/OntoUML-TransformationFramework/OntoUMLTransformAssociationTest.class.st
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.