Hi
Two profiles: "UML Standard Profile" and "Data Modeling" (ERD) contains definition "table" stereotype.
When I drag table class on ERD diagram then UMLClass is created with stereotype "table" defined in ERD profile.
But when I change name of UMLClas on diagram then "table" stereotype is exchanged for "table" stereotype from "UML Standard Profile".
This is unwanted, because diagram rendering is based on UMLClass with StereotypeProfile = "ERD"
How to block this unwanted exchange?
(in other ways than "change name with Properties Editor")
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like a bug. I will have to look closer at it. Temporarily you may consider renaming the "table" stereotype in UMLStandard.prf if you do not use it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There must be some lottery running inside. I created a fresh build (5.6.2.1) and now it looks ok again. I will need to track how that stereotype selection is actually going.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
5.6.2.1 does not fix it yet sorry..
I start to understand the problem. Another hack to increase priority of ERD is to restore <AUTOINCLUDE>False</AUTOINCLUDE> to its original value <AUTOINCLUDE>True</AUTOINCLUDE> in erd.prf. That change is the source of the problem. I will try to find a more intelligent solution than swapping the search order...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have small request yet.
Can you restore behavior (like in 5.5.8) with setting default tab assigned to active diagram type on Tagged Value Editor?
Acctualy, when I have opened ERD Diagram and open Tagged Value Editor - the UML Standard tab is active instead ERD tab.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is a bit random and related to the order the profiles were activated when the project was created. Now activation of ERD is not automatic so its priority is lowered. I think I could add some intelligence in picking a tab related to the profile if an item has its stereotype defined.
For now in a save file (.uml) you can find lines like:
Hi
Two profiles: "UML Standard Profile" and "Data Modeling" (ERD) contains definition "table" stereotype.
When I drag table class on ERD diagram then UMLClass is created with stereotype "table" defined in ERD profile.
But when I change name of UMLClas on diagram then "table" stereotype is exchanged for "table" stereotype from "UML Standard Profile".
This is unwanted, because diagram rendering is based on UMLClass with StereotypeProfile = "ERD"
How to block this unwanted exchange?
(in other ways than "change name with Properties Editor")
It looks like a bug. I will have to look closer at it. Temporarily you may consider renaming the "table" stereotype in UMLStandard.prf if you do not use it.
There must be some lottery running inside. I created a fresh build (5.6.2.1) and now it looks ok again. I will need to track how that stereotype selection is actually going.
5.6.2.1 does not fix it yet sorry..
I start to understand the problem. Another hack to increase priority of ERD is to restore <AUTOINCLUDE>False</AUTOINCLUDE> to its original value <AUTOINCLUDE>True</AUTOINCLUDE> in erd.prf. That change is the source of the problem. I will try to find a more intelligent solution than swapping the search order...
5.6.2.2 should be more intelligent in this matter now.
Thank you Janusz
That is it!
I have small request yet.
Can you restore behavior (like in 5.5.8) with setting default tab assigned to active diagram type on Tagged Value Editor?
Acctualy, when I have opened ERD Diagram and open Tagged Value Editor - the UML Standard tab is active instead ERD tab.
It is a bit random and related to the order the profiles were activated when the project was created. Now activation of ERD is not automatic so its priority is lowered. I think I could add some intelligence in picking a tab related to the profile if an item has its stereotype defined.
For now in a save file (.uml) you can find lines like:
Swapping them should change profile priority and how the tabs are shown.
Thanks, swapping work for me.
But it would be nice if it can be selected automatically, based on a stereotype and his profile.
It should be improved now in 5.6.2.3