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

Pages: [1]
1
Suggestions and Requests / EA and .net 2.0
« on: October 22, 2007, 12:02:57 am »
Hello,

I have a problem. If I use code engineering --> import source directory I get class model but generic list and dictionarys will be ignored. Thus some associations get lost. What can I do?


I use .net 2.0 C#

2
Hey,

I want to get the position of an element:

Code: [Select]

EA.Diagram diag;
EA.DiagramObject diagObj;
Rectangle rectangle = new Rectangle();

diag = gEARepository.GetCurrentDiagram();
diagObj = (diag.SelectedObjects.GetAt(0)) as EA.DiagramObject;
rectangle.X = diagObj.left;
rectangle.Y = diagObj.top;


If I move an element to other position, diagObj will be not updated. I mean that I get always the same values, why?

3
Automation Interface, Add-Ins and Tools / Re: dragging and dropping
« on: July 24, 2007, 03:06:24 am »
My application is an add-in.
But the events what I know are:

EA_Connect, EA_Disconnect, EA_GetMenuItems, EA_MenuClick, EA_GetMenuState, EA_ShowHelp, EA_OnOutputItemClicked, EA_OnOutputItemDoubleClicked,
EA_FileOpen, EA_FileClose, EA_OnPreDeleteElement, EA_OnPreDeleteConnector, EA_OnPreDeleteDiagram, EA_OnPreDeletePackage, EA_OnPreNewElement, EA_OnPreNewConnector, EA_OnPostNewElement, EA_OnPostNewConnector, EA_OnDeleteTechnology, EA_OnImportTechnology, EA_OnContextItemChanged, EA_OnContextItemDoubleClicked, EA_OnNotifyContextItemModified

sadly, no OnClickDiagram or similar  :'(

4
Automation Interface, Add-Ins and Tools / Re: dragging and dropping
« on: July 24, 2007, 02:27:42 am »
Hey, thanks for your answer.

I need the link to the diagram and the name of the diagram. By means of the link I can select a diagram in EA. The next question is, how can I get an event of EA?

robmir

5
Automation Interface, Add-Ins and Tools / dragging and dropping
« on: July 23, 2007, 11:35:45 pm »
Hello,

I want to drag a diagram in EA and to drop over my form. Is it possible?

I need 4 events like: ItemDrag, DragOver, DragEnter and DragDrop

regards

robmir

Pages: [1]