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

Pages: 1 2 3 [4] 5
46
General Board / Add <remarks> tag in c# xml comment
« on: June 15, 2016, 06:59:34 am »
Hi.

When I want to describe a property in C# class in EA, I put description in its notes, obtaining, when generating source code, something like:

Code: [Select]
/// <summary>
/// code comment
/// inside summary
/// </summary>

Is there a way to create both a summary section and a remarks section directly from enterprise architect, so when I generate source code I obtain:

Code: [Select]
/// <summary>
/// inside summary
/// </summary>
/// <remarks>
/// detailed property description.
/// </remarks>

47
General Board / Re: [Beta 13] Replace text in Code template editor
« on: June 15, 2016, 06:10:58 am »
Perfect. Thank you.

48
General Board / [Beta 13] Replace text in Code template editor
« on: June 11, 2016, 04:32:28 pm »
Hi.

I want to replace tabs with spaces in generated code. In template code editor I want to replace all occurrences of "\t" with "  ".

In template code editor with CTRL+f I can open the Find and Replace widget, but I cannot find any way to replace the text, only find it. How can I replace text in editor?


49
General Board / Re: New Beta
« on: June 10, 2016, 07:13:21 am »
I love ribbons! 8) 8) 8)

The problem with them is that when people are used to using a technology, it's difficult to change, even if the new technology is far better. See menu vs ribbons, MP3 vs many other better audio codecs, Windows Start menu vs tiles and so on...

Please people try to use ribbons for a couple of week before discard them... Advantages are great and the effort to be used to this technology is little compared to the advantages...

50
In fact here documentation says:

Quote
If you edit a base Code Generation or Transformation template, or create a customized template, you can copy them from one project to another as Reference Data.

I must try to modify and then save it.

Thanks for the help.

51
General Board / Re: Book or guide for plugin/script developing
« on: June 08, 2016, 01:35:17 am »
Nice tutorials! thanks for the link.

52
General Board / Re: Book or guide for plugin/script developing
« on: June 07, 2016, 07:22:59 am »
Ok I'll study the macro language first to check if it suits my needs. Thanks.

53
Hi.
I want to generate c# code from UML classes. I want to generate classes using two spaces instead of a tab for indenting.

I've seen that in Code Template Editor when selecting a section like "Namespace Body" I see in text something like

Code: [Select]
@indent="\t"
Should I replace all these pieces of code with

Code: [Select]
@indent="  "
where I put two spaces inside double quotes? And, if yes, I must replace manually all entries or there's a easier way?

Last but not last, if I want to export these settings and import them into another PC with EA installed, what I should do?

54
General Board / Book or guide for plugin/script developing
« on: June 06, 2016, 07:46:11 am »
Hi.
I need to extend EA in order to create certain classes using a custom code generation.

I want to create some class with some stereotype that, with code generation, for every class generate source code for class itself and other linked classes.

For this it's best to use a script or a plugin? and I've did not find an extensive tutorial/guide/book in order to learn how to extend EA. Where can I find some useful resource?

55
Suggestions and Requests / Re: Diagram guides
« on: June 02, 2016, 04:57:38 pm »
I know the grid and I use it but I think that guides are more suitable for aligments...

56
Suggestions and Requests / Re: Diagram guides
« on: June 02, 2016, 04:53:25 am »
With a plugin is theoretically possible to change the GUI interface in order to implement them?

57
Suggestions and Requests / Diagram guides
« on: June 02, 2016, 03:30:35 am »
Hi.
I like to align a lot UML symbols in my diagrams. I use the align tool, but I'd like to have diagram magnetic guide lines, like the ones present in photoshop or other graphic programs, in order to use them for aligning symbols with less effort. Do you think that's a nice addition?

58
General Board / Re: Reset auto name counter.
« on: June 02, 2016, 03:22:52 am »
Thanks to both of you. I'll check your solutions.

59
General Board / Reset auto name counter.
« on: June 01, 2016, 08:50:54 pm »
I've started to add requirements to my project.
I've set the auto counter for requirements and they appear correctly.

Now requirements are changed (please don't ask  :-X ) and I need to rewrite them in my project. I've deleted all requirementes  but when I add a new one the counter starts (correctly) from the last one.
Instead I want to restart the counter from zero. Is there a way to reset a counter inside a project without creating a new one?

Or it's possible to use a script to manually set the counter? I'd like to create something like "use the first free index", so if at same point requirement indices are 1, 2, 4, 5, 6, the next one that I create will have index 3.


60
Ok thanks for the reply. I'll use links for now because they're best suited in my case.

Pages: 1 2 3 [4] 5