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

Pages: [1]
1
Suggestions and Requests / Re: RTF Filters/Conditionals
« on: February 08, 2007, 06:54:07 am »
Does anyone know if this is in the pipeline (or even has been implemented and I have yet to find out how to do it)?

2
General Board / Escaping $ in Code Templates
« on: August 26, 2009, 10:51:29 pm »
I'm not sure if I'm missing something (the documentation seems a little thin in this area) but I can't seem to find a way of escaping $ in the code templates.

I.e.
I want to add some subversion tags to my class files such that the header is updated with version, date and the like on check in. I need to put the following in a comment block -> $LastChangedRevision: $, but when the class is generated I end up with this ->  : $

How do I escape the $ ?

Cheers

3
General Board / Modifying Enum and Property in C# Code Templates
« on: August 27, 2009, 12:31:33 am »
I can't seem to work out where the enum declaration is covered in the C# code templates.

Also what looks like it should be writing the Property gets and sets in the template Attribute Declaration has no effect when changed. For example I can edit or even remove this entire section (below) and I still see the properties as they are by default - which would not appear to be quite like this template section anyway.

Code: [Select]
%if attStereotype == "property"%
{\n\t//read property\n\tget{;}\n\t//write property\n\tset{;}\n}
%endTemplate%

4
General Board / Re: Exported document and bullet numbering
« on: January 10, 2007, 07:40:26 am »
Bump - Can anyone help??

5
General Board / Exported document and bullet numbering
« on: January 04, 2007, 06:21:21 am »
Hi

Sorry if something similar has been posted before but I searched and can't seem to find anything.

I have exported an rtf report of a use case package using the basic template. Inside it are various use case scenarios created using linked rtf documents and written using EA's rtf editor functionality. These all have numbered steps for each flow within the Use Case, which when viewed within EA are numbered 1-X for each flow.

In the exported report these numbers sequentially increase in index but seemingly randomly re-starting from time to time.

I have tried re-assigning the step numbers in the use cases but this has no obvious effect.

Is this a bug or is there a way of enforcing the numbering to restart at each new heading?

Cheers
Tom


6
General Board / Re: C# code generation
« on: April 30, 2007, 11:27:47 pm »
Sorry, but I do not have the method that caused the problem anymore (I was using a scratch model to try some things out that has since been deleted) although I csan tell you it was the last method in a class with several methods and properties on it and was created in the maner detailed in my first post. It was supposed to return an int and had took a couple of parameters.  I have not encountered this since, but as far as I could tell the model had the information as described and it simply would not generate it. If it happens again I will re-post.

On point 2, is this likely to be supported in the near future? We were hoping that the model would be sufficient to allow others to view the interfaces provided by various packages. Since these are all wrapped in dlls then the distinction between a public get and internal set is quite important and although I can add to the initial code field this is not as elegant as being able to read the information from a class diagram.



7
General Board / Re: C# code generation
« on: April 24, 2007, 05:31:30 am »
bump...

If anyone can help or confirm point 2 is unsupported.

8
General Board / Re: C# code generation
« on: April 23, 2007, 01:41:42 am »
I have just discovered that the property can also be generated from the attribute when creating it in EA which would appear to allow for the get and set scope to be set individually. However I can only seem to set the Get scope despite choosing checking both the read and write options. It would appear that this setting is language dependent and the choice of c# sharp is restricting it.

9
General Board / C# code generation
« on: April 23, 2007, 01:16:35 am »
I am having a couple of issues with the import and generation of c# code.

1.
I have a simple method with a return type of int. I have reverse engineered this class into EA and it shows a return type of int. However, when generated this return type is missing. This seems to be a random error as creating a copy of the class and re running the steps results in the correct export. However I cannot seem to force the original to export the return type even when deleted and recreated in EA.

2.
I have the need to create public properties which have a public get and an internal set. This does not seem to be supported in EA.
(I.e.)

   public int Test1
       {
           get
           {
               return mTest1;
           }
           internal set
           {
               mTest1 = value;
           }
       }

The second issue is clearly more important as the first has a work around (re-create/copy the class) and I hope to generate code from EA rather than reverse enginner anyway. The first issue current precludes this and reverse engineering since this information is lost (in fact the entire set seems to dissapear)

Tom

10
General Board / Re: Using SQL Search Results
« on: April 17, 2007, 03:44:17 am »
Thanks for the responses. I went for the SQL against the database in the end as I do not have budget to develop an automation control (however simple - PM has purse strings...) and I could not seem to work out the RTF. When the search is run the right click menu is has no RTF options on it, this only appears in the report view and I couldn't see the connection. As such I used what I knew and accessed the database directly as I only wanted to copy the data into a word doc.

Cheers
Tom


***
The abilty to copy and paste these results would  be greatly appreciated though, also exposing more or all the tables would help (I was looking at connections whch are not identified in the table list for the advanced sql search)


11
General Board / Using SQL Search Results
« on: April 13, 2007, 02:23:47 am »
Can anyone tell me how to export the results from custom SQL searches performed using the Advance search functionlity in EA?

I have created a search (probably the first of many) and want to be able to export the results to word, excel or whatever, but there appears to be no option to do this. Am I missing something?

Cheers
Tom

12
General Board / Re: System wide visibility of EA Window
« on: January 11, 2007, 07:40:51 am »
On the menu bar under "Windows" there is an "Always On Top" option. If this is set, unset it.

13
Automation Interface, Add-Ins and Tools / VS Integration
« on: December 10, 2010, 10:59:19 pm »
I am currently running 4.01 (or 4.04 as the exe identifies itself) of the MDG Integration plug-in for Visual Studio which appears to be the latest full release.

I notice that 4.5 beta 2 is available, but cannot seem to find any release info. Other than supporting VS2010 does it fix any of the issues we are experiencing in 4.01?

In case these haven't been raised the 2 most fundamental when trying to keep a model sync'd with an active code base are:
 
  • The locking up of Visual Studio after access EA via the "Open in Enterprise Architect" option when tabbing to an alternative app prior to closing EA (I think this is the cause).
  • The fact EA cannot handle class file name changes made in VS.




Pages: [1]