Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on September 07, 2005, 02:21:16 am

Title: Adding local instances of EA Classes
Post by: Paolo F Cantoni on September 07, 2005, 02:21:16 am
Can anyone confirm what I'm seeing?

In my Emitter Add-On, I can't create local instances of any EA Classes (such as new EA.PackageClass();).

I get EA.PackageClass() is inaccessible due to its protection level.

I can only create instances within the context of the EA collections via AddNew.

TIA,
Paolo
Title: Re: Adding local instances of EA Classes
Post by: sargasso on September 07, 2005, 04:35:43 pm
Without thinking/trying.

Create local as untyped object and cast it.  ?????

bruce