Eclipse plugin for generating a class diagram [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
What is a good Eclipse plugin for generating a class diagram (for a project)?
This image right here is exactly what I'm talking about.

Assuming that you meant to state 'Class Diagram' instead of 'Project Hierarchy', I've used the following Eclipse plug-ins to generate Class Diagrams at various points in my professional career:
ObjectAid. My current preference.
EclipseUML from Omondo. Only commercial versions appear to be available right now. The class diagram in your question, is most likely generated by this plugin.
Obligatory links
The listed tools will not generate class diagrams from source code, or atleast when I used them quite a few years back. You can use them to handcraft class diagrams though.
UMLet. I used this several years back. Appears to be in use, going by the comments in the Eclipse marketplace.
Violet. This supports creation of other types of UML diagrams in addition to class diagrams.
Related questions on StackOverflow
Is there a free Eclipse plugin that creates a UML diagram out of Java classes / packages?
Except for ObjectAid and a few other mentions, most of the Eclipse plug-ins mentioned in the listed questions may no longer be available, or would work only against older versions of Eclipse.

Must it be an Eclipse plug-in? I use doxygen, just supply your code folder, it handles the rest.

Try Amateras. It is a very good plugin for generating UML diagrams including class diagram.

Try eUML2. its a single click generator no need to drag n drop.

Related

UML and its equivalent Java Code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have drawn UML class diagram. Now, my task is to convert that UML class diagram to equivalent Java code.
I do not want to use any automated tool, which generates Java code from UML diagram.
Kindly provide some pointers (webLink, PDF file , other), which talks about UML and its equivalent Java Program.
This 11-page PDF describes a mapping from UML notation to Java conventions. For example, implementing cursors as Java Enumerations, reducing multiple inheritance to single, etc.
Here is a 4-part article on the same subject:
Part 1
Part 2
Part 3
Part 4
If you don't want to use an automated tool, the only alternative is to open a text editor or IDE and create each Java class's .java file by hand.
For every UML class, create a Java class. Add all the methods and data members you want in those classes.
If there's inheritance called for by the model, have your Java classes extend those classes or implement those interfaces.
Did I misread this question?
I do not want to use any automated tool, which generates Java code from UML diagram.
Then use Eclipse or vi :)
If you know how class diagrams work, then you should be able to write a Java program from the diagram.
A class diagram has attributes, functions and relationships. In a Java class, the attributes are variables and the methods are functions. The relationships in Java are either extends (for inheritance) or implements.
If there are other specific things that aren't obvious you could ask, but you should be able to translate to code from the design pretty easily.

UML reverse engineering tools for Eclipse or Maven [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
do you know any good reverse engineering tool that creates UML diagrams from Java code and Hibernate mappings across multiple projects, in Eclipse or Maven (not in the Javadoc)?
Thanks
Visual Paradigm creates recursively class diagramms from a source tree (navigatable) multiple projects are handled by adding muliple sources.
Db reengineering isn't that strong on large db schemas.
I doubt that Paradigm has support for hibernate mappings.
It sounds little bit like you're trying to catch up design after things get complicated ;-)
Try also Eclipse MoDisco, although it has no support for Hibernate as far as I know, but it allows extensible reverse engineering and is built on top of the EMF project.
Hibernate is possible just type "jpa annotation uml" into google and select one of the tool.
Standard Java without annotation is supported by almost all UML tools such RSA, MAgicDraw, eUML, Omondo etc...

Where can I find a Java library for code highlighting? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm trying to find a Java library to highlight code. I don't want to highlight Java code. I want a library that will easily allow me to highlight a macro language of my own, in a code editor of my own written in Java.
JSyntaxPane is decent. Advanced and decent IDEs use either Lexer/Parsers such as Antlr and Javacc or regular expressions. Implementing it correctly is not a trivial task.
As you mentioned "a macro language of my own", I suggest taking a look at Lexer/Parser generators for Java and maybe JEdit syntax package source code(google it, reached the maximum hyperlinks) for lexing strategies.
GesHi is pretty good. There is a list of highlighters here.
UPDATE: missed that you wanted a java lib. Try jedit syntax package.
You might look at the Java port of GeSHi named JaSHi. It looks like it is a complete rewrite of the popular PHP package, with Java bindings.
JSyntaxPane may be the way to go. It will highlight a number of languages and is extensible to handle others.
You may want to take a look at xtext - it does a lot more than syntax highlighting; in fact, you only have to define a grammar, and it will generate an eclipse editor plugin with outline, syntax highlighting, syntax checking and autocompletion automatically. It could save you a lot of work if an eclipse editor plugin is an acceptable end result for you.

Need recommendatins on a Java open source project for an academic study [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for a Java open source project for an academic study on test cases.
I need a project with 20-40 KLOC and at least a 100 JUnit tests.
A project that was developed using TDD methodology is prefered.
Something that I can drop in eclipse and run all the tests with minimal overhead for setups.
Any recommendations?
It's amusing that you say "drop in eclipse", as some parts of eclipse were written with TDD and have relatively large numbers of LOC. You may want to go that route. I know, for example, that the Eclipse-based FORTRAN IDE project is one such endeavor.
The Spring framework? May be too large perhaps.
There are any number of projects you can use. You could look at the BouncyCastle encryption library.
http://bouncycastle.org/java.html
To help with your search, you could have a look at Koders (http://koders.com/), the source code search engine. They have information about LOC for open source projects.

Best source code formatter for Javascript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've been digging through Stack Overflow as well as a number of Google searches, and I cannot find a satisfactory code formatter for JavaScript.
I have found several related tools, such as syntax highlighters and pretty-printers, but I am looking for a tool that I can ideally create a wrapper for in Eclipse and simply run from the menu bar. Hence, if any Java-based ones are available, that is a big plus. Free and/or open-source is preferred as well.
I am looking for something that my development group can use to maintain a consistent code style.
Edit: Thanks to kRON for linking to the format customizations page.
Edit: Related question on Stack Overflow.
This is by far the best I've come across: http://jsbeautifier.org/
Available as an online tool, or on the command-line using node.js or python.
The source code is available.
In one breath: Aptana Studio! Yes, it's Java based and free (Eclipse, as standalone or plugin).
You can also customize the formatting.
If you already use Eclipse, I recommend you to try Aptana, you can install it as an Eclipse Plugin.
For Eclipse IDE you can use JavaScript Code Formatter based on Goolge's Style Guide
For IntelliJ IDEA you can use the same js code formatter xml file , but previously you have to install a special plugin Eclipse Code Formatter Plugin, which solves the problem of maintaining a common code style in team environments where both IDEA and Eclipse are used
If you also need Java programming I can recommend 'IntelliJ IDEA'
It offers excellent JavaScript formatting and refactoring out of the box.
Have you tried jsfiddler. It's great for trying things out with Javascript. Built in JSLint & something called Tidy. Not sure whether that infers jstidy Piotr Zalewa is the guy who wrote it. May be worth giving him a Tweet #zalun to confirm.
If you are using notepad++, you can try jsminnpp plugin

Categories

Resources