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 - Geert Bellekens

Pages: 1 ... 475 476 [477] 478 479 ... 560
7141
Automation Interface, Add-Ins and Tools / Re: EA does not see add-ins
« on: November 08, 2012, 12:50:33 am »
Hi Nick,

I'm afraid I can't help you with the Doors addin because I wouldn't know what to put as value in the registry key.
Best you contact the author of that addin (was that one by Sparx themselves?).

Geert

7142
Automation Interface, Add-Ins and Tools / Re: EA does not see add-ins
« on: October 11, 2012, 08:15:45 pm »
You still have to tell it to do so, and you have to run VS in admin mode.

Geert

7143
Automation Interface, Add-Ins and Tools / Re: EA does not see add-ins
« on: October 11, 2012, 06:02:51 pm »
That means that you have created the registry key in the correct place, but you've failed to register the dll for COM, or the value in the reg key is wrong.

Geert

7144
Automation Interface, Add-Ins and Tools / Re: EA does not see add-ins
« on: October 01, 2012, 04:50:43 pm »
First thing to figure out is whether or not EA knows it has to load your add-in.
Check "Extensions|Manage add-ins..." to see if your add-in is listed there.

If it's not then its the reg key in (HKLM or HKCU)\SOFTWARE\Sparx Systems\EAAddins that is missing.

Geert

7145
I've implemented the feature in the current version 2.2 (build 2.2.4.0) of the EA Navigator, unfortunately without support for the properties dialog of messages.

If anyone knows how to open that one that would be great.

Geert

7146
I've started to use this CustomCommand thing to open the properties dialog from my Navigator, but I would like to use it for messages in a sequence diagram as well.

Any idea if that is possible?

And how do we find out what parameters to use?

Geert

7147
Hmm, seems nice.
Have you though about publishing it on the community site? http://community.sparxsystems.com
Here on the forum it will probably be forgotten and never be found again in just a few weeks.

Geert

7148
Adam,

Look at the documentation for the EA.Collection.Refresh(). It doesn't do what you think it does.

In your case you should use Repository.AdviseConnectorChange (
long ConnectorID) and possibly RefreshOpenDiagrams (
boolean FullReload)

Geert

7149
I've never seen this warning before (although I'm using C# and Visual Studio or Sharpdevelop)

But then again maybe it just doesn't show the warning on my machine because the right/wrong checkboxes have been ticked :-/

Have you tried asking Sparx support?

Geert

7150
Automation Interface, Add-Ins and Tools / Re: API: Class Stereotype
« on: November 14, 2012, 07:11:45 pm »
I think you should have a really good look at what you are doing and how it looks now, bot in the database as in EA.
There's no such thing as magic in EA, and usually there's a logical explanation to everything you see.

Geert

7151
Automation Interface, Add-Ins and Tools / Re: API: Class Stereotype
« on: November 14, 2012, 06:22:24 pm »
I guess there might be a difference between what you see in EA (partially cached in memory) and what is in fact in the database.
Try reloading the model and see if you still have those weird differences.

Geert

7152
I've seen this question (and the answer) come by a couple of times in the past.

Try searching the forum using the top left search button. (and mind the options)

Geert

7153
Tahir,

The settings for version control are a bit everywhere.
Part of it can be found the paths.txt in the %appdata%
Part of it in the t_package.XmlPath column
Part of it in the registry: HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS
and then there must be another part in the database that defines the actual configurations, but I don't remember where that is stored.

Geert

7154
Sorry, I don't really have a clue.
I've built numerous add-ins in .Net 4.0 and I've never had such an issue.
Have you tried starting all fresh to see whether you still have the issue?

Geert

7155
There's also a Repository.GetAttributeByID, GetConnectorByID,...
So if you get the ID of the attribute or operation using SQLQuery you can get the Attribute object (or Method object) directly i.s.o. having to iterate all Attributes until you find the one you need.

But those won't help of course if you need all attributes of an element.

In any case you should avoid iterating the EA.Collections more then once.
Unlike what you would expect the Element.Attributes collection does not work in memory. No, each time you iterate to the next element it will fire a couple of sql commands to the database in order to get the details of the attribute.

It is usually the sheer number of (small) SQL queries that slows things down.

So just make sure you case the EA.Element.Attrbutes in a regular (in memory) collection when you might need to iterate them more then once.

Geert

Pages: 1 ... 475 476 [477] 478 479 ... 560