I would like to extract a super class from an existing class in my Class Diagram and was wondering if this is possible in Enterprise Architect?
No, not out of the box.
But EA comes with a scripting module, so you could script something.
Related
I'm using Doxygen to create a class documentation from my code, which is written in C++. I want to create a UML for the whole code in a single graph? Is it possible? Because Doxygen is trying to create a UML for each class but the thing I'm trying to create is to create a big graph for the entire code. Any idea or suggestion is appreciated. BTW I use doxywizard for generating the class diagrams and documentations.
Is there any way to list all class stereotypes in an Enterprise Architect code template? %classStereotype% only gives me the first one.
There is none. Sparx help lists nothing useful. What you "could" do is to write an add-in and call it via EXEC_ADDIN as described in this part of EA's help.
I'am new to Enterprise Architect, and I need to know if EA supports converting flowchart to php code and vise versa?, and if it doesn't are there any alternatives?
Furqan.
Here is a link to the Sparx web page on generating code from behavioral models.
http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/software_engineering/code_generation_from_behaviora.html
EA includes native support for PHP (see under Tools | Options | Source Code Engineering). The nearest thing to a traditional flowchart in EA is the Activity Diagram. You could try creating an Activity Diagram then use the information on the Sparx web page to generate PHP from that. Good luck.
I have Found this tool which convert Flow Chart to pseudo code, and export pseudo code to multiple languages, but it Does not support PHP.
and the other tool is converting code to Flowchart
You can do that with PSeint, (you work with pseudocode that then translates to php), it's free but in spanish, unfortunately.
http://pseint.sourceforge.net/
I would like to add a tagged value to a diagram in C#. Is this possible? Unfortunately the "New Tagged Value" button is disabled in the GUI.
There are no tagged values for diagrams. (and with good reason)
You'll need to find and object that is somehow represented by this diagram and use that.
Is it possible to add attributes to a Visio (in my case 2007) UML diagram Interface object? It shows operations in its properties dialog, but alas no Attributes section. I am really hoping someone has thought of a way around this (without looking at third-party apps).
It is possible to achieve the same visual Effect: An interface is represented like a class with a stereotype <<interface>>. So you can go to UML/Stereotypes/New and enter "interface" as Stereotype name, then select Class as base. Now you can Create a new Class, edit it and select the new interface stereotype. After doing so you have a visual representation of an interface which can hold attributes.
Maybe this suites your needs. Still the internal representation of these models is not UML 2 compliant (but Visio has other flaws regarding that either way).