This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Nested link is not created between class elements on element dependencies diagram | ||
---|---|---|---|
Product: | uml | Reporter: | bugbridge <bugbridge> |
Component: | Diagram Class | Assignee: | issues@uml <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | sunflower |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bugbridge
2006-06-19 22:34:36 UTC
We do not automtically create link on the diagram. If the user wants the link, they should use the relationship discover button. We are not going to try to read the user mind. It is not true. Try to put two classes on the class diagram, go to source code ofthe second class and extends it from the first class. The 'Generalization' link appears on the class diagram without any addition user's actions. Please, add the 'nested' link in the same way. Source to model is a different issue. We are not talking about source to model in this issue. In this issue you are taking control of the drawing by drawing the diagram. By putting the model element into a diagram that is owned by a namespace means that the element is owned by the namespace. When you draw a model element that is owned by a package, we do not automactically draw the nested relationship to the outer package (if it is present on the diagram). It is reduntent and clutters up the diagram (because just about every element in the diagram will have the nested relationship.) In the source to model situation, we are drawing the diagram based on the source code. Basically you are talking about the difference between wearing a coders hat and wearing a modelers hat. When you drag a model element from the project tree onto the diagram, we will create the relationships for you. That is because we found that is what user want. Also most UML tools do the same. But none of the tools discover relationships when you drop a new model element onto a diagram. If we put nested links all over the place the diagram would be cluttered. |