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 - Pedro Costa

Pages: [1]
1
General Board / New version of Enterprise Architect
« on: January 04, 2010, 10:52:37 pm »
Greetings,

When can we expect a new version of EA?

Cheers,

Pedro Costa

2
Bump

3
Automation Interface, Add-Ins and Tools / Catch close event on a tab
« on: March 12, 2010, 04:42:35 am »
Greetings,

Is it possible to check whenever a tab, that contains a user control created by my addin, has it's close button clicked and prevent it from closing?

Cheers,

Pedro Costa

4
Greetings,

I'm aware that the table t_document holds information such as the baselines of packages. Such information is contained in the BinContent column.  I know that the IProject interface provides methods that allow to do some operations on baselines, but what i really want is to read its contents only.

Can i assume that the content of that column is a XML document which is compressed? If so, is there a way to uncompress and work with that data?

Cheers,

Pedro Costa

5
Will this feature be included in the next release of EA?

Cheers,

Pedro Costa

6
The problem is that the solution that i'm going to develop has it's own data tables. Thus, it is imperative to interact with the database.

I've already tried to use the property Repository.ConnectionString. But there is a major drawback. If the user decides to encrypt it, my addin cannot communicate with the database.

7
Hi,

Recently i've tried to perform a similar task: to execute INSERT or UPDATE commands into the database. Executing the following line of code returned void and did not interact with the database:

Code: [Select]
Ea.Repository.SQLQuery(" <Update command>")
However if i execute, for instance, the following line of code:

Code: [Select]
Repository.SQLQuery("SELECT 1; <Update command>")
the records of my database are updated, but a weird message box appears in EA. I suppose it is not feasible to alter the information in the database by using the automation interface API?

EDIT:
The "weird message box" contains the following message:

Code: [Select]
---------------------------
EA
---------------------------
Error:
Code = 0x0
Source = Line : 0; Char : 0
Error Description = (null)

---------------------------
OK  
---------------------------



Cheers,

Pedro Costa

8
Thanks a lot Simon,

I'm sorry to bother again, but is there a document that shows the capabilities/features of the automation interface? In order to understand the API, i'm using the chm help file and Sparx's web site.

I'm also looking for an answer to the following questions:

- Is it possible to interact with the status bar? I.e, can i, for instance, show customized text to it?
- Can i create my own toolbars?

Thanks in advance,

Pedro Costa


9
Hi Geert,

The AddTab function allows me to create a customized view. The other function creates an output tab. Neither of those functions satisfy my needs.

Cheers,

Pedro Costa

11
Greetings,

Is it possible to add a tab, like the "Testing" or "System" tabs, and customize its contents using the automation interface?

Cheers,

Pedro Costa

Pages: [1]