Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: bilon on August 08, 2018, 11:17:12 pm

Title: Setting add-in description?
Post by: bilon on August 08, 2018, 11:17:12 pm
There's a "description" field in the Manage Add-Ins window. What is the source for this field? Am I able to set it?
Title: Re: Setting add-in description?
Post by: qwerty on August 08, 2018, 11:44:43 pm
IIRC it's the Notes field you see in the MDG creation wizard.

q.
Title: Re: Setting add-in description?
Post by: bilon on August 09, 2018, 01:16:02 am
Yeah, notes field of MDG, visible in the MDG Technologies window. I know it, but it's not what I'm asking about. I'm interesting in description of description of add-in (not MDG).
Title: Re: Setting add-in description?
Post by: qwerty on August 09, 2018, 03:55:33 am
Ah, sorry mate. Got it the wrong way. Probably something Geert can answer.

q.
Title: Re: Setting add-in description?
Post by: Aaron B on August 09, 2018, 10:57:23 am
The Description field in the Manage Add-Ins dialog always just shows the name of the selected add-in. There is no way to add other text there as far as I'm aware.
Title: Re: Setting add-in description?
Post by: bilon on August 09, 2018, 07:25:47 pm
It's bad :-( I'm looking for some place where to display add-in version.
Title: Re: Setting add-in description?
Post by: Geert Bellekens on August 09, 2018, 08:41:08 pm
It's bad :-( I'm looking for some place where to display add-in version.
I always add an "about" menu option with all of my add-ins.

Geert
Title: Re: Setting add-in description?
Post by: bilon on August 10, 2018, 12:48:01 am
And where does the menu appear?
Title: Re: Setting add-in description?
Post by: qwerty on August 10, 2018, 04:17:39 am
In the context like for all add-ins.

q.
Title: Re: Setting add-in description?
Post by: bilon on August 10, 2018, 07:38:37 pm
I'm not sure, what you mean with Context. Is it context menu? If it is, I can't imagine, where the About option would appear. Our add-in is a window for editing properties of tables. It replaces standard EA window, so it has no special option in the context menu, because it responds to standard Properties option or simply double-click.
Title: Re: Setting add-in description?
Post by: qwerty on August 10, 2018, 11:13:08 pm
Well, yes. The context menu is controlled by your add-in. You put in menu entries. And the last, right afer a vertical line, would be the "About" entry. Simple as that. I do that with my add-ins too.

q.
Title: Re: Setting add-in description?
Post by: bilon on August 10, 2018, 11:43:12 pm
Yes, I understand, but it would be nonsense to have a menu, with the only option About, for the add-in. For me it's definitely most natural to display the add-in version in the Manage add-ins window.