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 - Helmut Ortmann

Pages: 1 ... 49 50 [51] 52 53 ... 59
751
Hi,

there are some ways to get the properties (short desc, Alias, etc.) of requirements or general of elements.

You may write an addin or script which uses the EA standard API to get access to it.

You may write a query to get the wanted information. If you use the query:

select * from t_object where object_type = 'Requirement'  
you will see all the available columns or a requirement. You may change the object_type to get other element types.

To get more eloborate information you have to dig a little deeper into the tables or API.

A great help are Thomas Kilians ebooks.

For importing information into EA have a look in the community. Geert for example has a great tool to import from Excel.

Helmut






752
Looks peculiar. I deleted with EA one entry and nothing changed in the registry. May be it's a bit more complicated.

Helmut

753
If you set the Version Control settings with EA EA creates this entry and fills it with the configured UniqueIDs.

Just configure with EA and look in the registry. All the VC information is in EA400\EA\OPTIONS.

Here is the content for two Unique IDs.

<VCConfigs><Config><GUID>svn_ac4nns</GUID><LocalPath>%svn_ac4nns%</LocalPath><UserName/><Type>2</Type></Config><Config><GUID>test</GUID><LocalPath>%test%</LocalPath><UserName/><Type>2</Type></Config></VCConfigs>

Helmut


754
If I understand it right in VCConfigs is an entry for each Unique ID.

If you have one unique ID you can simply change my values. If you have more try it by using the EA Configuration Dialog.

By the way I haven't it done with the registry yet.

Helmut

755
Hi,

the entry VCConfigs is set to:
<VCConfigs><Config><GUID>svn_ac4nns</GUID><LocalPath>%svn_ac4nns%</LocalPath><UserName/><Type>2</Type></Config></VCConfigs>

%svn_ac4nns% is my Unique Identifier.

Helmut

756
You have to do four things to put a package under version control.

1. Set the unique ID in %APPDATA%\SPARX_Systems\EA\paths.txt
2. Use API VersionControlAdd(..)
3. Set the svn path in registry
    HKEY_CURRENT_USER\Software\SPARX Systems\EA400\EA\Options\VC_SVNExePath
4. svn Timeout in registry (VC_TIMEOUT)

I hope it's all.

Helmut

757
Hi,


as I mentioned:
- Write a DOORS DXL script to put the linkage information into an DOORS Attribute
- Include the DOORS attribute to the list of imported attributes in EA
- Write an EA Script to create dependencies inside EA from the attribute information

Helmut

758
Hi,

as far as I remember the traceability between DOORS modules is stored in an doors attribut.

If so you can configure to use the attribut in EA (EA configuration of the Addin).

If this information isn't stored in an DOORS Attribut you may write a DXL script  to write this information into an DOORS attribute.

Sorry it's some years ago I've worked with DOORS.

Helmut.


759
If you want to compare *.xmi files you may ask Stefan Bolleininger. If I remember right I has done something.

If I remember right in the community is something about batch import/export.

Besides all: Comparing *.xml files isn't an easy job. If you are able to reduce the compare to a small subset it might be useful. If you want to compare full UML than you have a great task and you possibly will fail.

Helmut

760
In EA you may use:
- VBScript
- JScript
- JavaScript

There's also a degugger available to make testing a lot easier.

Helmut

761
Both is possible. Use the method you like most.

Usually the start with scripting is easier because you don't need the Addin stuff.

Helmut

762
Hi,

I hope I understood you right.

The Data Modeling Report  calls the fragment "Template Selector" in the section element.

In the "Template Selector" click on options, Custom Query. In the documentation you find something about Template Selector.

Helmut


763
I've tried it it works.

Although a diagramobject is selected sometimes I get with rep.GetContextItemType() an otNone. That has the effect I have to click on the selected diagram element once more to make the Addin work as expected. That's bothers.

The problem occurs:
- My Addin reload the diagram
- My Addin selects the wanted element
- rep.GetContextItemType() returns a otNone.

Thanks,

Helmut






764
A context element in a diagram I can get with repository.getContextObject(); My usual way to get the last selected element.

It works well.

If a reload a diagram the context element is lost. I would like to set it again so that I can work with is by an Addin.

I think your question guided me to the solution.

I select one diagram element after reload the diagram. That's all and simple. If I get no context element I just take the one selected. I haven't seen the simple solution.

Thanks a lot for your question.

Helmut

765
Hi,

is it possible and how to set the context element in a diagram.

I can select Diagramobjects but not say this i the context object.

Thanks,

Helmut

Pages: 1 ... 49 50 [51] 52 53 ... 59