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
Attribute constrains are not currently accessible from the code templates.

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).

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

We can help you.

In your install directory is a C# code sample.

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.

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

See for one of them.

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

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.

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

In Settings | UML | Tagged Value Types.

Look at

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

Reference for the available keywords in the code templates is at

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

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.

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.

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

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.

Unfortunately, not for Java.

You can for anything that can be called by COM.

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