Unless I'm mistaken, the user guide for the redefines specifies that you need to use the same name.
Not that it matters, I have explicitly said here in the past that much of the DB modeling functionality within EA explicitly checks for the exact fully qualified stereotype name. ie. It explicitly does not check for inheritance.
The only way I can think of to add an element with two stereotypes from the toolbox is to create a pattern for that element type and add that pattern to the toolbox.
I've NOW had a chance (time and resources permitting

) to investigate this issue and come up with an architecture to meet our requirements.
Firstly, let me restate the requirement:
We wish to take advantage of the inbuilt (and hardcoded) Data Modelling functionality whilst allowing the use of a shapescript "overlay" that gives us more control over rendering.Issues:
The functionality is hardcoded and therefore in order to make use of it, the appropriate EAUML::<stereotype> stereotype needs to be available to the item.What we found:
As explained below, we tried to (manually) create an MDG entry:
("DBTbl" ... generalizes="EAUML::table" baseStereotypes="EAUML::table" redefines="EAUML::table")
as noted, we still had to add the EAUML::table in order to "restore" the required functionality.
Eve suggested that "DBTbl" needed to be renamed to "table", but that turned out NOT to be the case! In fact, in typical EAUI fashion, this causes more problems than it solves!
Eventually, we found that the solution rested on having the EAUML::table as a
secondary stereotype, and DBTbl as the
primary stereotype
AND removing ALL reference to EAUML::table in the DBTbl definition!
This suits us as we don't need to play "games" with the metamodel. We couldn't work out how to create a redefines clause using the new metamodel - can some kind soul provide the answer (in case we need it for some other functionality?).
Now that we understand what is possible and how to do it we will implement processes to make these things as transparent to the user as we can.
Thoughts?
Paolo