diff options
author | Vincent Lorenzo | 2017-01-06 16:10:08 +0000 |
---|---|---|
committer | vincent lorenzo | 2017-01-09 13:41:45 +0000 |
commit | d5a225d2092ed7c31fc5ba5a854b35a23db95f94 (patch) | |
tree | 5f7740518630cd5676f54602951bdc8a8d49562b /extraplugins | |
parent | 88869f848944d0e61924d79da41623daabafe645 (diff) | |
download | org.eclipse.papyrus-d5a225d2092ed7c31fc5ba5a854b35a23db95f94.tar.gz org.eclipse.papyrus-d5a225d2092ed7c31fc5ba5a854b35a23db95f94.tar.xz org.eclipse.papyrus-d5a225d2092ed7c31fc5ba5a854b35a23db95f94.zip |
Bug 510043: [Importer][Rhapsody] Imported Port View have bad values for height and width
Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
Diffstat (limited to 'extraplugins')
-rw-r--r-- | extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/transform/SysML11InternalBlockDiagram.qvto | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/transform/SysML11InternalBlockDiagram.qvto b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/transform/SysML11InternalBlockDiagram.qvto index 4e32d00ccf6..e868a22e595 100644 --- a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/transform/SysML11InternalBlockDiagram.qvto +++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/transform/SysML11InternalBlockDiagram.qvto @@ -218,8 +218,12 @@ mapping rhapsodymetamodel::CGIPortConnector::CGIPortConnectorToIBDPort(cgiClassC layoutConstraint:= object Bounds{ x:=getX(self); y:=getY(self); - width:=getRectangleWidth(self); - height:=getRectangleHeight(self); + //width:=getRectangleWidth(self); + //height:=getRectangleHeight(self); + //result of calculus was wrong for port size and moreover this calculus is useless for port. + width:=20; + height:=20; + }; var semanticElementRpy:IRelation:=self.m_pModelObject; |