Hello,
I am creating an UML profile with new stereotypes in it.
Some of them have an image attribute where a jpg is assigned to it via a shape script e.g.
shape main{
image( "smiley.jpg", 0, 0, 400, 200);
}
When I import this UML profile in another EA project and use my custom stereotypes, the appearance of the elements is just a grey rectangle.
I have to do the following to get the images visible in the target project.
1. Add the image via Settings | Images.
2. Give the image the same id as in the UML profile.
But after this, the images are still grey.
3. Additionaly I have to close the EA and reopen the target project.
Than I have the images in my diagrams.
Now my questions:
I. It is nonsens, that in the target project where the UML profils is imported, the images have to be imported manually too and giving them the same names as in the profile.
The user can't know the images and their names.
How can I manage, that the images are importet automatically, when the profile is imported?
II. Is it a bug, that the images stay grey and I have to close the EA and restart it to get it visible?
Regards
Michael