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 - z.kadlec

Pages: [1] 2
Automation Interface, Add-Ins and Tools / EA_OnContextItemDoubleClicked
« on: November 07, 2018, 06:54:34 pm »

I have preared an add-in for custom proerty and tag editation. The form is activated by doubleclick on the diagram or project browser.

Since EA 14 there is a problem - the EA_OnContextItemDoubleClicked is not fired on doubleclick in ProjectBrowser on package or element containing some sublemenets/diagrams/subpackages.

In documentation i found that it shoud work:
EA_OnContextItemDoubleClicked notifies Add-Ins that the user has double-clicked the item currently in context.

This event occurs when a user has double-clicked (or pressed the Enter key) on the item in context, either in a diagram, in the Project Browser or in a custom compartment. Add-Ins to handle events can subscribe to this broadcast function.

Function EA_OnContextItemDoubleClicked (Repository As EA.Repository, GUID As String, ot as EA.ObjectType)

The EA_OnContextItemDoubleClicked function syntax contains these parameters.

Is it Bug? Or feature? Exists some switch to setup situation when the event will be fired?

Thanks for any info


General Board / Re: EA 14 - double click on elements in project browser
« on: September 21, 2018, 07:29:36 pm »
Hi, I'm not sure the add-in will be the solution. My add-in is not reacting on the doubleclick on the element/package in ProjectBrowser in EA14, but in EA12/EA13 it does.

Hi all,

I have prepared an add-in for EA allowing specification of user dialogs via XML definition (the layout of fields, text fields, comboboxes etc). We use it for evidence of many types of information on elements/packages userfrendly and efficiently. There is abou 200 of users to use it.

When user doubleclicks on an element, the add-in checks the stereotype, and if registered in addin configuration, the form is shown. The dialog respects locks. In case user open an instance, the addin can open the instance or the classifier (dependes on the xml configuration of the add-in).

Each form is having a "new" button allowing to create the childs - the allowed stereotypes and object_types for that childs are specified also in the add-in configuration.

Currenty I'm preparing the subform to show/create relations & instances in a bit more userfriendly way than the EA proposes corrently.

I don't know, if it would be usefull for anyone else - currently there is lot of systém messages of the addin in czech only (but labels on the form you can write in language you preffer :), some of messages are localized, but I don'n know, if it make sense to translate the rest... and that is the objective I wrote this topic - if there is someone in EA community, who will see added value for the add-in working....

Make it sense for somebody to use it? It is tested on czech / english Windows only :-) May be there can be problems with installation etc :) :)

I don't know where to store here some screenshots & cfg example... :-(

Suggestions and Requests / Re: Open "Select Item" dialog to API
« on: October 15, 2009, 04:16:50 am »
I would like to stress the importance of this API function - I have alreday spent 2 years to solve it (it works, but the problems with refreshing etc. needs lot of workaroudns....).

So, if now the search window is available in the UI, I believe the API function publication would be the simple task....

With kind regards

Zdenek Kadlec

General Board / Re: Where can I find 830?
« on: October 21, 2008, 01:30:49 am »
if you have any www, where I can upload 30MB file, I can put it there from my local EA install archive.
(contact me on

General Board / Re: Which views to divy-up the artifacts?
« on: July 12, 2004, 09:01:51 am »
I have the same experience / the views and packages I understend as a headings or chapters in a documantation. The package note is textual content of the chapter, if there is any diagram.
The sparx views I normally delete.

General Board / Re: EA on ORACLE Database
« on: January 26, 2008, 07:48:44 am »

does have somebody some new info's in that?

We have EA used for cca 35 concurrently working users on one network ORACLE 9 repository.

We model there whole business processes of a bank and we maintain there the internal rules generated from process diagrams.

The size of the EAP file when the Oracle DB is transferred into MSAccess is currently cca 150MB.

The connection time is cca 2-3 min.

It is pitty that EA loads ALL packages on the start - our users typically works with one subsubsub...package for the whole day.

Problem is when I need to read elements of a package in Add-In - it takes a significant number of second in case of package with about 10 processes inside and with 20 steps per process as subelements.

Have a nice weekend


General Board / c++ exported class reengineering
« on: January 03, 2004, 11:15:30 pm »

I write a dynamic libraries in C++ usable on Win32 and UNIX.
There are exported classes in that libraries.
Because UNIX and Win32 are in this not compatible, I use my macro (named MY_DLLEXPORTCLASS).



When I'm importing classes form a source (*.h), EA create lot of classes named MY_DLLEXPORTCLASS   ;-(

I thing, to solve this problem, there could be a list of MACROs (or simply any text phrases), which should be
ingnored on source parsing.


General Board / Logical datatypes - how to have 1 model for N db
« on: June 24, 2003, 08:57:55 pm »

I'm modeling a systems, witch must work on informix, oracle, postgreSQL and ODBS (msaccess).

So I need to have 1 db model with logical datatypes.

Then I will define the mapping of logical types to fysical types for each of db type interested for me (for example: logical type XY is in informix mapped as DATETIME, in ORACLE as DATE, etc.).

This is crucial for my work, because the model is large and have N-times the same model with only differend datatypes depend on db type - it is problem.

Are you planned to support this feature? Or is still supported and I'm only stupid, that I cant find it?

Thanks for replay (and sorry for my english ;-))

Zdenek Kadlec

At last I will mey be generate an DDL for any type of registered DB machines - with using of gy

Bugs and Issues / Re: ODBC Oracle problem
« on: October 21, 2008, 01:34:54 am »
I have the same experience - Microsoft odbc driver for Oracle doesn't work with EA!


Bugs and Issues / Re: Automation Bug in 832 build
« on: August 26, 2008, 07:56:20 pm »
Answer from Sparx:
Hello Zdenek,

Just to follow-up on the below report, a copy of the EA 7.1 build 831 installer can be downloaded from the following link (if needed) to allow you to work around this issue until a fix has been implemented.

Bugs and Issues / Re: Automation Bug in 832 build
« on: August 25, 2008, 11:25:37 pm »
Thanks to Olga...

please, has somebody the release 7.1.831 to download? I cannot find that build on Sparx's web...


Zdenek ;)

Bugs and Issues / Re: Automation Bug in 832 build
« on: August 25, 2008, 03:30:23 pm »
I have the same problem and I'm quite sure I cleaned all .dll in binary directory.

Do you have some solution?

I sent that possible error to SparxSupport on Friday... :(


Bugs and Issues / Add-in - ?BUG? EA_OnContextItemDoubleClicked
« on: January 26, 2008, 12:00:47 pm »
Hi all,

I write sometimes Add-ins...

Method EA_OnContextItemDoubleClicked is very usefull:

* if that method returns false, the standard EA dialog will be shown.
* if it returns true, nothing in shown.

But I have some problem with it:

If the function return true, the name of the doubleclicked element in the project browser disappers. Why? Is it my mistake?

I prepared simple example in C# to demonstrate this behavior:
- if you doubleclick in project Browseron an element with Shift key pressed, the function returns true, and the name should disappear in the project browser.
- if you doubleclick in project Browser on an element without any key, function returns false... and the standrad dialog will be shownd and the name of the element in the project browser stay visible.

Does somebody the same experience? Is it reproducable by anybody else?

Thanks for any hint

Zdenek Kadlec

Code: [Select]
public bool EA_OnContextItemDoubleClicked(EA.Repository repository, string GUID , EA.ObjectType ot)
           if (( Control.ModifierKeys & Keys.Shift) > 0 )
               return true;
           return false;

Automation Interface, Add-Ins and Tools / Re: Run Script by AddIn
« on: June 16, 2015, 03:20:04 am »
thx. I cannot use the EAWrapper because my addin is in use since 2006 :-) :-) But the way of load and run is very helpful...


Pages: [1] 2