Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Sunshine on June 30, 2019, 09:25:59 am
-
Has anyone tried access the shape script editor in V15 RC 1505. I've got a custom MDG where I created some some stereotypes with shapescripts stored in the stereotype's initial value of _image attribute. In previous versions of Sparx EA there used to be a ellipse button (...) which could be clicked and the shapescript editor would pop up. Can't see it any more anywhere thus can't seem to edit shape scripts any more.
Am I missing something?
-
Have you tried using the profile helper?
That's how I edit my shapescripts.
Geert
-
I ever wondered why there must be helpers in a tool. Isn't a tool supposed to do what I want straight away? Or does someone feel better with "Pardon, can I help you get around that clumsy tool you are currently using"? (Not to mention Clippy here)
q.
-
Have you tried using the profile helper?
That's how I edit my shapescripts.
Geert
Profile Helper aye? Haven't used that before. I've just attempted to search for that and get a blank screen. Looks like the search isn't working.
Any hints where to find it?
-
Find your stereotype element in a diagram, right-click > Edit with Profile Helper
And the ellipsis button is still in the Features window: Find attribute in Project Browser, right-click > Properties > All Features
-
I guess about the issue Sunshine wrote:
- double-click an attribute _image in a diagram or press F9 after selecting the attribute in a diagram (click a Class in a diagram, then click an attribute in the Class)
-> EA opens modal properties dialog - there is no '...' button at the Initial value cell
One of the solution is:
- select the Stereotyope class and press F9
-> EA opens the Feaures dockable window - there is '...' button in the list and you can open the editor
HTH,
-
Thanks guys I can confirm two suggestions worked for me.
- Find your stereotype element in a diagram, right-click > Edit with Profile Helper.
- Ellipsis button is still in the Features window: Find attribute in Project Browser, right-click > Properties > All Features. Or select the Stereotyope class in diagram and press F9
Didn't know there was so many different ways to access the shape script editor.