facebook

[Closed] how to add classes to the Type dropdowns?

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

    D R R
    Member

    I did a search but couldn’t find any info on this, or in the MyEclipse help..so here goes:

    How do I add class names from external jars to the drop-down lists for setting the Type for return values and parameters?

    Right now I want to display some java.io.* classes, but later I could see the need for using classes from external jars (say Spring). I have an Interface with a method that returns java.io.File.

    I plan to have MyEclipse generate and watch Java files based on the UML…so I need to have all possible class names available.

    #249781 Reply

    Kapil Kapre
    Member

    That isnt user customizable directly. The list shows all existing Types along with some pre-loaded ones. You would have to create a package->class hierarchy in any existing diagram so that that class/interface showsup. A neat trick is to simply reverse engineer a dummy class that uses those types so that they get added automatically (requires latest ME) then you can delete the class, retaining the new types.

    #249821 Reply

    D R R
    Member

    Thanks! That worked just fine.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] how to add classes to the Type dropdowns?

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