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 - gervais.b

Pages: [1]
Because the idea would be to react when the user move or add one Component to a Node into a deployment diagram. Is it other/cleaner solutions than listening for EA_OnPostCloseDiagram event or polling the Diagram.ModifiedDate ?

Only when a save is issued, data are written to the database.

Then ideally I would like to react "on_pre_save"

Unfortunately you cannot write add-ins in Java, only .Net
Thanks, that's a minor problem.

Hi there,

I have a Java app that use the Java API Bridge to query our enterprises repository. I would like to have this app, running as standalone, notified when an user changes something in a diagram.
Ideally I would like to warn the user about the consequence of his changes and trigger a long running process on my Java app if he confirm.

The first idea would be to create one add-in that would listen for changes and call a REST service when the user agree. But I have no idea on how to listen for changes on one specific diagram.


I have an application that works fine in standalone. I try to execute it from a servlet container (Tomcat) on the same machine, but a lot of methods returns null.
Since everything works well as standalone I cannot see other reasons why it will fail on Tomcat. I know that i don't provide much information but cannot think to something else to say.

Does someone has any similar experience or ideas ?
Does the bridge produce some logs to help debug the situation ?

Automation Interface, Add-Ins and Tools / Re: Java API. Generate XML Schema
« on: February 11, 2015, 10:06:53 pm »
So finally,

After having installed the trial version of EA 11, I was able to extract the Dll and the Jar in order to access the "Project" class.
With this class I'm able to generate the Xsd. It's really easy.

Thanks a lot.

I once created the schema programmatically. ... Maybe you do that too.

Yes. Unless someone can give ma a better solution I think I'm going to do that


I'm using the Java API/Sdk to generate our services documentation and scaffold the projects. During this process, I need the XML Schemas.
At this time, we have to generate them previously in a given location. But I would like to skip this manual step.

Can I reuse the "XML Schema generator" ? And how ?

Thanks a lot

Thanks a lot.

For a more complete response, the "t_xref" contains a "Description" column.
The content of this column is a plain text who contains a markup where each tag start with "@+tagname=" and end with "@END+tagname;".

Reformatted sample :
Code: [Select]

In my case it is the property with "@NAME=[highlight]lower[/highlight]@ENDNAME;" who hold the requested "@VALU=[highlight]1[/highlight]@ENDVALU;"

In case you didn't know that before (like me), the ".eap" file can be opened by "Ms Access".


I have a java application who use the EA bridge to generate a single file from a lot of diagrams.
Into the generated file I would like to write if a method parameter is required or not. For that, I want to read the parameter multiplicity (if lower bound is >0, it is required).
But At this time, I'm unable to read this information and cannot see anything about that from the documentation.

Could you, please, help me to read the paramtere multiplicity ?

Thanks a lot.

EA version 9.2.920

Pages: [1]