Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1301] Add support for inter model references #1303

Merged
merged 5 commits into from
Oct 5, 2022
Merged

Commits on Oct 5, 2022

  1. [releng] Switch to EMFJson 2.3.2-SNAPSHOT

    Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
    lfasani committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    a1f4277 View commit details
    Browse the repository at this point in the history
  2. [1300] Rename SiriusWebJSONResourceFactoryImpl to JSONResourceFactory

    Bug: #1300
    Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
    lfasani committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    f0334af View commit details
    Browse the repository at this point in the history
  3. [1301] Add support for intermodel references

    The referenced object concrete type is now serialized in JSON resource
    JSON resources should now be created with the right scheme
    
    Bug: #1301
    Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
    lfasani committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    208c26c View commit details
    Browse the repository at this point in the history
  4. [1301] Add a cross reference adapter to clean the inverse references

    This adapter specializes ECrossReferenceAdapter in case of deletion of
    an EObject or a Resource in order to:
    * clean the proxies of the inverse references
    * clean the ECrossReferenceAdapter itself
    
    Bug: #1301
    Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
    lfasani committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    f3a08e0 View commit details
    Browse the repository at this point in the history
  5. [1301] Adapt sirius-web code to support inter-model references

    * Use a correct URI to instantiate a JSONResource. The URI should have a
    scheme "sirius"
    * Only resources with "sirius" scheme are persisted and displayed in the
    Explorer
    * This commit also ensures that, if a specific resource factory has been
    registered, it will be used to instantiate the XMI resource at download
    * Forbid the upload of a single document that contains proxies. The
    check is not done when uploading a project.
    
    #1301
    Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
    lfasani committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    adbf143 View commit details
    Browse the repository at this point in the history