Pre-requisit
Have your profile myprofile.profile.uml, in our case SysML14.profile.uml
Have a papyrus instance with UML2Extension and Developer tools installed
Step 1: generation of model,edit plugins code
1.0: Purpose
blabla
1.1: Create the EMF generator Model
right-click on the profile, select new EMF Generator Model
Options
- load
- skip warning
- next
- select SysML
1.2: Generate the code
Modify the options
- switch the default output directory from src to src-gen
- for the EditPluginClass remove intermediate package name, to reflect .provider.SysmlEditPlugin
- switch NLS on
Right click generate Model and Edit code
1.x: Validation
Code should compile at this step
Step 2: generation of ElementType configuration files
2.0: Purpose
blabla
2.1: Semantic Elementtypeconfiguration
- Open the profil with Papyrus
- Select generate Tooling Model Elementtype
- base: uml o.e.p.uml.servicetype
- identifier o.e.p.sysML14
- file name: SysML.elemeznttypeconfiguration
Move it to the right plugin place
2.1: UI Elementtypeconfiguration
- Open the profil with Papyrus
- Select generate Tooling Model> Elementtype
- base: uml o.e.p.uml.uml.diagramclass and composite
- identifier o.e.p.sysML14
- file name: SysML.elemeznttypeconfiguration
Move it to the common plugin place and do it foreach root diagrams
2.x: Validation
to be completed...
Step 3: generation of New Child Menu
3.0: Purpose
blabla
3.1: Action
to be completed...
3.x: Validation
to be completed...
Step 4: generation of Property view
4.0: Purpose
blabla
4.1: Action
- Select new... property
- All by default
- source: profile.uml
- layout generator: standard
- target: o.e.p.sysml.ui
4.x: Validation
Should generate several *.ctx files
Step 5: generation of Assistant
5.0: Purpose
blabla
5.1: Action
to be completed...
5.x: Validation
to be completed...