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 [2] 3 4 ... 59
16
Hi,

To use a custom window you have to develop a DLL for each Custom Window according to the Microsoft COM model. Then you have to make sure that this DLL is correctly registered for COM. If this is done correctly adding it within your AddIn to EA is a simple call. I have seen this call in your code.

I usually start with a running solution and adapt it to my needs. This approach works for me.

The first time I used Geert Bellekens Add-Ins to get familiar. Over time I developed my own little Add-In which I usually use to start a new project. You can find it together with a lot of documented experiences at https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki/AddIn. It's part of the free tool hoTools. To see adding Custom Windows, you have to look into hoTools or similar AddIns.

Of course, there are a lot of other useful AddIns to start with. Geert is always an excellent address to search for.

To summarize:
The rules for a Custom Window are the same as for the primary Addin. You have to develop a dll and register it as COM object. The difference is:
- The Custom Window contains a GUI (FORM or WPF)
- You make a Call to register the registered DLL to EA from your basic AddIn.

I admit I've invested a lot of time for my first running AddIn with a Custom Window. Most issues are around correctly registering it as a COM object. Make sure that there are no Exceptions in Constructors (not easy to find).

Kind regards,

Helmut


17
Hi Paolo,

copy and past is a simple functionality and often very useful. Therefore I think it's a good idea to support Copy almost everywhere.

I don't think this is a high priority request. It's nice but we can live without it.

Best regards,

Helmut

18
Hi Uffe,

you can access the selected attribute, operation by script. The snippet in C#. You have to translate it into your Scripting Language. The API ist the same:


Code: [Select]
ObjectType objectType = _model.Repository.GetContextItemType();
int id;
switch (objectType) {
  case ObjectType.otAttribute:
  id = ((EA.Attribute)_model.Repository.GetContextObject()).AttributeID;
}

Best regards,

Helmut

19
Uml Process / Re: Relating features to requirements
« on: October 06, 2017, 07:22:04 pm »
Hello,

from my experience traceability and relationship-matrix works well. You may use the <<trace>> stereotype as qwerty mentioned. But any other or self-defined stereotype works as well.

With EA you can link almost everything together. The only limits are your imagination.

If you work a lot or with a team in this area it would be a good idea to standardize your method and use a MDG to support your types (stereotypes and tagged values) like features or so. You have to define the stereotypes as meta-types to use them in a Relationship Matrix.

There are two other features worth looking after:
- Charts (for metrics, versatile)
- ModelViews to visualize as free definable table (arbitrary complex, also for metrics)

Best regards,

Helmut

20
Hi Paolo,

Just before writing the bug report I checked with another repository. Everything ok!

Now I have to check what's with the repository that shows the error.

Best regards,

Helmut


21
Suggestions and Requests / Re: Model Search: More than one Search Term?
« on: September 30, 2017, 11:56:08 pm »
Hi Paola,

it's a useful feature request to support more than one <Search Term>.

Kind regards,

Helmut

22
Hi,

with EA 13.5.1 it looks as if 'Search Folder' in the 'Model View' can only be defined for Build-In Searches.

In previous versions this was also possible for own searches or MDG searches.

Kind regards,

Helmut


23
Bugs and Issues / Re: bug : clone element as new version
« on: September 27, 2017, 12:00:03 am »
Hi,

I haven't seen the diagram.

I would clone a requirement  with:
- Browser (Select requirement(s), Right Click, Copy.., Past,  then drag to Diagram as link)
- Diagram (Drag Requirement(s) with CTRL/STRG to a new position, this creates a new element/requirement, you should see a little plus symbol while dragging)

Best regards,

Helmut

24
Hi,

I would do:
- Check passed variables for 0/null
- Check variables for its values before using them
- Use a try {} catch {} block to handle exceptions
- Switch to DEBUG mode or use debug messages

Best regards,

Helmut

25
Suggestions and Requests / Re: Model Search: More than one Search Term?
« on: September 24, 2017, 02:22:09 am »
Hello,

maybe using a professional query tool would solve this issue.

For complex queries, I use LINQPad:
- LINQ to SQL to write database independent queries
- Combine this with a .net language (C#, VB, F#)
- Let the compiler find your errors with Intellisense
- A scratch pad  to quickly play around
- If you want to pass EA information use hoTools which provides an interface
- No limitation in complexity

Ok, this isn't a solution to write one query a month.

Kind regards,

Helmut

26
Hello,

I have used EA DOORS MDG for DOORS 9.6. It works fine. You have to select the DOORS module from the list of open DOORS modules.

I haven't tested working with DOORS 8. and 9. at the same time. Due to selecting the DOORS module I think it should work.

Best regards,

Helmut

27
Bugs and Issues / Re: Relationship Matrix: Can't add inverse relationship
« on: September 06, 2017, 03:49:04 pm »
Hi Paola,

I agree, there is a lot to improve about Relationship Matrix. It's a powerful and useful tool. Sadly, the implementation is somehow limited.

Kind regards,

Helmut

28
Automation Interface, Add-Ins and Tools / Re: Convert to local copy
« on: September 06, 2017, 03:45:01 pm »
Hi,

The GUI equivalent to clone is the copy function of the GUI. It is available in Browser and Diagram (e.g. CTRL + drag). It's not exactly the same as the API clone. In my opinion it's a useful GUI function which offers a lot more than the API clone.

Kind regards,

Helmut

29
Hello,

there is something to improve about Relationship Matrixes. I think, it's worth a feature request.

As far as I know, there is only one Relationship Matrix visible at a time. There are workarounds like:

Switch between Relationship Matrixes by:
-  Resource View, Entry Matrix Profile (ALT+6) there you see your Matrixes, just double click)
-  Make a Diagram with Hyperlinks of type Matrix (Click on the appropriate Hyperlink)
-  Make a Diagram with Artifact of type Matrix (Click on the appropriate Artifact)

Kind regards,

Helmut


30
Bugs and Issues / Re: Relationship Matrix fails with "Information Items"
« on: September 01, 2017, 12:58:36 am »
Hello,

as far as I remember works the relationship matrix well for defined meta types. We have used this for e.g. defining own requirement types. Is it possible that there is an issue with the profile? Not correctly defined as meta type or ?

I usually name the metatype exactly as the stereotype (e.g.: <Stereotype name="myRequirement" metatype="myRequirement").


Kind regards,

Helmut

Pages: 1 [2] 3 4 ... 59