I failed to represent, in a class diagram, a class construct by 2 object from 2 others classes(a constructor with two parameters, where the parameter types are two other classes). I create my first class (A) empty then the second (B) empty too. Then I add a property to the first but I can't use B.
The tool is UML designer (for eclipse). My step are:
- creation of empty Class A
- creation of empty Class B
- creation of empty Class C and fail to "fill" Class A with 2 objects, instances of Class B and c.
To create an property b of type B in class A in UML Designer, create a new property for class A and type
UML Designer will automatically look for a class called B.
See https://www.umldesigner.org/ref-doc/implement-the-application.html#manage-features.