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.

Bug 150203

Summary: Some UML critics
Product: uml Reporter: Peter Nabbefeld <epdv>
Component: General DiagramAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Peter Nabbefeld 2008-10-15 11:38:11 UTC
First: UML is great! However, there are some small problems:
1. Using an old diagram, there's a problem with non-ASCII characters,
   the old diagram files don't use UTF-8, though declared as their
   encoding type: http://statistics.netbeans.org/analytics/detail.do?id=92087
2. The same conversion does not use the original background colours and
   sizes - this results in a badly layed out diagram.
3. UML diagrams now enforce a┬┤left or right alignment of components, cannot
   find out how to stop this annoying "feature". It makes correcting the
   layout even harder, as compartments snap in where they shouldn't. Also,
   I'd prefer a center layout for components, as they often have different
   width.
4. Bends do not snap in.

(3) and (4) should be solved by raster and compartment options (either in
project properties or options panel).

One question: Will there be any MDA integration available?
Comment 1 Sergey Petrov 2008-10-15 12:01:40 UTC
Thanks, for feedback.
But in future it's better to have one problem per issue.
Also please provide more information about conversion problem. It's known limitation about background importing but
sizes/layout should be the same (or almost the same as in 6.1).
Comment 2 Peter Nabbefeld 2008-10-17 07:19:20 UTC
(1) I had to convert the xml files of the diagram to UTF-8 manually before I could import them.
(2) I've had multiple comments using automatic line wrapping, which seems not to work on import.
    As the text is one line of text, without wrapping the lines it results in a silly comment
    box with a huge width and little height.
Comment 3 Sergey Petrov 2009-01-27 12:57:23 UTC
may be it need to be added to uml faq, because "old" diagrams do not contain encoding information it may be hard to made
conversion automatically.