cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Object with inherited abstract metaclass not showing (and not persistent) on diagram.

acanicio
Super Contributor

Hello everybody,

Here I am with a new question.
I managed to successfully create a diagramtype with all required blocks, and the diagram is now available.
This means that as a user I can create a new diagram of the specified diagram type and add objects in it.

However I'm running into an issue.

In the diagram I can now create new objects (instances of metaclasses) as long as the metaclasses are simple ones (no inheritance).

When I try to create an object whose metaclass inherits from an abstract metaclass, I get the correct dialog box, but once I hit the "Create" button, the dialog box closes, and nothing else happens. The object is not created, not shown.
If I use the "search" function to find instances of the considered metaclass, an empty list is returned.

This behaviour is systematic, and exclusively metaclasses that inherit from other metaclasses are concerned.
Does anyone have an idea of why this may happen ?
What am I missing ?

Do I have to also create metaassociations between abstract metaclasses and the "Diagram" metaclass ?

 

Thank you !
Best regards
Axel

0 Replies