tags:

views:

5531

answers:

4

I have Visio2007 and I really like it. However, it doesn't seem to have UML model/datatypes for Java. Is there some template I can download for Java? Or should I just forget about Visio altogether and get an Elipse plugin?

Thanks!

+1  A: 

The latter is a better option, IMHO. Further, I don't think UML Models should be specific to Java. I am not aware of, if there are any java-specific UML, around.

I found this while searching over the net. UML Models: MS Visio 2007.

Adeel Ansari
As you suspect, UML is completely language independent.
Marc
But Visio really isn't...
andy
There is an actual answer below, so please keep reading
Chepech
+1  A: 

UML is not java-specific, but data types provided in Visio are languange-dependent. I guess what I really meant to ask was whether there are Visio datatypes/packages available for Java. I didn't find any, but thanks to Adeel's comment, I now know how to add custom datatypes.

tomato
+3  A: 

There is a UML template for Java at http://maiaco.com/articles/javaAndJSInVisio.php

link text

+5  A: 

I had the same question, but then I messed around with it until I figured it out. Now bear with me, this is the first time I have ever posted and response to an answer. But since I figured it out I thought I should transfer my brain’s data into your brain (eww.. we’re interfacing).

Now to business..You can actually make up your own package and data types. What I did was I went to the “Model Explorer” tab on the left. Then right clicked on “IDL Data Types”, then clicked “Duplicate” (since I didn’t want to make my own from scratch and it pretty much has what I want). It will then make a new package called “Package 1”, right click on it and select “Rename”, I renamed mine to “Java Data Types” since that is what I am making, but you can name it “Under Pants” if you want. Then I opened my new package and right clicked each individual data type one at a time and selected properties. Then it will open up the “UML Property Editor”, from the click on “Name”, then remove the word “idl” from inside the brackets, so “boolean(idl)” now says ”boolean()”.

Now one other thing there is no “int” data type, so what you need to do is make one. It is pretty easy just right click on your newly created folder and click “New” then click “Data Type”. It should open the “UML Datatypes Properties” window. Now click inside the “Name” tab and type in “int()”, then click “ok”. And you’re all done.

See that wasn’t so bad. Heck if I can do it, you definitely should be able to do it. I hope this was understandable and helpful. If not, well I guess I have failed you and I should now fall on my sword to save my honor”

yay for 1st answer! :D
tomato
Great! Its incredible that no one has actually shared the Java data Type file, I've been serching it for hours and nothing. I did find a diagram of the complete Java API XD. This is a real answer!
Chepech