class-diagram

Automatically create class diagram from ActionScript code?

Is there a tool that can automatically generate class diagrams from Action Script code? ...

Visual Studio 2008 class diagram creates empty properties, not autoproperties

I'm using a Class Diagram in Visual Studio 2008 to create some classes with properties. I notice that when I create a new property in the Class Diagram, it comes out in code like this: public DateTime DateBilled { get { throw new System.NotImplementedException(); } set { } } Yuck. I'd much rather it e...

Using constant fields vs initial data

Hi, I'm designing some new class diagrams for extending an existing office automation application. In a special case I have an option to use extra fields on Entity1 to determine something or use additional data rows in Entity2 to determine that. I believe first approach is better because it does not force us to insert initial data while...

How relations in UML class diagram inherit?

Hi SO, I was wondering how associations, dependencies and such relations inherit in UML (or let's say, in general). So, in a situation like this: ┌──────────┐ ┌──────────┐ │ ClassA │ │ ClassB │ ├──────────┤ ├──...

Create C++ Code from Visio UML diagram

Visio 2010 Beta can generate static UML diagram from Native C++ project, and it's great. How is it possible to solve reverse problem: given a static UML diagram from Visio, generate header files? Or, maybe, there are free tools for architecture development and reverse engineering? EDIT Generally speaking, I don't need diagrams to be st...

Model diagram doesn't seem right. How else can I relate the objects?

Hey, I have a entity diagram from some analysis that I'd like to have someone look over. For some reason the System object just doesn't seem right to me. Is there a better way to relate the objects? Its basically a user authentication/management system in its infancy. http://www.dumpt.com/img/viewer.php?file=zlh8ltbtho4mutbbb3yk.gif ...

Do you know of a tool to turn an XSD definition of how classes will be marshalled to XML into a class diagram (UML?)?

I've been given an XSD file that describes how objects will be marshalled into XML. The XSD is complex enough that I can't keep it all in my head while trying to write some code to parse it (with SAX). What I'd like is some sort of tool that could turn this XSD definition into a class diagram. Do you know of any? Bonus points if it'll ...

How can I create a class diagram from my J2ME project? (netbeans used to do this)

Hey guys, thanks for reading! I have created a game and would like to automatically create a class diagram from my J2ME code. Netbeans (pre 6.5 I think) used to have uml plugin to do this, but as I am using the latest 6.8 version of netbeans I cant this old UML plugin anymore! Does anyone know how I can automatically create a class di...

Representing a C# Generic Method in a UML Class Diagram

I have the following interface: public interface IRegisterable { T Register<T>(string username, string passw) where T : User, ICanLogin, new(); } User is an abstract class, and ICanLogin is another interface. Now, I want to represent the above interface with its method in a UML Class Diagram, in Visio. How can I represent the a...

How can I create a class diagram with NetBeans' 6.8 UML module?

It seems to me the UML module of NetBeans is a bit too much hidden. In NetBeans 6.5 it was very easy to create an UML diagram. No plugin installation necessary or sth. like. Read my post where I found a zip file to install the UML module. And now, after this procedure, I got the UML module back, but it seems to me that I cannot create...

Is there any way to create a class diagram for my class in eclipse?

I'm using eclipse to program my java exercises for my CSCI class. Is there any way eclipse can give me a class diagram for a class that I've created? ...

Creating UML Diagrams from Java Code in Visio

Is there any way to "auto-magically" create Class Diagrams from Java code? I am open to using any eclipse plugins, or any other solutions.. I don't care how many types of data I have to import/export through to get this to happen. ...

adding class diagrams from VS2008 to Sandcastle help file

I've made class diagrams for my projects in Visual Studio 2008 Team System and I want to embed these diagrams in my Sandcastle .chm file. I keep finding references to the Drawbridge component for Sandcastle but they apparently dealt with an older version of Sandcastle; not surprising since it looks like Drawbridge was last updated in 20...

C++ code to class diagram

Is there is a way I can generate a hierachial class diagram from C++ code. My code is spread over 5 to 6 .cpp files. I would like to know if there is any free tool for the same. Regards, AJ ...

Representing Objective C Protocols on UML class diagrams

How should I correctly reference protocols on a UML class diagram? For example my ListViewController conforms to the UITableViewDataSource and UITableViewDelegate protocols... where do I put the cellForRowAtIndexPath or numberOfRowsInSection methods? ... in ListViewController where they are implemented or in something like this: ...

Pear PHP UML Class Diagrams

Hi, I am trying to create graphical representations of existing code. I have tried to use VS.PHP (with Visual Studios 2010) but cant seem to generate class diagrams from this. I have tried to use Pear's PHP UML package which has produced a lot of JavaDoc style documentation and an XMI document. From what I have read, this can be us...

How do I represent a mixin/role/trait with UML properly?

Me and several other developers are currently cleaning up our legacy code base, mostly separating visual and data layers. To help developers not involved in this refactoring understand the model, I'd like to introduce a (rather informal) class diagram with comments about scope and desired usage for each class. Since I'm lazy, I'd like to...

Which should be created first ER Diagram OR Class Diagram?

The very first step i created a DFD. Then i moved on to create a Class Diagram. And while doing that i felt that i should create the ER diagram first. As there were many details which could not be captured in a Class diagram. So, my question should i create ERD first OR Class Diagrams ? your valuable inputs are appreciated guys!!! than...

creating class diagram vs2008

Hi, i am currently working on a project using visual studio 2008, vc++. i want to view the class diagram of my code, but i dont see any "class diagram" option when i click add new item, please do help me.. thanks.. ...

Class DIagram Aggregation

Hi, i came across this definition Aggregation has two properties: antisymmetry, transitivity What does it mean? thanks ...