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.

Topics - gilles2

Pages: [1]
General Board / Package Control > File History > Retrieve
« on: September 25, 2012, 02:20:44 am »
Hi all,

Strangely when I try to call "retrieve" from file history feature on a package, I see the popup trying to import xmi. I accept it (forcing xmi import) but after the import, my package still displays the head revision.

Have you noticed this ?
Using EA9.3 + SVN
Checked with shared models (mySql) and private models

General Board / link automatically visible
« on: April 14, 2011, 01:43:24 am »
Hi all,

I am trying to customize Enterprise Architect so that it behaves as i want to and i am questionning myself about what is possible and what is not.

1. Is there a way to block entreprise architect from showing existing links between elements when dragging and dropping those elements (as simple link) on a newly created diagram?

2. And is there a way, when creating a new relation between two elements to prevent EA from adding this new  link on all diagrams where both elements are visible ?


General Board / Stored Procdure from toolbox
« on: October 30, 2008, 03:49:49 am »
Hi everybody !

I am currently having an issue with stored procedures from thedatamodeling profile !

If i use the old method :
create a standard uml class, give it the "procedure" stereotype it's ok ! the next time i look at it properties i had the procedure popup with dbms and procedure content. I can save it and open it again to check my data.

If i use the data modeling toolbox and drag & drop the procedure element from it on my diagram, it cannot save my data ! i have the good popup when i check at its properties but the "save" button has no effect !

Is this a bug or am i doing something wrong ?

Thanks in advance,

Automation Interface, Add-Ins and Tools / Package "Model" deletion
« on: January 25, 2011, 08:51:44 pm »
Hi all,

Do you know if a specific event is raised when a "model" package is deleted ?

The EA_OnPreDeletePackage event doesn't seem to be raised.


Automation Interface, Add-Ins and Tools / EA_GetMenuState
« on: November 17, 2010, 04:19:53 am »
Hi all,

I am currently working on EA_GetMenuState method from the API, and i am having quite strange troubles.

My scenario :
I go to addin Main menu.
EA_GetMenuState is called for each submenus to decide how to display them and depending on my business layer some submenus are enabled and other no!

All works fine here.
Now, I click on an enabled submenu.
First strange thing, EA_GetMenuState is called again on this submenu (before the click). I was thinking the EA_GetMenuState was called before the display of a menu, not when clicking on it before calling EA_Click....

Moreover, if the last thing I focus on in the project browser, is a package (easy to reproduce), the EA_GetMenuState called to display my submenu has a menuLocation equal to MainMenu, so my submenu is enabled, the EA_GetMenuState called when clicking on the same submenu, has a menu location equals to TreeView. So my problem....


Using EA 7.5 or EA 8.0.

Thanks for your replies,


Hi all,

I am having a strange issue.
I have developped an external tool that connects to an EAP file through the API.

Everythings works fine !
I use ExportPackageXMI method on Project object.
It works.

But the EA.exe process linked to my tool blocks a particular resource after calling the ExportPackageXMI  method. The directory containing my xmi file generated is blocked by the process.

I need to disconnect from the EAP file to be able to work on this directory (delete,....) which is not convenient in my tool.

Do you have any idea ?


Hi dear EA community,

Here is my problem,
I am trying through the automation interface to create a new stereotyped component, directly composite with a stereotyped diagram

After analysing different posts in the forum and trying my owned experciences I managed to find clues and theories but not a definitive answer. May someone here be able to help me ?

First of all the custom command SynchProfile is very useful to retrieve taggedvalues from a profile but not very to retrieve _makeComposite or _defaultDiag... (it's quite logical because to apply the syncprofile you must have created an element first and those properties are applied only to being created elements. but it's quite disturbing because you need to "code" twice your profile properties in a way)

So you need through the API
- to make your element composite using field NTYPE(=8) in t_object table. Here all is fine.
-to create your specific diagram as a nested one on the element. still ok.

Here comes troubles.
In many post, the "community" said "fill PDATA1 field with your diagram id" and your both new element & diagram are linked : no effect in my case.

And then i found an interesting post explaining that there were two ways of linking diagram & its composite element, through PDATA1 for Activities ... and using t_xref table for components. And  of course in my case, i am trying this with a stereotyped component.

So in t_xref table you linked a customer and a supplier and all is fine.
But now how can I make an Insert in the t_xref table ... I mean how can I get a new XrefID without perturbing an internal EA Sequence or anything else ?

PS : sorry for my english.


Hi everyone,

here is my problem.
I found a lot of post in the forum about this subject but that's still not clear for me.

I am developping an add-in that intends to substitute EA dialogs for some elements.

For creation of the element everything is ok.
I use EA_OnPostNewElement method.
this method returns true to notify EA the addin does the creation job
I update my element
I modify SuppressEADialogs property to true
all is fine

On modification here come my problems.
I see two useful methods.
SuppressEADialog has no effect here ! It is written in EA documentation
But if you return true in method EA_OnContextItemDoubleClicked you notify EA not to treat the update and EA dialog is not opened.

in project browser, the name of the element modified is not refreshed.
the name dissapears and only its stereotype is visible, if you click on the element, its name comes again.

So i look into the forum
refresh on elelement -> no effect
adviseElementChange on repository -> no effect
RefreshModelView on repository -> it reloads everything, backup dialog are shown for modifed diagrams, when reloaded, elements are not in the same order in package which is much more disturbing for user that a name not displaying.

Do you have any idea ?



Pages: [1]