I've downloaded NetBeans 6.8 "JavaFx" bundle and trying to add UML plugin.
But when I go to "Tools"->"Plugins"->"Available Plugins" there is no "UML" plugin.
Could you please check what is wrong?
This is unfortunately as designed right now. :-( We are really tight on resources and in order to stabilise core NetBeans IDE 6.8 features there was nobody left to focus on quality of UML. There are many serious issues like bug #171788 which didn't allow us to put the UML even on Beta UC.
Alexei, can you please comment on this? Do you plan to publish UML at least on Beta UC  anytime soon? Thanks!
Thanks Jirka for rising this question. Right now we are evaluating plugins that has to be updated for 6.8, please be patient.
Any update on this Alexei? Thanks a lot!
No update so far.
Created attachment 94594 [details]
patch for 6.8 - loading a diagram from xml file
For my observation there are two main issues with the UML plugin in 6.8. I'm using it with a basic form as only a diagraming (drawing) tool. I've not used code generation etc. The two main issues are:
- does not list model elements and diagram items in the project tree after loading the project. I've digged through the code but cannot find where the error is. the code seems just OK. The items are added to the arrays, the onExpand action is fired but threre is no visual apperance of the items. There is a situation, which fill the tree with data. When one adds a diagram of model element through context menu - one level of the model/diagram is painted. But the next onExpand level does not work (only when you add something to it). With this issue i'm a begginer in NB platform coding and could not get further with it. The examples and code from other plugins are much more easier to understand than the UML project loading code.
- does not load diagram on dblclick on the diagram element in the project tree. It is caued by closing xml parser before loading elements in it. In the attachement please find small patch, which enables this diagram loading. It's very hackish because it disables some part of code, which normally (?) should be uncommented - I hope this code was compiled in the original form for 6.7 and works thus it's a bit of hack.
Alexei, can you please ask somebody from your team to take a look at this patch? Is not there a better solution than avoiding closing of the XML parser in finally block?
Thanks for your patch Slawek and your evaluation Alexei!
Slawek, thank you for the patch.
Jirka, unfortunately it's not possible to review the patch immediately.
May I have a question to NB Developers. I'll try to debug the first bug described by by (tree expanding). It would be nice, if someone can point me to the code in NB 6.8 core packages (platform) responsible for painting the project tree? I might dig it by myself, but it will be much faster when someone points me to the right direction. Thanks.
is related to this one.
Right now i'm testing 6.9 DEV "NetBeans IDE Dev (Build 201003250201)" and something is different.
When doubleclick on the diagram in the tree (to open diagram) the exception shows up:
Caused by: java.lang.AssertionError at org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent.<init>(UMLDiagramTopComponent.java:258)
This is something new as in 6.8 the exception does not show up.
Something new is also with the expanding events. Still the same is with expanding objects (in model). The content does not show up. But when i add a new diagram (to refresh the tree) elements show up AND when i add something to the diagram (on the same level) the element DOES show on the tree. In 6.8 nothing happened in this situation.
Nonetheless i haven't found anything in the NB code for fixing this issue - i'm too unexperienced for this task. It would be great, if NB team fix this issue for 6.9 release - nothing new but make it works. Many people stick with this editor for documenting purposes.
Version: NetBeans IDE 6.9 Dev (Build 201005250001)
Problem still exists.
Comment 10 -> uml
The code is too outdated to find a fix right now. Since is not compatible with current platform there's too much to do that is easier to just rewrite it. See the new attempt to rewrite it: http://java.net/projects/eidos-uml
hack for diagram loading was pushed recently.
tried to look a bit at project tree issue, no success so far, have no much experience with project tree, but it's main one. close as duplicate. other part like update center publishing may be won't fix. not sure when will have time to look more, but can review/try any patch for 171788 is someone will suggest any.
*** This bug has been marked as a duplicate of bug 171788 ***