omg specification development using papyrusmagedelaasar.com/wp-content/uploads/2015/09/omg... ·...

19
OMG SPECIFICATION DEVELOPMENT USING PAPYRUS (AND OTHER ECLIPSE TOOLING) CEA LIST and Papyrus Team Workshop on Model-Driven specification authoring – Sept. 2015

Upload: others

Post on 21-Apr-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

OMG SPECIFICATION DEVELOPMENT USING PAPYRUS (AND OTHER ECLIPSE TOOLING)

CEA LIST and Papyrus Team

Workshop on Model-Driven specification authoring – Sept. 2015

Page 2: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

OUTLINE . 1: FEEDBACKS FROM THE PSCS TF . 2: FOCUS ON A NEW PAPYRUS FEATURE: SUPPORT FOR OMG’S DIAGRAM DEFINITION (DD) STANDARD

Page 3: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

REMINDER ON PAPYRUS

Page 4: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

v.1.1.0 http://www.eclipse.org/papyrus

Page 5: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

ABOUT THE CONFORMITY TO OMG STANDARDS, PAPYRUS 1.1.0

UML2.5 SysML1.2 (1.4 coming soon) MARTE1.1

ALL UML2 DIAGRAMS

ALL SYSML EDITORS, INCLUDING

TABLE-BASED EDITORS.

Page 6: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

THE MAIN CONCERNS OF THE PAPYRUS TEAM

1.1.0

Usability

Robustness

Performance Customizability & configurability

Compliance with MDE-standards

Page 7: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

M. Golubev Montages

A world-class international development team

B. Maggi CEA

P. Tessier CEA

R. Schnekenburger CEA

S. Gérard CEA

O. Gürca CEA

A. Radermacher CEA

A. Cucurru CEA

B. Marques CEA

M. Adam All4Tec

G. Pascual All4Tec

S. Boyko Montages

M. Golubev Montages

B. Selic Malina Software Corp.

E.Seidewitz MDS

C. Damus Independant

P.-A. Gussander Nigus

K. Hussey Commiterati

C. Rivet Zeligsoft

F. Jouault ESEO

O. Beaudoux ESEO

M. Elaasar Crossplatform Sw

E. Stepper es-computersys.

J.-M. Bruel IRIT

C. Dumoulin Independant

S. Redding Zeligsoft

J. Cadavid CEA

Ed. Willink Ed Willink T.

A. Tischenko Montages

J. Tatibouët CEA

M. E. Alferez Salinas CEA

Q. Le Menez CEA

A. Le Guennec Esterel Tech.

C. Janssens All4Tec

S. Dhouib CEA

Sébastien Gabel Esterel Tech.

B. Maggi CEA

C. Letavernier CEA

P. Langer EclipseSource

A. Henriksson Ericsson

F. Bordelau Ericsson

Page 8: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

FEEDBACKS ON EXPERIMENTS MADE IN THE PRECISE SEMANTICS OF UML COMPOSITE STRUCTURES (PSCS) TF

Page 9: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

FEEDBACKS FROM THE PSCS TF

PSCS Syntax and Semantics

(UML model and diagrams)

Gendoc template (Word or OpenOffice document, including markups and Acceleo statements)

OMG Spec

•  It works! The Initial submission to the PSCS RFP was produced with this flow •  But:

•  The template was too hard to maintain: •  Mostly a methodological problem (Proposals from the TIWG could solve this)

•  Problems with the management of diagrams: •  The new Papyrus support for DD can probably help (with clear separation of concern

between diagram generation and rendering)

Page 10: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

STANDARD DIAGRAMS WITH DIAGRAM DEFINITION

Florian NOYRIT ([email protected]) Maged ELAASAR ([email protected])

Page 11: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

•  Diagram Definition (DD) is an OMG specification that enables the formal specification of concrete graphical syntax of MOF-based languages •  Version 1.1 has released June 2015

•  DD provides two standard metamodels •  Diagram Interchange (DI): enables the definition of diagram

interchange syntax •  Diagram Graphics (DG): enables the definition of diagram graphical

syntax

•  DD provides an architecture that allows for the definition and mapping of a language’s concrete graphical syntax to its abstract syntax

WHAT IS DIAGRAM DEFINITION?

Page 12: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

DIAGRAM DEFINITION ARCHITECTURE

Page 13: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

•  An implementation for DD has been added in Papyrus 1.1 consisting of: •  An implementation of DD 1.0

•  Ecore-based API for DI metamodel (with changes to spec) •  Ecore-based API and editor for DG metamodel (with changes to spec) •  Model to text mapping from DG to SVG (potential contribution to spec)

•  An implementation of UML DD 2.5 •  Ecore-based API and editor for UML DI metamodel (with changes to spec) •  QVTO-based mapping from UML DI to DG metamodels (potential

contribution to spec) •  An implementation of a diagram exporter from Papyrus

•  QVTO-based mapping from Papyrus DI to UML DI metamodels

DIAGRAM DEFINITION IMPLEMENTATION

Export the various diagrams from the OMG specifications to standard interchangeable artifacts.

Page 14: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

•  DD support in Papyrus:

•  Changes to DD •  Current implementation deviate slightly from the DD standard •  These changes should be proposed and merged in the coming

versions of DD.

DIAGRAMS OF INTEREST FOR OMG SPECIFICATIONS

Page 15: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

Standard Diagram Definition Diagram

Papyrus Diagram

Standard XMI artifact:

Page 16: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

CONCLUSION

Page 17: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

•  Several technological bricks available •  Papyrus for model editing •  Gendoc for document generation •  OTI adapter (from the TIWG) for production of xmi artifacts (uml

models, no diagrams so far) •  Papyrus implementation of DD

•  Papyrus team is willing to collaborate with TIWG: •  No specific contributions defined so far… •  But we have concrete use cases to experiment:

•  PSCS 1.1 RTF (will be chartered soon) •  PSSM initial submission ? (needs to be discussed with the subm. team)

CONCLUSION

Page 18: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

•  Rich text editor: •  Cf. Demo video (author: Shuai Li, CEA LIST)

•  Collaborative work: •  EMF Compare (model diff/merge) •  Egit (git client) •  CDO (distributed model repository) •  EMF Store (‘’)

OTHER INTERESTING FEATURES

Page 19: OMG Specification Development Using Papyrusmagedelaasar.com/wp-content/uploads/2015/09/OMG... · 2015-09-24 · • Papyrus for model editing • Gendoc for document generation •

Institut CEA LIST Département Intelligence Ambiante et Systèmes Interactifs Commissariat à l’énergie atomique et aux énergies alternatives CEA Saclay – PC 178 - Digiteo MOULON F-91191 Gif-sur-Yvette