Skip to main content
  • Log in
  • Manage Cookies
EclipseCon - Eclipse Foundation
  • Conference
    • Program Schedule
    • Program List
    • Registration
  • Features
    • Community Day
    • Hacker Day
    • Dinner Meetups
    • OSGi Summit
    • Keynotes
  • Community
    • Code of Conduct
    • Health & Safety at EclipseCon
    • Community Resources
    • 2022 Speakers
    • Information for Speakers
  • Sponsors
    • Be a Sponsor
    • Information for Exhibitors
    • Our Sponsors
    • Sponsor Testimonials
  • Venue
    • Conference Venue
    • Hotels
    • Ludwigsburg
  • About Us
    • EclipseCon 2022
    • Program Committee
    • The Eclipse Foundation
    • Past Conferences
    • Other Events
  1. Home
  2. EclipseCon
  3. EclipseCon 2022
  4. Sessions
  5. Modeling and more - Experiences in building an efficient model infrastructure

Modeling and more - Experiences in building an efficient model infrastructure

Session details
Status: 
Accepted
Speaker(s): 
Harald Mackamul (Robert Bosch GmbH)
Experience level: 
Intermediate
Tags: 
EMF
modeling
eclipse tooling
Session Track: 
Modeling Tools & Technologies
Session Type: 
Standard

The Eclipse Modeling Framework enables developers to easily build models and provides a mature infrastructure. However, it is difficult to know the possibilities of EMF and to assess the many extension projects that are available in the Eclipse ecosystem. The talk will describe the journey and the pitfalls of defining the AMALTHEA model and implementing the model infrastructure in Eclipse APP4MC. The platform is in use in the automotive industry and provides (after several optimizations) the following features:

  • efficient handling of large real-world models with hundred thousands of objects
  • extendible use-case specific validations (open source additions are contributed by 3rd party tool vendors)
  • reusable Java components (model, validation, migration) published on Maven Central
  • extendible visualization framework

The talk will show our attempts and choices regarding the following topics:

  • Model definition with Xcore
    • Unique identifiers (Intrinsic IDs)
    • Derived attributes
    • Custom data types
  • Customizing (standard)
    • Annotations to customize the UI
    • Validation: extended metadata constraints, invariants
    • EMF.Edit: icons, labels
  • Customizing (extended)
    • XMI Serialization: folder scope, cross document links, ...
    • Editor: virtual folders, ...
  • Platform extensions/optimizations
    • Model index (supports fast search and delete)
    • Backpointers as derived attributes
  • Model creation
    • Xtend with a builder pattern (used in unit tests)
  • Validations
    • Specific validations organized via profiles
  • Model modification using the Java API
  • Migration (convert model instances to newer versions of the meta model)
    • XML/DOM-based migrators
  • Documentation
    • Ecore Diagram Editor, APP4MC EMF Viewer
Slides: 
PDF icon 2022-10-26_Modeling_and_more_(talk).pdf
Objective of the presentation: 
Summary and experiences of defining a real-world EMF model and implementing the model infrastructure in Eclipse APP4MC. Several components are based on EMF only and can be reused by other projects.
Attendee pre-requisites - If none, enter "N/A": 
EMF basic knowledge will help
Schedule info
Time: 
26 Oct 2022 - 10:45 to 26 Oct 2022 - 11:20
Room: 
Bürgersaal 2
  • Sign in to post comments.

Elite

  • IBM
  • Huawei

Premium

  • Yatta Solutions GmbH
  • Red Hat
  • Eurotech

Basic

  • Obeo
  • Mercedes-Benz Tech Innovation
  • Bosch IO GmbH
  • TypeFox GmbH
  • SCANOSS
  • EclipseSource
  • SSI Schaefer IT Solutions GmbH
  • ARCAD Software

Media

  • GermanTechJobs

Become a Sponsor

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace
EclipseCon is brought to you by The Eclipse Foundation with the support of our sponsors.
Powered by Drupal and built on COD.

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top