diff options
author | Camille Letavernier | 2014-10-16 12:02:20 +0000 |
---|---|---|
committer | Camille Letavernier | 2014-10-16 12:02:20 +0000 |
commit | 22de1b546f125c4009ac00cae1b148e6d9e72c45 (patch) | |
tree | 9cbd7730a46bb65ab29c50e579a580d28be6ddfb /extraplugins | |
parent | 3d685af28fc6235fa62739d9fa2040e11050e289 (diff) | |
download | org.eclipse.papyrus-22de1b546f125c4009ac00cae1b148e6d9e72c45.tar.gz org.eclipse.papyrus-22de1b546f125c4009ac00cae1b148e6d9e72c45.tar.xz org.eclipse.papyrus-22de1b546f125c4009ac00cae1b148e6d9e72c45.zip |
445519: [Model Import] Activity diagram pin names and types are missing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=445519
Diffstat (limited to 'extraplugins')
-rw-r--r-- | extraplugins/migration/org.eclipse.papyrus.migration.rsa/transform/RSAActivityDiagram.qvto | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/extraplugins/migration/org.eclipse.papyrus.migration.rsa/transform/RSAActivityDiagram.qvto b/extraplugins/migration/org.eclipse.papyrus.migration.rsa/transform/RSAActivityDiagram.qvto index 41e66d7552a..fbcd9ac23ba 100644 --- a/extraplugins/migration/org.eclipse.papyrus.migration.rsa/transform/RSAActivityDiagram.qvto +++ b/extraplugins/migration/org.eclipse.papyrus.migration.rsa/transform/RSAActivityDiagram.qvto @@ -259,7 +259,8 @@ mapping BasicDecorationNode::toConnectorLabel() : DecorationNode inherits Node:: self.type = 'FromMultiplicityLabel' or self.type = 'FromRoleLabel' or self.type = 'NameLabel' or - self.type = 'KindLabel' + self.type = 'KindLabel' or + self.type = 'ObjectNodeNameLabel' ) }{} @@ -703,6 +704,14 @@ query View::doGetDecorationType(element : Element) : String{ return switch { case (self.type = 'Name') '5078'; } + elif element.oclIsTypeOf(InputPin) then + '5009' + elif element.oclIsTypeOf(ValuePin) then + '5024' + elif element.oclIsTypeOf(OutputPin) then + '5010' + elif element.oclIsTypeOf(ActionInputPin) then + '5012' endif } else { return if element.oclIsTypeOf(ObjectFlow) then |