facebook

import existing package to UML model

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

    Annie Xie
    Member

    I’m trying to import jdk and Struts packages into my UML model. Is this possible?

    #249257 Reply

    Kapil Kapre
    Member

    Currently you can reverse engineer any java file with the UML Editor. If it has any dependencies on any jars that are present in the build path MyUML tries to re-create the outline for the classifiers using data from the jar. You *cant* however drop a jar file directly into UML

    #249520 Reply

    Brice Ruth
    Member

    @support-kapil wrote:

    Currently you can reverse engineer any java file with the UML Editor. If it has any dependencies on any jars that are present in the build path MyUML tries to re-create the outline for the classifiers using data from the jar. You *cant* however drop a jar file directly into UML

    OK, so how do I use a java.util.Map as a parameter for a new class I’m designing?

    #249521 Reply

    Kapil Kapre
    Member

    Could you state a use case that does not work for you?
    FYI: We recently added in some fixes in the reverse engineering logic so please upgrade to the latest version to avoid experiencing fixed issues.

    Thanks,
    K

    #249522 Reply

    Brice Ruth
    Member

    @support-kapil wrote:

    Could you state a use case that does not work for you?
    FYI: We recently added in some fixes in the reverse engineering logic so please upgrade to the latest version to avoid experiencing fixed issues.

    Thanks,
    K

    I guess the problem is that I’m not reverse-engineering. I’m forward engineering, creating a UML design for a component. I have an operation that will take a Map object – I’d like to model that specific data type, but it isn’t available in the drop-down, and from what I can tell, I cannot simply write it in.

    Cheers.

    #249524 Reply

    Kapil Kapre
    Member

    Ah, There isnt any easy way to add common (custom to the editor though) data types w/o re-creating the entire package hierarchy. Your best bet would be to reverse engineer a dummy class that uses all the data types you want then delete it.

    #250653 Reply

    And this is my problem as well. I want to model that a class inherits from a Spring base class. The spring jar is in the project, so I should be able to drag the class from the jar and drop it on my diagram, and poof it’s there.

    #250683 Reply

    Kapil Kapre
    Member

    We currently dont support dropping classes directly from jars.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: import existing package to UML model

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