Book a Demo

Author Topic: Add an image to stereotype  (Read 5046 times)

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Add an image to stereotype
« on: February 13, 2017, 07:42:26 pm »
Hi!,

I'm developing some new stereotypes for create new elements, my goal is add some .jpg icons to this new elements, but I don't know how.

I was trying with _image attribute, but it only allows  EAShapeScript 1.0 type. How can i get some like this?

« Last Edit: February 13, 2017, 07:46:17 pm by rmartinezb »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Add an image to stereotype
« Reply #1 on: February 14, 2017, 08:46:28 am »
It looks like what you need is a shape script that draws the image to the top right.

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: Add an image to stereotype
« Reply #2 on: February 15, 2017, 01:42:14 am »
Hi,

As mentioned by Simon you will need to use a shape script ... you were almost there add _image to name and click ... then in the shape script editor add a decoration that uses the "image" command described in the link below to add an Image that you will have added to the Sparx Image Manager ...

http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/drawing_methods.html

Hope this help,

Regards,


Jon.

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Re: Add an image to stereotype
« Reply #3 on: February 15, 2017, 11:07:29 pm »
Thanks, I didn't see the "image" instruction