Skip to content

Profile Support #1

Description

@aranega

The current implementation works well for UML diagrams without applied profiles. The idea is to be as much compliant with the Eclipse implementation as possible.

I've performed some tests about deserialization (profile deserialization and model with applied profile deserialization). At the moment, the code is a little ugly, but it works!

The POC state is the following, I'm able to:

  • load a profile with its references to the UML metamodel self defined (UML defined in UML)
  • load a model which have a profiled applied on it, and see its stereotypes instances
  • load the UML metamodel defined in UML
  • navigate from a model to the applied profile
  • navigate from a profile to the UML metamodel defined in UML

These points currently need some fixes that are present in the PyEcore develop branch.

The final support should include

  • these previously mentionned points,
  • the implementation of related methods in the code (i.e: apply_stereotype...),
  • the profile "definition" (transformation from Profile to Ecore),
  • the profile/model serialization in order to be Eclipse-EMF/UML2 compliant.

I will use this issue to report the progresses I made on this POC.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions