Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: san_kp on October 06, 2003, 02:55:08 am

Title: On the fly screen creation
Post by: san_kp on October 06, 2003, 02:55:08 am
In EA If a modal screen(form,edit box,memo etc) has been designed with the existing option, Can the same be imported as a form in delphi with all the components etc created on the fly ?
Title: Re: On the fly screen creation
Post by: Phil_Bachmann on October 06, 2003, 05:29:08 pm
If your question is:

"Is it possible to build an add-in that takes the currently selected "Screen" element on an EA diagram and produce/modify a text file representing a Delphi form object?"

I have explored this issue and determined that there isn't enough information provided by the classes in the automation interface to do this.

Nevertheless it is a very interesting idea and we may be tempted to make changes to the automation interface to make this possible.

Regards,
Phil Bachmann
Sparx Systems
Title: Re: On the fly screen creation
Post by: SpoonsJTD on November 18, 2004, 02:20:33 pm
Bump and +1 to enable add-ins to be able to identify the currently selected element or elements via the object model.

Repository.GetCurrentElements()

like the current method

Repository.GetCurrentDiagram()