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

Pages: [1] 2 3
1
General Board / Re: refactoring/ moving operations to another class
« on: August 08, 2021, 09:57:11 pm »
Then recommend a better version of EA or a better product.

2
General Board / Re: refactoring/ moving operations to another class
« on: August 06, 2021, 06:14:34 pm »
P.S.: There is that meme about product prices: if you don't pay for the product, you are the product. Similarly, if you pay low prices you get low quality. So I shouldn't cry, should I?

I don't understand your comment "...pay for the product...".
I paid the price of the edition that Sparx recommended for this feature.

Right I now I am worse off than the Visual Paradigm standard edition that I own.
In that I can get code for a class.
I can also export the complex activity diagrams and copy the text as comments into the code  file.
Whereas, with EA I cannot even link 2 activity diagrams.

3
General Board / Re: refactoring/ moving operations to another class
« on: August 04, 2021, 07:04:12 pm »
Code quality seems to be a problem.
Arbitrarily, there is an "if" statement added though there is no decision element in the activity diagram.
And support takes too long to reply.

4
General Board / Re: refactoring/ moving operations to another class
« on: July 22, 2021, 02:53:23 pm »
Firstly, thanks for the heads up on code quality.
But then I am aware no tool is really perfect, it takes time to improve.
I have grown up doing machine coding on hex pad.
And have always done some level of design, called flowcharts in the good old bad days.

Early compilers were also not perfect.
Assembly code generated had to be inspected and needed some level of code "tuning".
Even today sometimes optimization can be excessive and go haywire.

So, taking another view, long ago the world moved to 3D printing from a CAD model
Today the parts are usable as is. Even medical devices and aircraft components.
Effectively reducing the role of a fabricator/ machine operator.
Or blurring the lines between the designer and implementer.

We should also think the same way.
Right now, I will be happy to get all the text in an action element as a comment into the code file.
That will make the intent of the designer / architect far more obvious.
Especially the structure of code expected.
Thereby, getting as close to the final code as possible.
regards,

5
General Board / Re: refactoring/ moving operations to another class
« on: July 21, 2021, 11:16:24 pm »
If my process of code generation is wrong, pl point me to a suitable document to do it correctly.

Normally code runs on real world systems not UML.
So, if code generation is not part of final evolution of UML then I don't understand why this tool has code generation and differential pricing for various levels of code generations.
I could have happily continued with UML tools I already use to create models and extracted the text to paste as comments in program files.
I have been doing this for the embedded systems I have been developing.


6
General Board / Re: refactoring/ moving operations to another class
« on: July 21, 2021, 05:51:46 pm »
Yes, the dragging moved the activity diagram, but the code would not get generated for it.
So, simply created a new operation the destination class.
Then added a activity diagram and copy pasted the old group of action elements into it.
Code was created in the destination class file.
That is sufficient.
thanks,

7
General Board / refactoring/ moving operations to another class
« on: July 21, 2021, 12:16:59 am »
I have a operation in one class which I want to move to another class.
There is an activity diagram associated with this operation.
How do I move the operation and it connected activity diagram to another class?
thanks,

8
General Board / Re: Multiple Monitors
« on: July 20, 2021, 08:45:51 pm »
thanks

9
Same thing
The way I am doing it right is put in an activity element and right clicking to select a child diagram.
Is that the correct way?

10
General Board / Re: Multiple Monitors
« on: July 20, 2021, 07:17:44 pm »
Yes, that is what I am afraid of.
Will have to be careful; edit in one and use the other only for viewing.
E.g. edit one activity diagram in one while view the class in another.
Thanks for the heads up.

11
Of course action cannot have a sub diagram.
I was referring to the sub diagram connected to an activity element.
Pl see my OP.
Not clear why do I again need a composite sub diagram for an activity element; a sub activity diagram should be sufficient. It is just for encapsulation of a chunk of actions related to one another.
E.g. check an opened file for a set of errors.
thanks,

12
General Board / Re: Multiple Monitors
« on: July 20, 2021, 02:16:01 pm »
Yes, multi resolution monitors is new. So, likely it is a API problem.
Anyway, opening 2 instances is the workaround that solved the problem.
I read about the way the repositories are created, they all are database type.
So, 2 instances of EA should work.
Clearly, I was doing something wrong, now 2 instances are working even with the repository I am currently using.
Thank you all

13
General Board / Re: Multiple Monitors
« on: July 19, 2021, 11:39:35 pm »
Opening another instance of EA doesn't help either.
It won't allow another copy of the same project.

That's weird. What type of repository are you using?
I've opened the same model in multiple instances many times without issues.

Geert
Please let me know which type of repository should I use so that can I have 2 instances of the same project visible.

14
But now I don't see add a child diagram, only child element, e.g. Expansion node.
Whereas, in a child diagram there can be a full blown sub routine.
regards,
UML is not about diagraming. A diagram is what makes a model readable to humans. The value is in the model.

q.

Indeed, documentation is for humans. and I think UML is a great way to do it.
This thread is all about generating code.
To make just "pretty pictures" I have been using flowchart and then UML tools for nearly 2 decades.
I want to move onto generating the code also.
Just for documentation, there are far cheaper tools available.
Besides free tools, Visual Paradigm has a far more user friendly UI/ UX.
But it can only do upto generating code for a class diagram.
That is far simpler than code for operations (methods).

15
General Board / Re: Multiple Monitors
« on: July 19, 2021, 09:47:11 pm »
Tried again.
Manually dragged the floating window to another screen.
Caveat: original monitor was 4k, the other 1920 x 1200 or 1080.
Could make it larger manually, but on clicking the max button on the right top corner of the window, some of it went out of screen.
And even with manual resizing the text remained huge.

Opening another instance of EA doesn't help either.
It won't allow another copy of the same project.

Pages: [1] 2 3