I am unable to get alternate images to show up by default in my MDG. This should be fairly simple, but I cant make it work. I create the following in my source profile:
1. <<metaclass>> for Class
2. I extend it with a stereotype.
3. I select an alternate image for the stereotype.
4. Export the profile, selecting all the export options.
The following is written to the profile.xml (i've removed most of the base64 data):
<Stereotype name="HotSpot"
notes=""
cx="52"
cy="65"
bgcolor="-1"
fontcolor="-1"
bordercolor="-1"
borderwidth="1" hideicon="0">
<Image type="Metafile"
xmlns:dt="urn:schemas-microsoft-com:datatypes"
dt:dt="bin.base64">ADgAAABQAAAAAAAAAEAAAABQAAAA= etc
</Image>
<AppliesTo>
<Apply type="Class"/>
</AppliesTo>
</Stereotype>
The exact same thing shows up in the MDG XML file. When I import the MDG, everything works as expected except that the alternate image does not get rendered. I have several other stereotypes in the file that use shape scripts and they work fine. The values of cx="52" and cy="65" are honored appropriately on new elements, and everything shows up in the toolbox as it should. I'm restarting EA every time, creating a brand new project, and incrementing the version # on the MDG to make sure i have the latest one. I'm quite certain my refresh process is good, because I can tweak things like bg color in the profile and the show up in the MDG. Just the image doesnt.
Furthermore, if I load the profile manually, through the Resources dialog, the alternate image shows up correctly, both for new and existing instances of the stereotype. I'm really pulling my hair out here. 3 full days invested, and I cant create the simplest MDG with one Emf override.
~Bill