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 - solenn

Pages: [1]
1
Hello,

When I create an element in a diagram, the method "EA_OnPostNewElement" is called but just when I put it in my diagram.
I would like to know how to call a method when user clicks on button "OK" in properties window.

Thanks a lot,
Solenn

2
Hello,

I have created a profil mdg and I have created tagged values for a particular stereotype.

For exemple, my profil is named : "MyProfil".
I have created a stereotype : "MyStereotype"
I have 2 tagged values for my stereotype : "tag1" and "tag2".

When I create an element with stereotype "MyStereotype", in properties windows I have an item "MyProfil" with tagged value "tag1" and "tag2".

If with my C# code I create an tagged value (ex: "tag3") in this element, it appears in the item "Tagged Values" in properties windows of my element.

If with my code C#, I create an tagged value "MyProfil::tag4" in this element, it appears in the item "MyProfil" in properties windows of my element. The problem is the name of this tagged value is "MyProfil::tag4" while the other tagged values are well written "tag1" and "tag2".

How can I do with C# code to create my tagged values in the item "MyProfil" in properties windows of my element without "MyProfil::"?

Thanks a lot for your help.
I use EA 10.0 build 1009.

Solenn

3
Hello,

I would like to know how to detect attributes et associations visibles in a diagram thanks to EA API.

Thanks a lot,
Solenn

4
Hello,

I would like to know how to have with api the fully qualified tags for tagged value.
In the view "Tagged Value", you have an tagged value option "Show Fully qualified tags" and I would have the same with EA API for a tagged value.

Thanks a lot,
Solenn

5
Automation Interface, Add-Ins and Tools / Import reference data
« on: January 18, 2012, 02:22:36 am »
Hello,

I would like to know how to import reference data with c# code?

Thanks a lot,
Solenn

6
Automation Interface, Add-Ins and Tools / Compact EAP file
« on: January 25, 2012, 12:33:26 am »
Hello,

I would like to know how to compact EAP file with C# code?

Thanks a lot,
Solenn

7
Hello,

I have a problem with event "EA_OnPreNewDiagramObject" in C#.
In fact, when I write the following code :

public bool EA_OnPreNewDiagramObject(Repository repository, EventProperties info)
{        
    return false;
}


In EA, I create an element in a diagram --> It's OK (the element is not created)
In EA, I drag and drop an element in a diagram (as simple link) --> It's OK (the element is not created)

In EA, I drag and drop an element in a diagram (as Instance of element) --> It's KO --> CRASH EA

Can someone help me?

Thanks a lot,
Solenn







8
Automation Interface, Add-Ins and Tools / Package apparence
« on: September 19, 2011, 06:21:27 pm »
Hello,

I would like to change package apparence in project brower with code.
I would like to put an specific image.

Can someone help me?

Thanks a lot,
Solenn

9
Automation Interface, Add-Ins and Tools / Element composite
« on: September 01, 2011, 10:44:51 pm »
Hello,

I would like "make composite" an element with c# code.

I have write :

element.Subtype = 8;

After element is composite but when I double clicked, the diagram can be opened. I don't have "OO" in the diagram for the composite element.

Can someone help me?

Thanks a lot,
Solenn



10
Automation Interface, Add-Ins and Tools / Change Parent Element
« on: July 02, 2009, 07:31:07 pm »
Hello,

I would like to change the parent of an element.

Do you know how to do that?

Thanks,
Solenn

Pages: [1]