sysml

How to check SysML stereotypes with Acceleo?

偶尔善良 提交于 2019-12-11 04:59:41
问题 I'm using Eclipse 4.6.3 (Neon.3) with Acceleo 3.6.6, Paprus 2.0.3 and Papyrus SysML 1.4 0.10.1. How can I check from an Acceleo MTL script, whether a class of my model has the SysML Block stereotype applied? The method getAppliedStereotypes() only works for my own defined stereotypes but not for SysML 1.4 ones. In my UML model (Papyrus project) I have created "Class1" to which I have applied my own stereotype "MyProfile::MyStereotype" created in the "Model Explorer" via "Profile"/"Update

How do I import a SysML model (in XMI format) to Papyrus?

牧云@^-^@ 提交于 2019-12-04 23:42:09
问题 I have an XMI 2.1 formatted SysML model, exported from Enterprise Architect. I'm evaluating Papyrus as an alternate model IDE. I'd like to import my XMI file into Papyrus, including all structural and behavioral blocks. Here's what I've tried: Create a new Papyrus project. Right-click on project, select Import, and browse to my XMI file. However, this just includes the XMI file in the Papyrus project. If I open it, I see the model elements as XML. Does Papyrus support importing XMI, and if so

How do I import a SysML model (in XMI format) to Papyrus?

自古美人都是妖i 提交于 2019-12-03 15:23:53
I have an XMI 2.1 formatted SysML model, exported from Enterprise Architect. I'm evaluating Papyrus as an alternate model IDE. I'd like to import my XMI file into Papyrus, including all structural and behavioral blocks. Here's what I've tried: Create a new Papyrus project. Right-click on project, select Import, and browse to my XMI file. However, this just includes the XMI file in the Papyrus project. If I open it, I see the model elements as XML. Does Papyrus support importing XMI, and if so, how do I accomplish this? I worked through a similar problem recently, though with UML, so your