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

Pages: 1 2 [3] 4
31
General Board / Shrinking open package tree
« on: May 10, 2016, 12:02:11 am »
Hi,

I am doing some manipulation on elements underneath a package which results in opening of the package in the model tree.
Is there a way to collapse the package back to its original closed position in the tree after I am done?
I did not find an API that does that...

Thanks,
Tzafrir

32
General Board / Get the generalized stereotype of stereotype
« on: April 15, 2016, 04:49:48 am »
Hi,
I would like to get the inheritance hierarchy of stereotypes.
Currently I see stereotype are returned from elements as string only.
Can this be performed with some API?

Thanks,
Tzafrir

33
General Board / Package clone API
« on: April 11, 2016, 05:53:38 pm »
Hi,

Is it possible to use the Clone API (or similar API),
that will not clone the package on the same level, but put the cloned package in a different place?

34
General Board / Transform an Activity object into CallBehavior object
« on: April 07, 2016, 04:18:43 am »
hi,
I have an "Activity UML object", taken from the model tree (in the AddIn code it is EA.Element),
What I want my AddIn to do is, once I am taking that object and putting it on the diagram,
that it will be switched to a CallBehvior object.

I managed to do it in EA without AddIn coding,
is this something this something AddIn coding can do?

35
General Board / Log or Traces in EA
« on: April 06, 2016, 07:19:16 pm »
Hi,

Is there any Logger API or some trace that can be used in the AddIns?

Tzafrir

36
General Board / Replacing description name in EA ManageAddIns tab
« on: March 28, 2016, 04:18:41 pm »
Hi,

Geert (or anyone else who knows),
I am using the MSI installation document you shared which works perfectly,
Just a small question, I want the description tab (In EA->Manage Add Ins) to be filled.
I tried the various description places, but non of them seems to be replacing the AddIn name in the tab (might have missed the correct one).
Is it even do able or always the AddIn name?

37
General Board / Refresh model tree after deleting a package
« on: March 23, 2016, 03:13:56 am »
Hi,

I have deleted a specific package using the EA API.
Now I want to refresh the model tree that will not show the deleted package without need to manually touch it and get a pop up that it was deleted by other user (my app).
I tried updating its Parent Package, repository.RefreshModelView(id) but non of them work.

Does anybody knows the correct API that I should be using?


38
General Board / Sql query for retreiving all packages in model
« on: March 18, 2016, 06:40:10 pm »
Hi,

Is there an SQL query that I can get all (and only) packages in the model?


39
General Board / Event that start up when Model is open
« on: March 17, 2016, 06:48:01 pm »
Hi,
Does anyone know if there is an event that jumps when a model is opened?
I could not find such one in this link:
http://sparxsystems.com/enterprise_architect_user_guide/12.1/automation_and_scripting/addins_2.html

Tzafrir

40
General Board / Cloning EA.Element
« on: March 17, 2016, 05:03:26 pm »
Hi,

Is there an API to clone EA.Element, similar to the cloning API of a package EA.Package package.Clone()?

Tzafrir

41
General Board / Retrieve tags of a package
« on: March 14, 2016, 04:10:25 am »
hi,
I have tag in a package which I am trying to retrieve using EA API.
The only API that I found that is related to tags is from EA.Element (element.Tag)

For Package, there is no API to retrieve its own tags.
Is there a way to retrieve it throw EA API?

42
General Board / Available tables and their field in EA
« on: March 13, 2016, 05:04:04 pm »
Hi,

Is there a link that describes all the available tables and their fields in EA?

Thanks,
Tzafrir

43
General Board / Completely remove AddIn from Manage Add In window
« on: March 10, 2016, 05:14:04 pm »
Hi,

Is there a way to completely remove AddIn, that it will not appear in Extention -> "Manage Add In window"?

Thanks.

44
General Board / SysML is jumping on EA_OnPostNewElement
« on: March 07, 2016, 07:08:47 am »
Hi,
I have written an AddIn that jumps on EA_OnPostNewElement event.
One of the Addin functionality is getting the ID of the element that was inserted to a diagram and then deleting it from it.
Up until here everything was fine.
I then installed SysML Addin from sparxsystems site.
What happens is that the SysML started running my event, the problem is that it looked for an Id that does not exist in the model anymore and that causes a crush.
Does anyone have any idea how this issue can be resolved?

Thanks,
Tzafrir

45
General Board / Copying a Dll for use on another Computer
« on: February 28, 2016, 11:36:32 pm »
Hi,

I have places the NewAddIn dll and exported the registry of my current EAAddin setup for the 2nd computer use.
Can someone provide the full necessary steps that are needed in order to install the dll on the 2nd computer?

Thanks.

Pages: 1 2 [3] 4