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 ... 387 388 [389] 390 391 ... 434
5821
Create multiple instances of the metatype.

5822
Yes, the filenames still vary, but you can append something like the following to the url for persistent link.

?guid={62D08670-1458-4d54-8A39-DBA993F6DFC1}

5823
The error isn't caused by generating using the Java API.  If it's generated, then the parameters are okay.  I don't know the exact details, but the javascript generated by EA can cause errors in some circumstances.

You should be able to get more details, and possibly a workaround if you contact sparx systems support directly.

5824
It's only valid in print methods and queries.

5825
No, it's not correct. You do need to tick the checkbox to the left of the language name though.

5826
Select 'Code Modules' as something to be included. That allows for the inclusion of Data Types and Code Templates from the current model, and an options file for the language.

5827
db, all collection properties are marked as readonly.

You can't

Code: [Select]
r.Models = differentCollection
You can

Code: [Select]
r.Models.AddNew("Something", "")

5828
Add the following to your shape script.

Code: [Select]
shape middlebottomlabel
{
}

5829
I would recommend separately importing the images.

5830
You have accurately described the problem that existed until version 9. Version 9 allows images from technologies distributed in the recommended fashion.

5831
You may also want to call AdviseElementChange on the original object the method belonged to.

5832
Prior to EA 9, the images in an MDG technology file were only available when the technology was imported into the model.

5833
Automation Interface, Add-Ins and Tools / Re: Java Automation Example
« on: April 11, 2011, 01:29:29 pm »
Have you seen the Java code samples in your install directory?  They may not provide exactly what you're after but they should be fairly close.

5834
Probably because no-one imagined a situation where you would be wanting to access a parameter in isolation from the owning method.

I'd suggest sending in a feature request.

5835
Quote
... it means that calls using Interop.EA.dll and C# would more more native ...
Actually, using the automation interface from either .Net or Java are both using a wrapper around the COM interface that EA provides.  I don't know the inner workings of the .Net wrapper, but I know the Java wrapper will only have a very small impact on performance, probably most significant when converting formats for large strings.

If you have something written in Java I wouldn't try porting to C# for performance reasons.  You will be disappointed.

Pages: 1 ... 387 388 [389] 390 391 ... 434