I have a class within a package. And I have another class in another package. I would like to link this second class to first. Since the first is a legacy of the second. I’m not able to make this relationship. We tried, but in neither case are the methods of the second brought the first.
Any help is welcome.
Thanks

Class A

Class B
The ownership of Class A, should be visible within the class B. Where A and B are in different folders. And B, I put an “Instance” of A.
Apparently, you need to create this relationship in some diagram that contains both classes. Remember, you can have multiple diagrams that link to one and the same class in some (other) package / namespace.
Either create a new diagram that exclusively handles the inheritance (and other relationships) as described in here: http://www.sparxsystems.com/WhitePapers/Version_Control.pdf
Or, you just drag the foreign class onto the diagram you are currently working on, create the relationship and then remove the foreign class afterwards. The relationship will persist. Note that you should not drag/drop/delete the class in the project view as this will lead to changes in the packages.
The first solution has the advantage that there is an actual UML representation of the relationship. On the other hand, adding another bunch of diagrams for just the cross-package relationships might clutter the project view but this is up to you after all 🙂