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 - Simon M

Pages: 1 ... 391 392 [393] 394 395 ... 426
5881
Attribute constrains are not currently accessible from the code templates.

5882
The solution I can give you is an MDG technology file that adds support for your macros to our code parser.  It will be specific to your situation, although I have written similar scripts before.

The reason why we are doing it this way is that for various reasons we are unable to support users modifying the import (in this way or any other way).

5883
Contact Sparx Support directly with concrete examples of the macros you want expanded.

We can help you.

5884
In your install directory is a C# code sample.

5885
1. Set as default isn't the default datatype, it's actually the default language for the model.  (Either code or database).  It doesn't appear in t_datatypes.

2&3. Don't know if or when these are used.  Any columns that are unused may be used by EA at some point in the future, and we can't guarantee what will happen if you have custom data in the column when that happens.

5886
I've posted C# examples several times to this forum.

See http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1207649029/1#1 for one of them.

5887
Just quickly, Oliver is exactly right.  That's what Sparx Systems recommends (and does internally) for sharing searches.

5888
EA provides functions to convert your notes to the format you want.

Look at Repository.GetFormatFromField.  Pass in one of "HTML", "RTF" or "TXT" as the format.  EA will give you the notes in that format.

5889
You can define a tagged value type such as a dropdown without defining a profile.

In Settings | UML | Tagged Value Types.

Look at http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/predefinedtaggedvaluetypes.html.

Once set up and used, you can do search/report on them.

5890
Reference for the available keywords in the code templates is at http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/fieldsubstitutionmacros.html

It would certainly be possible to do using the code templates.

5891
Automation Interface, Add-Ins and Tools / Re: Move a swimlane?
« on: April 01, 2009, 08:58:09 am »
From memory there was an error in that build of EA.  I believe it was corrected in build 833, so upgrading should fix it for you.

5892
Automation Interface, Add-Ins and Tools / Re: MDA newbie
« on: March 03, 2009, 08:06:44 am »
Just and additional note to Uffe's great response.  The transform engine can't create tagged values on connectors at all.  Follow those instructions if you are wanting to add a tagged value to anything else.  It won't work for connectors.

5893
Don't know about from Visual Studio, but the Import Source Directory command has that ability.

5894
EA will not reverse engineer non-member functions.

I haven't really looked at metaprogramming, but as a guide, if it's recognizable as classes, then it's likely to be reverse engineered.  Otherwise it's not.

5895
Unfortunately, not for Java.

You can for anything that can be called by COM.

Pages: 1 ... 391 392 [393] 394 395 ... 426