Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xuxin

Pages: [1]
1
General Board / Trial Version
« on: July 13, 2013, 12:15:39 am »
I can not use the trial version of EA. On the first install, it already says that my Trial Version has expired. Any help?

2
Hello,

I am doing a thesis which detect design flaws in class diagram. Now we invented a software to detect design flaws. But we need a method to validate our software.
We need volunteers to provide a class diagram to be tested by our software. If the testing result matches the original design flaws (bugs) on the class diagram, it has been validated.

Who can provide a class diagram and specify the existing bugs or design flaws? Please contact us:
[email protected]

Thanks for helping.

3
Hello,

How to create a window to indicate a hierarchical tree in Enterprise Architect. This window is like a repository browser in EA. But it should show/edit text sentence, class name and type of class (eg. abstract).

I could create a window form using C# to show this tree. But the window form is not good to see as the repository browser of EA.
So anyone know how to create a window in EA?   Thank you.

4
Automation Interface, Add-Ins and Tools / Re: Deploy add-in
« on: July 20, 2013, 05:02:27 am »
Thanks a lot!

I will study your tutorial  ;)

5
Automation Interface, Add-Ins and Tools / Deploy add-in
« on: July 18, 2013, 08:41:38 am »
Hello,

I created the add-in. It contains 2 .dll and 1 .exe files in debug folder. I also need copy an external folder to new users. Could integrate these tasks in an .exe file or .msi file?


6
Hi Geert,

Thank you to validate this approach. I will use Diagram.DiagramObjects.AddNew() and DiagramObject.Style to draw the diagram.

Regards,
Xuxin

7
Thank you to be interested in my topic.

My project is to draw the class diagram in EA. Then let users enter some input data. My add-in will do some analysis for the diagram using input data. Finally, the add-in output the class diagram with drawing colors to some elements.

I have created my user interface. Now I concentrate on the analysis implementation. After it, I will make the add-in draw the class diagram in EA.

8
The Repository.OpenDiagram(id) might be useful. But that need my add-in create a new diagram in EA, then open it using its ID.

I found a solution. Use Repository.GetCurrentDiagram() to get the diagram to be drawn. Then call Diagram.DiagramObjects property to get a collection of DiagramObject. Then give the value for DiagramObject.Style property. For example:

BCol=n;BFol=n;LCol=n;LWth=n;

where:
· BCol = Background Color
· BFol = Font Color
· LCol = Line Color
· LWth = Line Width

Using this approach, I suppose that we could draw the specific elements in a class diagram. I will test it later. :D

9
Hello everyone,

I have created my user interface to collect input data. Then my add-in can analyze the class diagram in EA. Now my question is that how to show the class diagram where the selected class/object is drawn to yellow/red color.

I think I could use EA API to export XMI file. Then I use C# window designer to show the drawn class diagram image.

Is it feasible? Otherwise, could anyone give me any suggestion? Thanks for help.  ::)

10
I will read it. In addition, I also find useful link for System.Windows.Forms class library. I think it would be helpful to create the user interface or graphic window.

http://msdn.microsoft.com/en-us//library/system.windows.forms.messagebox.aspx

11
Thanks for reply. How to find the usual windows library?

12
Hello everyone,

I would like to create the Add-in window using EA.Repository.AddWindow() method. Then how can I implement the blank or white space for users enter data. Then I can use automation interface to retrieve and use this data.

Regards,
Xuxin

13
Automation Interface, Add-Ins and Tools / Design a graphical window
« on: June 05, 2013, 09:46:05 pm »
Hi,

I execute the CSAddinDemo example project of Enterprise architect user guide. It contains the frmModel.cs. When I double click this class, it shows a graphical window. My question is how to create such kind of window and let it be used by the main class?

The example project web link is www.sparxsystems.com/bin/CS_Sample.zip

14
Hello,

I'm the beginner for EA add-ins development. I read Greert's study EA addins in 10 minutes. I would like to add new properties for each class in the class diagram of EA. And store or query these properties into the SQL database.

Could anyone help me to suggest any tutorial about this question, please?  :-?

Best Regards,
Xuxin

Pages: [1]