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 ... 392 393 [394] 395 396 ... 415
From memory you can do it if you're using the SCC wrapper for TFS, but not if EA is set up to directly call TFS.  But anyone with actual experience on the topic is more than welcome to comment further.

My guess is that both of these will be template issues, but I can't tell more than that.  Have a look at your template with the list styles, if you can't work it out I'd recommend sending an email to sparx support including your templates and what you're expecting to see.

A Model Transform would also be unable to hook into things like Activities, although a transform template is able to create such entities.
Model transformation can actually access all object and connector types within EA.  There are still limitations, to get around these it is effective to have an addin and call EXEC_ADD_IN.  (Many examples given in other posts)

Thanks David for your guess.  I want to say that I personally appreciate the effort you go to in replying to all sorts of problems, even if you do need correcting.

This error is referring to EA not being able to create an instance of the COM add-in specified by that name, so I would recommend a re-install of the ICONIX add-in.  The MDG technologies won't cause any errors on this dialog, they have a seperate dialog.

The above paradigm always works out in EA, because to be owned of an element, something must be owned by the same package as the element. I suspect - without proof, but I'd not care to test this on an important project - that if you built a project and got the PackageID of parent and child elements out of sync you would come to grief somewhere down the line.
It won't show up as you expect in the project browser.  However, it's a problem that can be fixed by the integrity checker.

Automation Interface, Add-Ins and Tools / Re: problem with form captio
« on: March 17, 2008, 08:31:59 am »
I suspect that this is relating to your application not correctly handling wide characters.

The original post would have been around the time that EA switched from separate unicode/non-unicode builds to unicode only.

Sparx has confirmed that the MDG event call is the way to go from EA 7.0 onwards.

That or a file.  See

Beta 2 of 7.1 (build 826) should have corrected setting the IsChangeable property, including documenting the accepted values in the help file.

From memory I was working briefly on something similar to this.  I had to stereotype the instance.  (Shape scripts only apply based on a stereotype)

Automation Interface, Add-Ins and Tools / Re: Object Model : java help
« on: March 07, 2008, 03:58:21 pm »
I don't know about the destroy function, but I'm pretty sure it's not part of the EA automation interface.  (General java object function maybe?)

To remove a package you need to call RemoveAt() from the parent package Packages collection.

I could be wrong, but if the typecast is incorrect then the code won't even get to EA, and it won't be EA produced the access violation.

Automation Interface, Add-Ins and Tools / Re: Create Addin with java
« on: March 05, 2008, 08:17:27 am »
The Java API only includes the ability for Java to call EA.  The ability to write addins isn't included.  This has always been a limitation of the Java API.  Although I believe a COM wrapper for Java should be technically feasible, I haven't had the chance to prove this yet.

What Sparx has done is used a third-party middleware product to bridge between Java and COM.
Sorry, but this is misinformation.  The truth is that the middleware between Java and our COM interface is generated by EA.


You're right, this is wrong and should be corrected for our next build.

You need to create a custom template.  Select the type 'Parameter' and give a name such as 'Name'.

Edit that template to just give the parameter name.

Code: [Select]
%opName%The list in the calling template would then use the custom template you chose.  (Note. Two underscores)

Code: [Select]
$attr=%list="Parameter__Name" @separator=", " @indent="  "%

First question:

Reverse engineering does not create any links from this, and only creates associations, never aggregations or compositions.

Second question:
In the code generation dialog (for a single class) there is two fields for the imports needed.  If you put the extra using statement in there EA will generate it out.  (When generating the entire file)

Pages: 1 ... 392 393 [394] 395 396 ... 415