enterprise-architect

Changing Enterprise Architect Default Check In Comment

a 夏天 提交于 2019-12-11 05:37:21
问题 In Sparx Enterprise Architect, when I check in a package that is under version control it prompts me to enter a comment and provides a default in the format "Check-in: [date] [time]". How can I change this comment template? 回答1: Currently (V9 and below), it is not possible to change this setting. 来源: https://stackoverflow.com/questions/4437895/changing-enterprise-architect-default-check-in-comment

Enterprise Architect Synchronize with Code

柔情痞子 提交于 2019-12-11 04:06:23
问题 I am learning EA . I did reserve engineering with my java code and generated some class diagrams . Then I changed my code and copy over to EA project (delete the original source code which EA used and put the modified in). Then use Code Engineering -> Synchroize Package with Code to update EA with the modified code, the new reference added was shown up in one of the class diagrams but the old reference which was removed in the updated code was still in one of the class diagrams. And also the

Enterprise Architect (C++): Import Source Code with Custom Macro and Argument in Parantheses

女生的网名这么多〃 提交于 2019-12-11 04:05:09
问题 I want to reverse engineer models from source code with Enterprise Architect 11. The class definitions look like: class MYCUSTOMMACRO(className) : public baseClass { ... } Unfortunately, EA skips these classes, as the macro was not recognized. If I define a language macro in EA, MYCUSTOMMACRO(className) is skipped as a whole. This, again, produces a parsing error, as the class name is missing. So, is there a way to extract the class name out of the macro and import the classes? Thanks, Oliver

Obtain the `Local Project Path` directory in the project's `Version Control Settings`

瘦欲@ 提交于 2019-12-11 03:54:42
问题 Preface This relates directly to Enterprise Architect's API and its scripting capabilities and not so much with actual JScript/Javascript. Question How do you obtain the Local Project Path directory in the project's Version Control Settings using EA's scripting API? Note: [Package].XMLPath only provides the path relative to that location, which is unusable in my situation. Background Attempting to create script that adds all packages in an EA project to our version control software (MKS/PTC

Enterprise Architect - Cancel Connectors Bridges

自古美人都是妖i 提交于 2019-12-11 02:25:14
问题 This might be a silly question but still - when two connectors cross each other the EA creates a bridge. Any way to cancel that so it'll basically be two straight lines crossing? Thanks. 回答1: Tools|Options|Diagram|Enable Connector line jumps 来源: https://stackoverflow.com/questions/28944035/enterprise-architect-cancel-connectors-bridges

How can I version software components in Sparx Enterprise Architect (EA)?

a 夏天 提交于 2019-12-11 01:29:57
问题 I am working at modelling a software system using Sparx Enterprise Architect 13. This system contains different versions of software components. We typically add services and/or APIs when we release a new version of a software component. Currently, to reflect the fact that component ServiceV1 exposes an interface A and ServiceV2 exposes interfaces A (the same as ServiceV1) and B, I make ServiceV2 extend ServiceV1. But that is not straightforward: the generalization link is not available in

How to use a custom icon for a stereotype in Enterprise Architect?

依然范特西╮ 提交于 2019-12-11 01:04:02
问题 I want to use my own icons for elements (nodes) in Enterprise Architect. For certain stereotypes, there is a build in behavior in Enterprise Architect, that adds an icon in the upper-right corner of an element, like this (in this case the stereotype "server" is used): [see this page for a list of the default stereotypes]. Note that the position (offset from top and right) and absolute size of the icon are preserved, even when the shape is resized: I want to display my own custom icons for my

Is there a way to search for an element type in Sparx Enterprise Architect?

半腔热情 提交于 2019-12-10 20:55:22
问题 There doesn't appear to be a way in the model search feature to limit results to a specific type e.g. Class, Node, etc. Is there a way to achieve this? I know I can craft a SQL query however an unable to find the correct table name. EDIT It appears that I can do the following Select *, Object_Type AS CLASSTYPE, Name from t_object Where Object_Type="Node" . It seems that Sparx don't appear to have documented Object_Type as it displays as Type in their documentation. 回答1: There is no standard

Generate getters and setters for PHP in Enterprise Architect

馋奶兔 提交于 2019-12-10 20:04:07
问题 I'm using Enterprise Architect to make a UML class diagram and generate PHP5 code. How can I generate getter and setter methods for a certain class? 回答1: Add the <<Property>> Stereotype to the attribute you want to create Getters and Setters for. For further reference see http://www.sparxsystems.com/uml_tool_guide/modeling/attributes.htm and http://www.sparxsystems.com/uml_tool_guide/modeling/createprop.htm 来源: https://stackoverflow.com/questions/15447025/generate-getters-and-setters-for-php

Understanding a C++ codebase by generating UML - tools&methology [closed]

冷暖自知 提交于 2019-12-10 18:47:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I think there are many tools that can generate UML and similar diagrams from C++ (source-code), but I think it is not so easy to make sense of what you get out? I am looking for good tools/procedures. For example I might want to see the GUI-layer and how it is separated (or not from the rest). Think the tools