Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f44496036345cee0187fb96e63fdd5609b3de53c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107


= Import Export of ReqIF elements into Papyrus =
<span id="_joeEYLH0EeSvo7o7Iu6GQQ">This model explains the functionality in Papyrus Req in order to import or export ReqIF files into Papyrus (OMG Document Number: formal/2013-10-01 Standard document URL: http://www.omg.org/spec/ReqIF/1.1)
</span>

==<span id="_johHsbH0EeSvo7o7Iu6GQQ">Requirements</span>==
<span id="_jokyELH0EeSvo7o7Iu6GQQ">- ReqIfImport (id=ReqIF_001): 
 Darwin shall allow importation of Reqif elements to SysML Model</span>
<span id="_jon1YLH0EeSvo7o7Iu6GQQ">- Import SpecObjects (id=ReqIF_001_001): 
 The user shall be able to import spec object</span>
<span id="_joq4sLH0EeSvo7o7Iu6GQQ">- Two  Kind of Users (id=ReqIF_001_002): 
 The simple User can only import SpecObject by choosing domain. The AdvancedUser can import Types and DataTypes. </span>
<span id="_jotU8LH0EeSvo7o7Iu6GQQ">- Import DataType Enumeration (id=ReqIF_001_003): 
 The advanced user shall be able to import DataType and enumeration</span>
<span id="_jovxMLH0EeSvo7o7Iu6GQQ">- Import SpecObjectTypes (id=ReqIF_001_004): 
 The advanced user shall be able to import specObjectType</span>
<span id="_joxmYLH0EeSvo7o7Iu6GQQ">- Import SpecRelationType (id=ReqIF_001_005): 
 The advanced user  shall be able to import SpecRelationType</span>
<span id="_jozbkLH0EeSvo7o7Iu6GQQ">- Import SpecRelation (id=ReqIF_001_006): 
 Papyrus Req shall import SpecRelation</span>
<span id="_jo130LH0EeSvo7o7Iu6GQQ">- ReqIFExport (id=ReqIF_002): 
 Darwin shall enable export of SysML requirement to ReqIF Model</span>
<span id="_jo3tALH0EeSvo7o7Iu6GQQ">- ControlMode (id=ReqIF_003): 
 The managment with ReqIf must support Control Mode</span>
<span id="_jo6JQLH0EeSvo7o7Iu6GQQ">- WihtoutUI (id=ReqIF_004): 
 The export can be done programmatically, without GUI, in order to test it, or to be enable to pilot it programmatically</span>
<span id="_jo8lgLH0EeSvo7o7Iu6GQQ">- Re-Export (id=ReqIF_005): 
 Papyrus shall re-export requirements in existing reqIF file</span>
<span id="_jo-asLH0EeSvo7o7Iu6GQQ">- Re-Import (id=ReqIF_006): 
 Papyrus shall re-Import requirement from a ReqIF file</span>
==<span id="_jo_o0bH0EeSvo7o7Iu6GQQ">Use Cases</span>==

====<span id="_jryeIbH0EeSvo7o7Iu6GQQ">Import ReqIF file</span>====

<span id="_jwVm8LH0EeSvo7o7Iu6GQQ">Before import requirement fro ReqIF file, the kinf of User has to be verified.

There are two kind of users:

	- Simple User: he can only import instance of requirements inside the Papyrus tool.

	- Advancerd User: he can importe new types of requirements and instance of requirement inside  the Papyrus tool 

To verify it, go to window--> preferences--> Papyrus--> ReqIF Import</span>

[[Image:./images/Userkind.png|Two kinds of user]]<br>

<span id="_jwXcIbH0EeSvo7o7Iu6GQQ">First the User must have a SysML model. Select the package where ReqIF elements will be imported.
</span>

[[Image:./images/import_1.png|Import SysMLModel]]<br>

<span id="_jwZ4YbH0EeSvo7o7Iu6GQQ">Select the menu Import  of Eclipse.</span>

[[Image:./images/import_2.png|Select import Menu of Eclipse]]<br>

<span id="_jwcUobH0EeSvo7o7Iu6GQQ">Select the menu Import ReqIF from Papyrus Categories</span>

[[Image:./images/import_3.png|Import ReqIF]]<br>

<span id="_jwew4bH0EeSvo7o7Iu6GQQ">Select the ReqIF file to import</span>

[[Image:./images/import_4.png|ReqIF file Selection]]<br>

<span id="_jwhNILH0EeSvo7o7Iu6GQQ">Select  Requirement types of ReqIF file that you want to import</span>

[[Image:./images/import_5.png|SpecObject Type selection]]<br>

<span id="_jwjCUbH0EeSvo7o7Iu6GQQ">When the current user is an "Advanced User", he can import Requirement types and all requirements from ReqIF , if needed he can select or create the profile that will contain imported types</span>

[[Image:./images/import_6.png|Create or select Profile]]<br>

<span id="_jwlekbH0EeSvo7o7Iu6GQQ">When the current user is a "Simple User", he can only import instances of requirements by choosen predefined types contained in the profile.
If the profile does not contain all needed types, the import is not done and a message is displayed on the screen. </span>

[[Image:./images/Choose_Predefined_Profile.png|Choose predefined type contained in profile]]<br>

[[Image:./images/CannotImport.png|The import cannot be done if the profile is not complete.]]<br>

<span id="_jwpI8bH0EeSvo7o7Iu6GQQ">The model has now imported requirements with relations. Note that a comment explains the origin of the import.</span>

[[Image:./images/import7.png|Resulted model]]<br>


====<span id="_jwyS4bH0EeSvo7o7Iu6GQQ">Export UML Model to ReqIF File</span>====

<span id="_jznkcbH0EeSvo7o7Iu6GQQ">Select the SysML that you want to export
</span>

[[Image:./images/export1.png|SysML Model]]<br>

<span id="_jzqnwbH0EeSvo7o7Iu6GQQ">Select the export Menu from Eclipse menu.</span>

[[Image:./images/export2.png|Export Menu]]<br>

<span id="_jztrELH0EeSvo7o7Iu6GQQ">Select the menu export ReqIF form the papyrus Category</span>

[[Image:./images/export3.png|Import ReqIF file]]<br>

<span id="_jzwHUbH0EeSvo7o7Iu6GQQ">Choose the name of the reqif file.</span>

[[Image:./images/export5.png|Choose ReqIF File name]]<br>

<span id="_jzzKobH0EeSvo7o7Iu6GQQ">At the end, a reqFile is generated. The header has an information that explain that the result comes from UML file.
</span>

[[Image:./images/Export4.png|Result in the ReqIf file]]<br>

Back to the top