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 ... 479 480 [481] 482 483 ... 566
7201
It only locks the package itself, nothing else.

Geert


7202
I think we had this question here before and IIRC the answer was no, unless you are willing to simulate mouseclicks/keypresses

Geert

7203
Automation Interface, Add-Ins and Tools / Re: EA MainTab Title setting
« on: January 09, 2013, 07:51:40 pm »
I don't really see anything obvious that allows you to have an impact on that.

Geert

7204
Quote
Can you tell an easy way to do this for an .eap (MS-Access) database?
No sorry, I have no other suggestion than "try google" :-[

Geert

7205
Yes, seems like that should be working.

If I were you I would try to setup some kind of logging on the database to figure out which sql commands EA is exactly sending to the database (and which ones it isn't)

Geert

7206
Automation Interface, Add-Ins and Tools / Re: Deep Delete element
« on: December 11, 2012, 07:22:07 pm »
Danny,

I didn't even know that pdf existed.
Anyway, you should indeed just use the help file.

Geert

7207
"Find in all diagrams" is not that difficult to simulate.

I'm using something similar in my EA Navigator addin.

This window: https://github.com/GeertBellekens/Enterprise-Architect-Toolpack/blob/master/EANavigator/NavigatorList.cs
can be used to navigate to most types of elements, including diagram.
It is used when you use the context menu options to navigate to elements or diagrams.

Geert

7208
Sven,

You have to use a native collection (List or whatever) i.s.o. the EA.Collection.

Geert

7209
Paulus,

You should use HKLM. That will work for all users.

Geert

7210
Yes sorry, typo:
Quote
You have to add it in a collection such as
Package.Element[highlight]s[/highlight].AddNew()  or Element.Element[highlight]s[/highlight].AddNew()

Geert

7211
You have to add it in a collection such as
Package.Element.AddNew()  or Element.Element.AddNew()

Geert

7212
Automation Interface, Add-Ins and Tools / Re: Sort the attributes of class
« on: November 22, 2012, 12:06:24 am »
Use EA.Attribute.Pos

Geert

7213
Automation Interface, Add-Ins and Tools / Re: Columns in constraint
« on: December 18, 2012, 06:25:03 pm »
Just looking at the contents of the t_connector table should get you further.

I see:
- SourceRole and DestRole which correspond to the names of the FK/PK operations
- Name in the form of (ColumnName = ColumnName)
- StyleEx in the form of "FKINFO=SRC=FK_name :DST=PK_Name:;"

I think it would be best to rely only on the StyleEx field.

Geert

7214
Automation Interface, Add-Ins and Tools / Re: Columns in constraint
« on: November 14, 2012, 04:38:00 am »
Have you looked at the parameters as I suggested?

Geert

7215
Automation Interface, Add-Ins and Tools / Re: Columns in constraint
« on: November 14, 2012, 12:59:37 am »
Quote
repository1.Get[highlight]Attribute[/highlight]ByID(25).Constraints.Count //table CONTAINERS (ID 16), column ITEM_ID (ID 25)

Open table CONTAINERS in project browser, find FK ITEM_ID, right click> [highlight]"operation properties[/highlight]"> Column> .

Start searching in the operations to begin with. ;D

The involved columns seem to be defined as parameters.

Geert

Pages: 1 ... 479 480 [481] 482 483 ... 566