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

Pages: [1] 2
1
General Board / Re: Publish from model to .doc from external script?
« on: June 02, 2019, 07:44:49 pm »
thanx @timoc for mentioning docToolchain here.
I am one of the core committers to docToolchain.

Yes, docToolchain contains a script which starts EA headless and exports all diagrams and element notes.
I use it to generate several types fo documentation output, but to get .docx output, we use AsciiDoc as Markup inbetween.
So, we write docs in AsciiDoc and reference the diagrams exported from EA in these docs. The AsciiDoc files can then be converted to HTML, PDF and DOCX.

Here is the documentation for the exportEA step: https://doctoolchain.github.io/docToolchain/#_exportea

2
Suggestions and Requests / Re: NetBeans 9.0 Integration
« on: May 20, 2014, 06:29:25 am »
+1

3
Suggestions and Requests / Re: BPMN
« on: May 09, 2010, 10:46:57 pm »
I'm interested too. Shapes would be enough.
XML serialisation would be a nice to have.

4
General Board / How to use the Mind Map
« on: April 20, 2015, 04:16:50 am »
EA now features the Mind Map diagram for quite some while.
The diagrams which are crated in this type of diagram look like a simple mind map. OK. But is that all?

I mean, a mind map also needs such features like
- easy to create: just type in what comes to your mind and it is displayed as items
- some visual clues for importance and state of items: just simple icons

Is this possible? I mean, do I oversee some shortcuts to easily create elements and sub elements or attach icons?

Regards,
Ralf

5
Automation Interface, Add-Ins and Tools / Re: Grammer and types
« on: April 29, 2014, 05:08:02 am »
OK. found the problem. The following page explains what the AST has to produce:
http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/context_labels.html

with this, I was able to figure out my problem...

6
Automation Interface, Add-Ins and Tools / Re: Grammer and types
« on: April 28, 2014, 03:16:04 pm »
I used the SSL demo grammar as a starting point:

Code: [Select]
<attributeDeclaration>      ::= node("FIELD", <attributeVisibility> node("TYPE", <attributeType>) node("DECLARATOR", <attributeName>) [<attributeDefault>] [";"]);

<attributeVisibility>      ::= attribute("SCOPE", "public") |
                        attribute("SCOPE", "protected") |
                        attribute("SCOPE", "private") |
                        attributeEx("SCOPE", "public");

<attributeType>            ::= attribute("TYPE", <typeName>);

The AST result says something like

Field (Scope = private)
   Type = BigInteger

so, it seems to be right

7
Automation Interface, Add-Ins and Tools / Grammer and types
« on: April 28, 2014, 07:09:54 am »
while trying to create a groovy MDG, I created a grammer which is able to parse my code.
The debugger shows me the correct type of my attributes in the AST viewer, however, when I import source, the model only shows the name, not the type of the attribute.

Any idea what could be wrong or how I could further debug this?

8
got already an answer - from you :-)

just tried to get some attention to this topic. I really would like to see the implementation of a MDG technology for groovy/grails and there is not much documentation on how to start...

9
Did you already come up with your own solution? Would be great if you could share your thoughts!

10
Automation Interface, Add-Ins and Tools / Changing the default scope
« on: April 28, 2014, 12:42:57 am »
Is there a way to change the default scope for attributes and methods?

I try to use EA for Groovy/Grails where the default scope is none/public, but every time I create a new attribute, the scope is set to "private" - that's annoying...

11
Automation Interface, Add-Ins and Tools / JavaScript: write a file
« on: August 26, 2011, 04:51:09 pm »
Is it possible to create and write a file from a JavaScript Script?
If not, is it possible in a JScript Script?

Thanx,
Ralf

12
Great! Thanx!

13
I would like to use the code generation feature for Grails.
So I tried to configure a new language, but only partly succeeded.

How can I configure the filename and extension for generated files?

EA automatically uses .h as extension :-(

Is there some kind of tutorial available?

14
OK. here is the ultimate solution:

it seems that there can be only one stereotype with a given name for a given UML element at a time.

For instance, if you already have a stereotype "Activity" for the UML element "Activity" and you create another one through a profile, only one will exist and hence it can look like your shape script does not work.

The workaround is to use a prefix for your stereotype names (like "MyActivity") and rename the stereotype by set the _metatype attribute to the right name.

So best practice should be to always use such a unique prefix when you build your own profile...

This seems to work quite well.

15
Hi Paolo,

you where right: after renaming the MDGTechnologies folder and creating a new one, all my problems where gone!

And yes, I will support your proposal since these are exactly those things which ennoy me!

Ralf

Pages: [1] 2