- This topic has 7 replies, 4 voices, and was last updated 18 years, 7 months ago by Kapil Kapre.
-
AuthorPosts
-
Annie XieMemberI’m trying to import jdk and Struts packages into my UML model. Is this possible?
Kapil KapreMemberCurrently 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
Brice RuthMember@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?
Kapil KapreMemberCould 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
Brice RuthMember@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,
KI 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.
Kapil KapreMemberAh, 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.
James A BarrowsMemberAnd 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.
Kapil KapreMemberWe currently dont support dropping classes directly from jars.
-
AuthorPosts