- This topic has 3 replies, 2 voices, and was last updated 19 years, 3 months ago by
Kapil Kapre.
-
AuthorPosts
-
cmnewcomerMemberI’m trying to add a new stereotype as outlined in the Part 1 – J2EE Application Modeling with MyEclipse UML and seem to having a problem. The tutorial has the following steps:
1. Select any class in the class diagram.
2. Select the properties tab.
3. Select any stereotype from the drop-down list.
4. Select the button next to the stereotype field (<).
5. Select the New Stereotype icon (<<>>).
6. Enter “Entity” for the name of the new stereotype.After following the above steps, I get a new Stereotype at the UML Model level but I can not select or see the newly created Stereotype drop-down from the class properties tab. In addition, it appears to add a second stereotype with the same name as the stereotype used to access the Stereotype properties tab for adding a new one. The Sterotype drop-down from the class properties now shows two stereotypes with the same name.
Any help would be greatly appreciated.
Best Regards.
Carl
April 10, 2006 at 6:36 pm #250236
Kapil KapreMemberCarl,
After step #4. When you hit New Streotype , the sterotype you create will be of the base type “Stereotype” and cannot be assigned to a class. You need to make a streotype of the base class “Class” so that it can be used with a class.
You can skip step #3 and #4 here. So that when you hit a new streotype with the class freshly selected you end up creating a streotype of the type “class” automatically.FYI: We fixed a few bugs w/ streotypes in recent versions. Please make sure you’ve upgraded to the laest version to avoid experiencing fixed issues.
Thanks,
KapilApril 10, 2006 at 8:11 pm #250239
cmnewcomerMemberKapil,
Firstly, thanks for the quick responses on my questions. It is greatly appreciated.
Here are the version’s I’m running:
MyEclipse
Version: 4.1.1
Build id: 20060309-4.1.1-GAEclipse
Version: 3.1.2
Build id: M20060118-1600It took me a few minutes but I finally realized that the Properties tab had a New Stereotype (<<>>) toolbar icon. That seems to have worked.
Are the versions I’m using the most recent?
Best Regards.
Carl
April 11, 2006 at 2:55 am #250251
Kapil KapreMemberYes, your version is up to date. Glad you got it working.
-
AuthorPosts