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.


Topics - Thomas Arnbjerg

Pages: 1 [2] 3 4
16
Automation Interface, Add-Ins and Tools / Glossaries and reports
« on: February 27, 2024, 10:31:47 pm »
Is there a way to create different glossaries and select which one to include in a report?

- e.g. a glossary with domain specific terms for use in stakeholder requirements and domain descriptions and one with technical terms for use in design documents?


17
I'm generating design specifications from class diagrams with one section for attributes and one for methods. I use tables with the column headers outside the section with attribute/method details.
Occasionally a section is empty (no attributes or methods) which results in a table with only the column headers. Is there a way to avoid this?

18
Is there a way to specify the default columns in 'Specification View' - e.g. always include 'Alias' or specific tagged values?

19
Is there a way to launch a script from a diagram? - e.g. a link in a diagram in a report package.

I often need to run a script before generating a report and it would be easier visualize this by including the invocation in the report packages somehow.

20
I've created a UML profile, which extends the attributes normally associated with are requirement.

After creating a number of requirements with stereotype from the profile and assigning values to these custom attributes, I've added an attribute to the profile and re-imported it. The new attribute does not appear on existing requirements. Is there a way to have existing elements with the stereotype 're-apply' the stereotype to include this new attribute without deleting existing values?


21
I have a a class with the attributes 'left', 'right', 'middle' as seen in the project explorer.

When I iterate over the attributes in Java script the order is 'left', 'middle', 'right'.

Is there a way to avoid this?? - It basically blows up my ability to autogenerate serialization/deserialization code for classes.

22
General Board / Error "Encountered an improper argument" during code gen
« on: November 01, 2023, 09:18:43 pm »
When I generate C++ code from two interface classes I get the error message "Encountered an improper argument".
It has worked before for the two interfaces in question.
The error does not appear for several other interface classes with the same number of parameters and data types.

Any ideas?

23
Is there a way to paste text into note fields without formatting?

I know the notepad workaround - it's just lots of wasted operations (again and again and again)....

24
I've created a script, which sets the project constants based on tags on a report package. Is there a way to trigger document generation from javascript (display window 'Generate Documentation') and avoid having the user press F8?

25
Is there a way to either:

1) Avoid having EA generating includes for known data types?
2) Somehow configure the format of includes generated by EA - e.g. switch from backslash to forward slash, use relative paths.

26
Hi all,
Is it possible to set the code generation destination for a C++ class created in javascript? - i.e. the contents of the 'Path' field in 'Generate code'

27
I'm adding a method in Javascript like this:

function addSerialize(element){
      
   var signal as EA.Element;
   signal = element;
   
   var newMethod as EA.Method;
   newMethod = signal.Methods.AddNew("serialize", "void");    
   newMethod.Update();
   var newParameter as EA.Parameter;
   newParameter = newMethod.Parameters.AddNew("foobar", "int");
   newParameter.Update();
   newMethod.Parameters.Refresh();
   signal.Methods.Refresh();
        signal.Refresh();
}

After calling 'addSerialize(inputClass)' I try to retrieve serialize as:
var serializeFunction as EA.Method;
serializeFunction = inputClass.Methods.GetByName("serialize");

- but 'serializeFunction is undefined.

Any suggestions?

28
Hi all,

Does anyone know how to set a newly created package as namespace root from JavaScript?


29
Bugs and Issues / Auto naming - EA goes bananas
« on: March 03, 2023, 01:09:46 am »
Hi all,

I've created a number use case elements with the stereotype 'userstory'

When I configure autonaming for 'UseCase' with sterotype='userstory', prefix=URE, counter=0000, postfix='FOOBAR' and apply this on the new elements EA locks up and CPU consumption goes through the roof.

Any ideas?

I'm using EA 16.1 build 1624 on Windows 11.


30
General Board / Change in Project VC id
« on: February 22, 2023, 09:18:56 pm »
Hi all,

I have two EA projects in separate DBMS repos. Both are assigned to VC unique ID 1. This creates a problem when switching between them since i manually have to change the VC working copy path.

Is there a way to change the unique ID for one of the VC configurations to 2?

Pages: 1 [2] 3 4