Under UML Project, in a class diagram, when I try to select a type for an attribute, RSA 8 is providing an option to select primitive types of Java and UML only from "Select Element for Type" pop-up box. But, I want to select non-primitive types of Java as well as from other jars such as log4j. How might I do that?
If you have the source containing the types (classes) you wish to use you could:
modelLibrary
stereotype to the model (select the model, and click Apply Stereotypes...
on the Stereotypes tab)Then back in your original UML model (the one where you want to add the types)
Import Model Library...->Library in Workspace
)When you transform your UML model to Java, it should generate with the correct types and import statements, so you'll just have to ensure those classes on the the build path.