uml

How to generate code by Papyrus on Eclipse?

感情迁移 提交于 2019-12-02 21:09:42
I install Papyrus at here . So how to generate code using Papyrus ? Sindico In order to generate any text artifacts from UML models in the Eclipse Modelling Environment (i.e. Papyrus, TopCased, etc.) you should use Acceleo which is an eclipse implementation of the MOF models to text transformation language, the OMG standard language for models to text transformations. It is a very well made technology but it could take some time to become familiar with it especially if you do not know MOF and the Model Driven Architecture. QVT is another OMG language but its aim is models to models

How to automate the generation of HTML output in Enterprise Architect

点点圈 提交于 2019-12-02 21:05:28
Enterprise Architect has a way to generate the documentation in HTML/RTF/etc. that you could publish, but you have to use its GUI to do that manually. When you have your *.eap files in a CVS/Subversion server, it would be useful to have a script that would check out daily the latest version and publish it in a web server. As long as I know, EA doesn't have a command line utility for this purpose. I found that you can automate almost anything using its COM interface, but that means it's necessary to write a small program to do that. Any ideas about the easiest/cleanest way to do that (without

UML association multiplicity

扶醉桌前 提交于 2019-12-02 20:45:37
I have a question about association multiplicity. I understand it, but for example if I would have: --------- --------- | |1 * | | |CLASS |----------| STUDENT | | | | | --------- --------- does that mean that at ANY point during system existence there must be at least 1 student assigned to the class, or those multiplicities should be true, if the system is operating normally? I am asking this question, because I was wondering about the moment of creation for an object. First we create an empty class, then populate it with students. For some time the class is empty, but only during the creation

UML Plugin for Eclipse - Class Diagrams & Java Code Generation - Indigo/Juno

孤街醉人 提交于 2019-12-02 20:42:01
I am looking for a UML plugin for Eclipse. I know this questions has been asked several times, but most of them are a few years old. From what I read I would say that most people prefer eUML2, but this officially supports only Helios. So far I am using argoUML, but the absence of an undo-button is really an usability nightmare, to say the least. Additionally I would prefer integration into Eclipse. What I want is: Free/Open-source Actively developed tool (support for Indigo, planned support for Juno) Hassle-free installation in Eclipse Class diagrams Generate Java code from diagrams Update the

what are the most significant disadvantages of using UML?

左心房为你撑大大i 提交于 2019-12-02 20:36:33
UML is a great language to model software for business requirements, but there is a growing community that points some disadvantages for some lacking features. What are the most significant disadvantages that you find crucial for UML and what could it be a good alternative to solve this lacking features? The biggest one is that it's yet another layer of red tape that gets in the way of just $#%$#% coding the thing and making it work. The fact that people use it to "model software for business requirements", as you put it, and other such process-oriented claptrap. UML started out as a

Differences between DFD (Data Flow Diagram) and activity diagram

南楼画角 提交于 2019-12-02 20:35:38
I need to know this differences in order to undestand how to use them right. Which are the differences of DFD and Activity diagram? Actually, it's reasonably logical. You only have to look at the names. In data flow diagrams, the lines between "boxes" represent data that flows between components of a system. Because these only show the flow of data, they do not give an indication of sequencing. In activity diagrams, those lines are simply transitions between activities and do not represent data flow at all. They more represent the sequencing of activities and decisions. You can tell from these

How to show Dependency Injection on a UML class diagram?

99封情书 提交于 2019-12-02 20:22:53
How do I show Dependency Injection of an object or class in a UML class diagram? Martin Fowler shows it like this: You display class dependencies by using a dashed line with a pointed arrow that points from the client model element to the supplier model element. I think that how you provide the dependencies to the client is irrelevent at the UML level. 来源: https://stackoverflow.com/questions/4488481/how-to-show-dependency-injection-on-a-uml-class-diagram

How to build project-wide UML diagram in IntelliJ IDEA?

大城市里の小女人 提交于 2019-12-02 20:16:37
Trying to reverse-engineer existing project and it would be of great help to see how classes collaborate/depend on each other. Is there a way to build project-wide UML diagram (or class diagram of any kind) in IntelliJ IDEA using build-in functionallity or using some free plugin? Right click on your package no matter which. Click Diagrams > Show Diagram (Ctrl+Alt+Shift+U). You will see your package in diagram editor. Now: You can expand (E) or collapse (C) all nodes. You can show dependencies You can show many attributes of nodes (constructors, methods, properties...) You can drag&drop other

Modelling / documenting functional programs

牧云@^-^@ 提交于 2019-12-02 19:23:25
I've found UML useful for documenting various aspects of OO systems, particularly class diagrams for overall architecture and sequence diagrams to illustrate particular routines. I'd like to do the same kind of thing for my clojure applications. I'm not currently interested in Model Driven Development, simply on communicating how applications work. Is UML a common / reasonable approach to modelling functional programming? Is there a better alternative to UML for FP? Norman Ramsey Most functional programmers prefer types to diagrams. (I mean types very broadly speaking, to include such things

Is UML still seen as a viable way of documenting a software design? [closed]

无人久伴 提交于 2019-12-02 19:21:24
Is UML still seen as a viable way of a documenting a software design? Extra points for references that back up any claims :) I am responding to the new version of the question which speaks to UML as a documentation tool. I will try and role in UML as a communication tool as well, because they are one in the same. Context: This perspective is driven of my daily job as an Architect having to design across hundreds of systems/software, 10,000 hour+ efforts, and maintaining consistent documentation and practices for a portfolio of systems. This means that I have had to grapple with documentation