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

Pages: 1 ... 3 4 [5] 6 7 8
General Board / Re: Package clone API
« on: April 11, 2016, 06:51:03 pm »
Yes, I know that,

Let me reexplain:
My business case is that the package that I am cloning from is in Read\Write mode.
and I want to change it to ReadOnly mode.

The problem is that cloning can be done only in a Write mode state.
Is there an API that I can do it in one action Clone and put the ParentId together?


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

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?

The issue is transforming the EA.Element from Activity to CallBehavior.
With placing it on the diagram I am fine.

General Board / Re: Log or Traces in EA
« on: April 07, 2016, 04:33:34 am »

General Board / Transform an Activity object into CallBehavior object
« on: April 07, 2016, 04:18:43 am »
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?

General Board / Re: Log or Traces in EA
« on: April 06, 2016, 09:44:12 pm »
Can you give me a short example of such log?

General Board / Re: Log or Traces in EA
« on: April 06, 2016, 07:46:44 pm »
I will re ask my question,
Is there a place in EA where traces from AddIn can be written to?

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

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


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

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?

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

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?

General Board / Re: Sql query for retreiving all packages in model
« on: March 21, 2016, 09:11:56 pm »

General Board / Re: Sql query for retreiving all packages in model
« on: March 21, 2016, 04:49:16 pm »
When I run the following command:
EA.Collection result = repository.GetElementSet("Select Package_id from t_package", 2);

I am getting the following error:
DAO.fields [3265] item not found in this collection

When running,
EA.Collection result = repository.GetElementsByQuery("Select Package_id from t_package","");
I am getting
"Search Not found"

This query extracts values using EA Builder with no errors, what is the correct way of getting those Ids?

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

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

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


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

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


Pages: 1 ... 3 4 [5] 6 7 8