visio

How do you show events in UML Class Diagrams? [closed]

扶醉桌前 提交于 2019-11-29 12:24:41
问题 This one has me stumped regularly while creating top level class diagrams for documentation. Methods and attributes/fields are easy to model. I usually end up adding a method named EvChanged to indicate a .Net event Changed. What is the right way to show that a type publishes a specific event? 回答1: Just add an «event» stereotype to a classifier attribute. 回答2: I find onEventName() the easiest naming scheme for event callbacks, but how to indicate which events an object can broadcast I've not

Is there a way to draw UML in Visio for Java?

半世苍凉 提交于 2019-11-29 12:23:39
问题 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: 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. 回答2: I had the same question,

Software for Sequence Diagrams? [closed]

最后都变了- 提交于 2019-11-28 16:50:15
问题 I've been using NClass for object/class modeling in class thus far. However, I do not believe that it is capable of sequence diagrams, which is my next task. I would prefer not to use Visio. Is there a good and free software solution for making sequence diagrams? 回答1: For me there are usually about 3 tools I prefer to use. Netbeans UML Plugin (Its free and its nice) Visual Paradigm UML (its really nice but it isn't free, you might be able to get a free academic copy, but that requires a bit

Representing a C# Generic Method in a UML Class Diagram

眉间皱痕 提交于 2019-11-28 11:12:24
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 above generic method with its constraints in a Class Diagram ? UML does not support type parametric methods directly. About the closest you'll get is to define a nested class which has the type constraints with a stereotype which you will interpret as meaning it's a type