Skip to content

Modeling perspective update when the metamodels are loaded #262

@seyerman

Description

@seyerman

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Improvement request
[ ] Support request => Please do not submit support request here

Current behavior

The behavior is as expected when semantics and syntax metamodels are loaded for the first time because it produces a desired change on the palettes available on the Modeling perspective, but when some different metamodels (syntax and semantics) are loaded for the second time, the Modeling perspective is not updated as expected. The palettes related to the first loaded metamodels remain on the user interface.

Expected behavior

Whenever the syntax and semantic metamodels are loaded, the Modeling perspective must be updated in order to be comply with the metamodels specification.

Minimal reproduction of the problem with instructions

  1. Click on Window file menu -> Show Advanced Perspectives

  2. Click on Semantic and operation Meta-models Perspective

  3. Click on Open icon on tool bar

  4. Choose and load the SEMANTIC metamodel of any paradigm (features, goals, constraint, etc)

  5. Click on Syntax Meta-models Perspective

  6. Click on Open icon on tool bar

  7. Choose and load the SYNTAX metamodel of the same paradigm choosed in step 4.

  8. Click on Modeling Perspective and check the properly visualization

  9. Repeat the steps 1 to 8 for other differente paradigm. In the step 8 you will see the problem.

What is the motivation / use case for changing the behavior?

Environment

Variamos version:

For Tooling issues:
Platform:
Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions