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 - mark.tootell

Pages: [1]
1
General Board / Question about Server Based Repositories
« on: January 30, 2015, 09:58:35 pm »
Hi
I recently created a server based model for one of my development teams which is working extremely well for us. Another team is wanting to use the same approach for a new development and has asked me to configure it for them however I have run into an issue.
The first one was set up using the instructions and a newly created database, but there is a reluctance to create another new database for the new development. Is it possible to have multiple models on one database? If so, how do you set each on up (the instructions in the manual start from a new clean database)?
Thanks

2
Thanks Qwerty
Execute() worked but how do I refresh EA without closing the project and then re-opening it?
Mark

3
Hi
I'm writing an add-in which links my requirements tool to EA and was wondering whether there is a way to modify the underlying t_requiretypes table so that I can addition requirement types?
Thanks
Mark

4
Automation Interface, Add-Ins and Tools / General Types
« on: April 26, 2014, 01:00:23 am »
Hi
I know that the "General Types" can be modified via "Settings>Project Types" on the EA menu bar but I was wondering whether it can be done programmatically via an add-in?
I am writing an integration add-in that will integrate our requirements management tool with EA and want to give the user the option to map the requirement and status types to those in the RM tool.

I'm also interested to know whether types that are specific to requirement properties .e.g. difficulty, can be modified in the same way?

Thanks

Mark

5
D'oh.  ;D

I knew there had to be something, just couldn't see it!!!!!  :-[

Thanks

6
Hi

The add-in that I am creating has a number of windows forms that are displayed during its configuration and execution. I want to ensure that the dialogs are centered on the EA parent window and know that I can obtain the window handle using FindWindow(). However, I need to know what is displayed in the titlebar. In order to format the title correctly I need to determine what the .eap is called then I can get the handle within the NewFile or OpenFile event handlers.

Can anyone help as I cannot see how to do it?  :-?

Thanks

Mark

7
Hi
I am currently writing a custom add-in which will allow my developers to link their EA projects to databases within our requirements management tool, allowing the syncing of requirements.
As part of the log in process for the requirements management tool I need to specify the name of the specific database from which the requirements are retrieved. I was wondering whether there is a way of storing the database name with the EA project? Thus, removing the need to re-select the database every time the EA project is opened. I have though about using a tagged value but I do not want the database name to be published or manually editable if I can avoid it!?
Thanks

8
Automation Interface, Add-Ins and Tools / Re: Code Generation Templates
« on: August 13, 2011, 06:13:27 pm »
I've realised that I need to write an add-in that provides additional utility functions to help me. Had a funny feeling that it wasn't going to be as easy as I had hoped....  :-/

9
Automation Interface, Add-Ins and Tools / Code Generation Templates
« on: August 13, 2011, 08:12:21 am »
Hi all
I'm a bit new to this, but I'm customising some of the code generation templates within my project. Does anyone know if it is possible to initiate a element search (for say connectors) from within a code template?
Thanks
Mark

10
Automation Interface, Add-Ins and Tools / Re: Error when calling Addin
« on: August 17, 2011, 05:27:08 am »
Hi Geert
Yes, the repository is passed by EA when the add-in function is called. Sparx support has come back with the solution. The function parameters needed to be as follows:

object GetSignals( EA.Repository Repository, object args)
{
}


The square brackets have been removed - simply as that.   :-?
Regards

Mark

11
Automation Interface, Add-Ins and Tools / Error when calling Addin
« on: August 15, 2011, 07:13:29 am »
Hi all
The C# addin I wrote to provide me with the utility functions I needed to generate my c++ code via the code generation template (see previous posts) is generating an error:

An error occurred while attempting to communicate with an addin:
CS_Addin(CS_Addin.Main)
"GetSignals: Invalid Parameters"

The Addin function that I am calling is declared as:

public object GetSignals( EA.Repository Repository, object[] args)
{
       object retObj;

       // Does stuff with strings

       return retObj;
}


and I call the Addin function from within the code generation template like this:

$opCode = %EXEC_ADD_IN("CS_Addin", "GetSignals", classGUID, classStereotype, ...)%

Can anyone tell me what I am doing wrong? and more to the point how I can fix it?

Thanks

Mark

12
I've realised that I need to write an add-in with a set of utility functions to do what I trying to do.
Thanks

13
Hi all
I'm currently trying to customize the C++ code generation templates. Each of my packages contain an individual DLL which returns a set of signals to the instantiating executable.

In order to represent this diagramatically I have created a class that has a custom stereotype <ex_signals>. The signals are defined within the class as public attributes and the class that returns the signals to the instantiating executable is dependent on the <ex_signals> class.

I want to auto generate the code that initialises these signals within the main class but cannot find anyway of interrogating the dependency. Is it possible? and if so, how?

I hope this is clear enough for you to answer my request  :-/

Thanks


Pages: [1]