facebook

Adding new stereotype

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #250220 Reply

    cmnewcomer
    Member

    I’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

    #250236 Reply

    Kapil Kapre
    Member

    Carl,
    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,
    Kapil

    #250239 Reply

    cmnewcomer
    Member

    Kapil,

    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-GA

    Eclipse
    Version: 3.1.2
    Build id: M20060118-1600

    It 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

    #250251 Reply

    Kapil Kapre
    Member

    Yes, your version is up to date. Glad you got it working.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Adding new stereotype

You must be logged in to post in the forum log in