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 - EA_enthusiast

Pages: 1 ... 7 8 [9] 10 11 12
121
Uml Process / Re: Describe questionnaire algorithm in UML
« on: January 05, 2021, 04:37:55 am »
Thank you very much q., Geert, and Uffe for your feedback.

I really appreciate you, Uffe, taking the time to provide a detailed response.

I will work on fixing this.

Thank you all.
Mo

122
Thank you, Geert for your response.

So, it is not possible to do that if the stereotypes are defined in the standard UML perspective?

Mo

123
Uml Process / Relationship Matrix: show classes with specific stereotype
« on: January 04, 2021, 06:02:27 pm »
Hello, EA Experts,

Is there a way that I can show the classes (in a package) with a specific stereotype (stereotype ABC) rather than showing all the classes in that package when I drag it and drop it to the Source or Target?

Thank you,
Mo

124
Uml Process / Display all used stereotypes in the project browser
« on: January 04, 2021, 03:42:08 pm »
Hello, EA experts,

Is there a way to display all stereotypes (used in a model) in the project browser?

In Cameo EA, that option was possible and I could drag a stereotype from the project browser to an element to apply that stereotype to the element. Very easy and straight forward.

Is this feature available in EA?

Thank you,
Mo

125
Uml Process / Describe questionnaire algorithm in UML
« on: January 04, 2021, 10:14:52 am »
Hello, EA Experts,

I need your input on the right way to describe a questionnaire in UML. I am trying to model a questionnaire that includes multiple sections as below:

https://ibb.co/WP9CkJ5

Each section is modeled as a class and questions and answers are modeled as Enumeration (in case of multiple-choice questions) or Data Type (in case of free text questions) as below:

https://ibb.co/zJ7R4C1
https://ibb.co/S3g04nL

Is this the right way to do it?

I hope that I have not confused (I feel I might have done so) between modeling the questionnaire at the abstract level (the type of question and types of answers, multiple-choice vs free text) and modeling it at the object/instance level where I state the specific Questions and Answers in each section.

Thank you so much,
Mo


126
Thanks a lot, q. for great insights.

Based on your advice, I will save my time/energy to capture the structural and behavioral aspects of the system (to achieve the user/business objectives) without worrying about continuous sync with the code. Hopefully I can manage this part well to call myself "being lucky" :)

127
Again, thank you for your advice q.

I guess after what you said, I should not try to keep the model and the code in lockstep as I originally envisioned. It does not seem to be practical and it seems to be a time-consuming task.

It seems that the "main" use of the model is to to plant the system's idea in the coders' heads (a way to ensure we are on the same page). Also, it seems that trying to rigorously maintain the model as the single source of truth (through continious sync with the code) is very challenging.

128
Hello, q.

Thank you very much for the advice. I started to realize that when I came across some older posts in which you and other EA experts raised concerns on generating code from EA.

It seems that the concept of Model Based Development is unattainable.

With that said, I am wondering how can I establish a close synchrony between my model as an architect and the code generated by the developer?

Mo

129
Thank you again, RoyC. This is exactly what I need help to figure it out.

I hope another EA expert would be able to open the link and figure out what's going on.

Mo

130
Hello, RoyC,

Thank you very much for your response! That solves my first issue.

I included a link to the screenshot of the project browser and the code generation dialogue box. It shows the selected package includes several classes but only one class was added to the dialogue box for code generation.

I would appreciate to take a look at the screenshot and let me know what you think.

https://ibb.co/2WwHjDC

I don't think there's an option to embed an image to the message body.

131
Automation Interface, Add-Ins and Tools / Generate Python code from package
« on: December 30, 2020, 08:08:31 am »
Hello, EA experts,

I am trying to generate a Python code from a package but I faced 2 issues.

Question 1: how can I make the model generates the code in Python?

When I go to
Start > Desktop > Preferences > Preferences > Source Code Engineering > <language name>
or
Configure > Model > Options > Source Code Engineering > <language name>

I do not see an option to select Python (Please see the screenshot)

https://ibb.co/0XTzDgq

Question 2: when I go to Develop > Source Code > Generate > Generate All

I do not see all the classes under the package, listed in the dialogue box. Did I do something wrong? (Please see the screenshot)

https://ibb.co/2WwHjDC

Thank you so much!
Mo

132
Thank you so much, Geert! It worked  :)

I assume that after exporting, I can update the Excel sheet and add more rows as needed, then import it again.

Thank you very much again!
Mo

133
Suggestions and Requests / Re: User Guide for MDG for Microsoft Office
« on: December 29, 2020, 07:05:50 pm »
Arshad,

Thank you very much! This should be very helpful.

I was hoping to find sample Excel documents for importing/exporing classes, attributes, enumeration, data types.

It seems that all the samples are for Requirements.

I wish that Sparx considers expanding on the use cases of the Excel import/export.

Thank you,
Mo

134
I would appreciate the help in editing the export query

135
Automation Interface, Add-Ins and Tools / Re: Roadmap Diagram Options
« on: December 29, 2020, 01:32:39 pm »
Hello, Paolo,

Thank you for your response. Yes it does accept 0 as a standalone value, this is how it looks.

https://ibb.co/1XFCFjM

I tried to add the add after the 0 but if did not work. This field only accepts numeric values but it does not accept any date format which is weird! I think this might be a bug? 

Mo

Pages: 1 ... 7 8 [9] 10 11 12