Eclipse UML Tool - eclipse

I already tried a few tool for eclipse which are for building UMLs (Object/Dependency Diagrams), but what I really need is a tool to generate such an UML out of code. (and not vice versa)
I'd prefer a simple UML tools which is easy to install and don't has any dependencies. I already tried Jupe, Omondo and eUML, but anyhow I'm still not really happy with them.
(I also found this: Eclipse UML plugin with Java Code Generation)

Try the most common CASE tools like MagicDraw or Enterprise Architect.
They have reverse engineering capabilities and they are most powerful (especially auto formatting the diagram elements may be useful).
If you want / need to stay inside Eclipse, have a look at this topic which is very similar to your question.

Related

Draw a graphical UML diagram from .uml files of Eclipse UML2

I have created MyExample.uml file through Eclipse UML2 package.
(I followed http://wiki.eclipse.org/MDT/UML2/Getting_Started_with_UML2 )
Then I got the XMI file defining UML components and relations.
Then, how can I draw a graphical UML diagram from this XMI automatically?
Disclaimer: I haven't tested this so can't confirm it works. It is documented however.
Install Papyrus.
Follow these instructions to generate a diagram.
Like you I suspect, I assumed the standard Eclipse Modelling Tools would include graphical editors. If they do I didn't find them. By installing Papyrus I was able to create uml diagrams manually; hopefully you can generate one too.
If you try this, it would be good to know if it works. Again apologies for not testing before posting, I don't have access to a suitable environment at the moment.
hth.

Eclipse modeling

I search for tool that can generate code from UML diagram for Eclipse. The tool should generate code from UML diagram, reverse engeneering to see code changes, and merge option to prevent the deletion of the file for any change.
Is there tool that do that, or is it too much to ask?
If you like Eclipse based tools, I could recommend the free Uml to Java generator from Obeo, which may be downloaded from the Marketplace:
Help -> Eclipse Marketplace...
However, I think that it doesn´t completely fit your needs, since I believe that it doesn´t provide reverse engineering facilities. Also note that they use Acceleo for code generation, which is the reference OMG specification implementation.

UML tool for reverse engineering an eclipse project

I am currently working on a project in Eclipse but the problem is that this project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to make a reverse enineering of the project to see his architecture in UML. Do you know an eclipse plugin who can complete this task very easily? Thanks for your answer !!
I think MoDisco is what you are looking for ( here for a short intro)
It seems that the question is dealing with Eclipse plugin therefore Modisco and StartUML are not a possible choice because they are either not a graphical class diagram viewwer or an Eclipse plugin.
The tools that I have evaluated and selected are:
Topcased can reverse a project and gives an UML view. The reverse is good even if not recursive. I mean that you can detect only object having their own information such as class, interface, package, method and attributes but you can not detect calls between classes because this require a recursive reverse.
eUML will give you a visual class diagrams and the possibility to navigate but no model only EMF tags inserted inside your own code. I like the visual representation of the class diagram but having EMF tags in my code is too intrusive !!
You can try RSA which is a pretty good reverse having a real UML model but you will also get EMF tag in your code
The best for me and with no doubt is EclipseUML Omondo with no tag in the code and a high quality UML model but it is really too expensive !!
I'd advise StarUML or StavrUML, the unofficial fork. It reverse engineers code compliant with Java versions before 1.6 or something. Yes, the project was abandoned years ago, but the UML editor remains incredibly strong and powerful.
However, I'd avoid using reverse engineering a UML diagram. You'll probably get an unreadable mess out if it. Just get stuck in and make it manually :)
I'm sure you can find a suitable tool for your needs if you check these.

Java NetBeans Comments Class Diagram Helper

i am starting to learn Java using Netbeans 6.8 IDE.
i am wondering if there is a utility in NetBeans similar to VS2008 that facilitates commenting code and later display these comments in class diagrams?
thanks.
EDIT: i found the Javadoc feature. it is some help but not that great.
The NetBeans UML Plugin is not supported in NetBeans 6.8 (according to this thread, it may come back in 6.9). The recommended alternative is to use SDE for NetBeans from Visual Paradigm (they do offer a free, community edition of their UML tool that works with NetBeans).
Some alternatives (based on Javadoc style annotations that will generate diagrams in javadoc):
APIviz - APIviz is a JavaDoc doclet which extends the Java standard doclet. It generates comprehensive UML-like class and package diagrams for quick understanding of the overall API structure. (Check the samples!)
UMLGraph - (...) In addition, the UMLGraphDoc doclet included in this distribution automatically adds UML diagrams to javadoc documentation. (Example in this article).
yDoc (commercial) - Example in the statsvn project.
Doxygen - an alternative to javadoc
Personally, I would consider APIviz (that you can call from build tools like Ant or Maven). Really, check this sample to get an idea of the result.
NetBeans used to have a UML module, however it's been discontinued since version 6.7. What you can do as a workaround is install an older version of NetBeans alonside your current version, and use the older version to generate the UML diagrams from your code.
Other tools you might look at are Doxygen, which will auto-generate documentation like Javadoc. Paired with graphviz, it can generate visual call graphs, which Javadoc does not do.

Are there any user interface prototyping tools for Eclipse?

I am looking into designing new features for Eclipse-based programming tools, from the requirements/ideas perspective. To really do this quickly, I would like to sketch UI elements without having to code things -- my concern is with the concepts and ideas right now, not the possible later realization. Are there any such graphical sketching tools for Eclipse?
(on a side note, I should also note that I find Eclipse a better idea every day, in the way that you can combine partial systems from very many different sources into a single environment. It really is the future of IDEs, especially for embedded systems. It used to pretty horrible pre-Eclipse-3.0, but now it does seem to work)
WireframeSketcher is a tool that helps quickly create wireframes, mockups and prototypes for desktop, web and mobile applications. It comes both as a standalone version and as a plug-in for Eclipse IDEs. It has some distinctive features like storyboards, components, linking and vector PDF export. Among supported IDEs are are Aptana, Flash Builder, Zend Studio and Rational Application Developer.
(source: wireframesketcher.com)
Incidentally, NetBeans is known for having a really good GUI editor (Matisse), but I realize that you weren't asking about NetBeans :)
I've tried the Visual Editor Project before, but in the past it crashed my instance of Eclipse, and I haven't visited it since.
Jigloo is a new one that I'd like to try out soon.
This is really specific to Eclipse: it is the platform of choice for general IDEs today, and I am looking to sketch out extensions to it. The target programming language is more likely to be raw assembler and C than anything else -- OS, driver, system-level debug.