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 ... 749 750 [751] 752 753 ... 755
11251
I'm not sure about diagrams.
I used it after updating the notes of an element.
Before I used the AdviseElementChanged the seperate notes view would not get updated when I did an element.Update().
At first I tried the Element.Refresh, but that changes the selected element in the project browser as a side effect.
AdviseElementChanged does exactly what I wanted it to do without messing with the selected item in the project browser.

Geert

11252
Another one that I discouvered recently is the Repository.AdviseElementChange and AdviseConnectorChange.
Those work pretty good in refreshing the GUI of EA when something has changed.

Geert

11253
Automation Interface, Add-Ins and Tools / Re: Addin toolbar
« on: September 04, 2009, 11:05:42 pm »
I can image that this mixup is related to the dynamic nature of the addin-menu option.
Actually, before the EA_getMenuItems is executed EA does not know what they will be, the are constructed at the very last moment.
I guess it is difficult to keep a reference to something that doesn't exist yet.

Geert

11254
Automation Interface, Add-Ins and Tools / Re: Addin toolbar
« on: September 04, 2009, 09:12:16 pm »
I was afraid so  :-/

11255
Automation Interface, Add-Ins and Tools / Re: Addin toolbar
« on: September 04, 2009, 08:49:58 pm »
I don't know the answers (I don't think so), but I do have a question.
When you put the dummy0 on the toolbar, did it do something when selected?

11256
I don't think so. I tried to do the same a while ago, but I couldn't find any option to allow that.
You can select an element in the project browser, and you can open a diagram, but that's about it.

Geert

11257
Checked it on the latest version (848) and indeed the operation returns an object iso a Diagram.
You better report this as a bug.

Geert

11258
According to the documentation it should return a Diagram.
Quote
GetDiagramByGuid (string Guid)
 Diagram
 Returns a pointer to a diagram using the global reference ID (global ID). This is usually found using the diagram GUID property of an element, and stored for later use to open an diagram without using the collection GetAt() function.

Parameters:

Guid: String - the GUID of the diagram to locate.  

11259
I don't think so.
That would make a good feature request.

Geert

11261
Automation Interface, Add-Ins and Tools / Re: Addin in context window
« on: September 02, 2009, 09:06:20 pm »
Yes,

Look at the parameter "Location", "Treeview" and "Diagram" are context menus.

Geert

11262
Automation Interface, Add-Ins and Tools / Re: Adding to Collections
« on: August 22, 2009, 03:31:43 am »
What exactly are you trying to achieve?
Re-order the the elements in the collection to use them in your program, or reorder the elements so that they have a different order in the project browser?

11263
Quote
I think that normalization of data model (of EAP DB) would be appropriate.
That's quite an understatement.
A redesign of the database is something we are asking for a long time now.
Most of EA users are people who are working in the field of IT architecture and/or design, and it just hurts to see such a bad database design.
The reason I think EA has the database it has now is that Sparx wanted to keep the database stable; which they did for years. That of course has its advantages, I think you can still mix version 6 with version 7.5 clients. The downside is that for every new feature that was not foreseen in  the original db design, the had transform another field into a "Magic String" monster.

Geert

11264
We had a recent topic about diagramlinks that might interest you:
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1250840058
Starting from there I guess it's just a matter of finding out where to set the visibility of the labels.
I suggest you start looking at the Style(Ex), Properties and Custom Properties of the Connector as a start.

Geert

11265
Quote
2:
- Loop over all version controlled packages and perform a Package.VersionControlCheckout and a Package.VersionControlCheckin

Pages: 1 ... 749 750 [751] 752 753 ... 755