1 / 16

Diagram Definition: Initial Submission

Diagram Definition: Initial Submission. ADTF, OMG June 2009, San Jose, Costa Rica. Maged Elaasar, IBM melaasar@ca.ibm.com. Agenda. DD Status DI Metamodel Example for UML DI Refinements DI more abstractions DI concrete classes DI extensibility DI interchange format DI common properties

hunter
Télécharger la présentation

Diagram Definition: Initial Submission

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Diagram Definition: Initial Submission ADTF, OMG June 2009, San Jose, Costa Rica Maged Elaasar, IBM melaasar@ca.ibm.com

  2. Agenda • DD Status • DI Metamodel • Example for UML • DI Refinements • DI more abstractions • DI concrete classes • DI extensibility • DI interchange format • DI common properties • DI style sheets • DG Discussions

  3. Problem Statement • Diagram Interchange • How diagrams should be represented and persisted (diagram syntax) • Changes • Connectors association is from View to Connector • Connectors are owned by lowest common parent of the source and target (constraint) • Waypoints are ordered and non unique • Master style sheet (ordered) • Change StyleRule.context to something different from View.context • Incorporate application style sheets • Diagram Graphics • How diagrams should be rendered to graphics (concrete syntax)

  4. Proposed Diagram Interchange (DI) • Diagram Interchange (DI) (replaces current DI) • Provides an abstract metamodel that defines diagram interchange syntax • Domains extend DI using inheritance to define domain specific DI • Diagrams are interchanged as instances of the domain-specific DI MOF spec M3 DI M2 spec DSL DSL DI Model Diagram M1 user Is Instance of Abstract Syntax Diagram Syntax Inherits References

  5. Diagram Interchange (DI)

  6. UML Class Shape Example Diagram width x y Node height ratio Node • showTitle • collapsed • visible ratio Node • showTitle • collapsed • visible

  7. UML Class Shapes

  8. UML Class Connectors

  9. DI More Abstractions • Try to have a crack at it but it is not critical (not show stopper) • Could define them as concrete to allow creating adhoc diagrams • Define common properties as mixin types in separate DI packages

  10. DI Extensibility • Profiles • Allow subsetting, redefinition of base properties in stereotypes • Clarify what types other than stereotypes are allowed in profiles and what it means • What DD needs to do to get access to profiles (package merge?)

  11. DI Interchange Format • XMI problems • XMI to XSD mapping is subject to options that individual specs did not agree to set • XMI to XSD mapping is not likeable and creates problems in XSD tools/communitiies • Propagate these requirements to XMI RTF • BPMN2 should address this problem on their own for now

  12. DI Style Sheets

  13. Proposed Diagram Graphics • Diagram Graphics (DG) • Provides an abstract metamodel that defines diagram graphics syntax • Provides a way to map the abstract syntax (DSL+DI) to the graphical syntax (DG) • Domains extend DG to create domain specific DG and its mapping from their DSL+DI DI DG Mapping DG Graphics DSL Controller (mapping) View (concrete syntax) Model (abstract syntax)

  14. Proposed Diagram Definition Architecture • Diagram Graphics (DG) • Provides an abstract metamodel that defines diagram graphics syntax and how it maps to the abstract syntax (DSL+DI) • Domains extend DG to create domain specific DG metamodel MOF spec M3 DI DG M2 spec UML UML DI UML DG Rendered Graphics Model Diagram M1 user Is Instance of Abstract Syntax Diagram Syntax Diagram Graphics Inherits References Input

  15. Diagram Graphics (DG) – Declarative Graphics Diagram Figure XY Layout bounds Classifier Figure Toolbar Layout Label Label Toolbar Layout ratio Compartment Figure Label Label [*] ratio Toolbar Layout Compartment Figure Label ratio Label [*]

  16. Diagram Graphics (DG) – Declarative Map Model (abstract syntax) Controller (map) View (concrete syntax)

More Related