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 - Steve Wartik

Pages: 1 2 [3]
31
Well, the immediate reasons are: 1) I already have the JScript working; 2) I've never programmed in C#, I dislike Visual Basic, etc. In other words, I'm guessing that making use of my existing scripts would be quickest.

32
Automation Interface, Add-Ins and Tools / Re: Add menu to execute script
« on: February 29, 2012, 09:29:53 am »
Simon,

Thanks for the definitive response. Obviously not what I wanted to hear. Can I write an add-in that invokes JScript?

Thanks,

Steve

33
Automation Interface, Add-Ins and Tools / Re: Add menu to execute script
« on: February 29, 2012, 12:28:23 am »
Geert,

An add-in is certainly a possibility, but I was hoping to package and distribute the capability I've developed using MDG. In other words, I'd like a user to select the Tools>MDG Technology Import item, load the file I'm distributing, then see my menus. I would prefer that the user not have to install an add-in too. Is that feasible?

Thanks,

Steve

34
Automation Interface, Add-Ins and Tools / Add menu to execute script
« on: February 28, 2012, 08:47:23 am »
Hi,

I've written some JScript code. I'd like the user to be able execute it through a menu. Specifically, I'd like to add a menu hierarchy to Extensions. Just like the ODM-related menu items, a script would be executed each time the user selects an item. Can someone tell me how to do this? Thanks.

35
Is there a method in the automation interface that can be used to create a new EAP file? In other words, I'd like functionality equivalent to the "Create a New Project..." link on EA's start page. I haven't found a method in a place that seems obvious (to me).

I'm using the Java API if that makes a difference.

Thanks in advance for any and all help.

36
Simon,

Okay, let me ask a more specific question. I'm getting an exception when I call the AddNew() method. The message of the exception is "I". Other exceptions have been equally cryptic. Is there any documentation that explains them further and gives hints on how to debug?

Thanks,

Steve Wartik

37
Does Sparx Systems make available documentation for the Java version of the automation interface in the usual Java format? The material in the "Extend Enterprise Architect - Software Developers Kit" is a good start, but it would help me if I could see the APIs described in terms of the Java methods in eaapi.jar.

Pages: 1 2 [3]