CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion...
Transcript of CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion...
![Page 1: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/1.jpg)
CREATE A DSML : THE SYSML1.4
USE CASE
![Page 2: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/2.jpg)
2/XX
Papyrus DSML Workshop June2015
Context
From the profile to the tooling
From the tooling to a DSML tool
Conclusion
AGENDA
![Page 3: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/3.jpg)
3/XX
Papyrus DSML Workshop June2015
• New version of an OMG norm [1]
• Current status in Papyrus :
Old framework
Forked version
Version 1.1 of the norm
• Goal
Latest version of the norm (1.4)
New Frameworks
• Palette
• Element types
• ViewPoint
• Expansion
CONTEXT
. 1 : http://www.omg.org/spec/SysML/1.4/Beta/
![Page 4: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/4.jpg)
4/XX
Papyrus DSML Workshop June2015
BOTTOM UP
FROM THE PROFILE TO THE
TOOLING
![Page 5: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/5.jpg)
5/XX
Papyrus DSML Workshop June2015
STEP BY STEP
Palette
Static profile Element
types
Graphical element
types Properties
Viewpoint configuration
New Child Menu
Packaging
![Page 6: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/6.jpg)
6/XX
Papyrus DSML Workshop June2015
FINAL ARCHITECTURE
![Page 7: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/7.jpg)
7/XX
Papyrus DSML Workshop June2015
MODEL ARCHITECTURE
UML element
type
Class Diagram
element type
BDD element
type
SysML element
type
Sysml New Child BDD Palette
Model
Block
![Page 8: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/8.jpg)
8/XX
Papyrus DSML Workshop June2015
• Process :
Missing a step by step document
Too many clicks
Missing an official/published generator
• Model too complex :
The « diagram element type model »
The palette
• It Works !!!
FEEDBACKS
![Page 9: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/9.jpg)
9/XX
Papyrus DSML Workshop June2015
• Read the specification
TOP DOWN : REFINE THE TOOLING
LET’S START THE REAL WORK
• Prune/Improve the Tooling
![Page 10: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/10.jpg)
10/XX
Papyrus DSML Workshop June2015
STEP BY STEP
Palette
Static profile Element
types
Graphical element
types
Properties Viewpoint configuration
New Child Menu
Packaging
Requirements
Viewpoint configuration
Packaging
![Page 11: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/11.jpg)
11/XX
Papyrus DSML Workshop June2015
• The static profile
Generated code in src-gen
Override the factory
Derived feature
• Element type
Remove unused element
Add some elements • Init values
• Create sub elements
SEMANTIC PART
![Page 12: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/12.jpg)
12/XX
Papyrus DSML Workshop June2015
• Style
Create a css for each diagram
Display stereotype compartment
Hide compartment
• Property view
Add a constraint in the framework
Merge from 1.1
• Palette
Add UML elements
Add new SysML elements
• Expansion
Add compartment
Use new figure
Add Port
UI PART
![Page 13: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/13.jpg)
13/XX
Papyrus DSML Workshop June2015
MODEL ARCHITECTURE WITH EXPANSION FRAMEWORK
UML element
type
Class Diagram
element type
BDD element
type
SysML element
type
Sysml New Child BDD Palette
BDD expansion
model
UML expansion
model
Model
Block
![Page 14: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/14.jpg)
14/XX
Papyrus DSML Workshop June2015
VIEWPOINT
![Page 15: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/15.jpg)
15/XX
Papyrus DSML Workshop June2015
DEMO
![Page 16: CREATE A DSML : THE SYSML1.4 USE CASE...SysML element type Sysml New Child BDD Palette BDD expansion model UML expansion model Model Block 14/XX Papyrus DSML Workshop June2015 VIEWPOINT](https://reader036.fdocuments.net/reader036/viewer/2022071401/60ec9be0b41124749d1a1a57/html5/thumbnails/16.jpg)
16/XX
Papyrus DSML Workshop June2015
• Tests
Manual
Comparison/Testing/Benchmark framework
• Validation
Validation tool for each meta-model
Check missing element type
• Examples
Demo for common use case [1]
Official profiled-DSML example
• Tooling
Unified
FEEDBACKS
1 : http://jqueryui.com/demos/