Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: ajaxx on November 08, 2004, 01:35:50 pm
-
Hey, I've tried to figure this one out, but its really beginning to bug me. I'm using build 738 and I'm trying to override the stereotype for Class Declaration (I'm building a typedef stereotype to address our need for them). I click Add New Stereotype Override, it pulls up the dialog with two blank comboboxes, I pull down the first one to "typedef" and leave the second blank (I've tried variations doesn't help). I then press okay, it accepts it and then does nothing. No error, no new override.
Has anyone else run into this problem or is this a bug?
-
??? That's odd. It works for me (regardless of the version or repository type)
When I do it there is a new entry in the Stereotype Overrides list with Class=typedef and Modifier=Yes. That template is selected and the template itself is the same as the original (unmodified) template.
I hope you can find the problem.
Simon
-
Yes, its quite odd. As a follow up, I've tried the following variations (and you'll find the results are just plain wierd).
Alright, I had a stereotype for "typedef". I added an override for Class Body, but could not add one for Class Declaration. So I created a new stereotype "alias". I was able to add an override to Class Declaration for alias, but I could not add one for Class Body.
So, I removed all of the overrides I had added. And reverted to the default templates. Went to Class Body, added an alias override and made NO changes. Then I went to class Declaration and added an alias override and it took as well. So now I have what I wanted, and I'm not entirely sure why it took in the final case.
I hope this helps, if I can give anymore feedback that would help people looking at this, let me know.