Author Topic: Stereotype and Icons  (Read 341 times)

Philipp91

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Stereotype and Icons
« on: October 16, 2020, 04:29:00 am »
Hello again,

I would like to add some icons to my stereotypes.
I wanted to ask if I am able to do that just by creating profile diagrams or it can be done only by creating MDG stereotypes?

Kind Regards
Philipp

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 10406
  • Karma: +342/-30
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Stereotype and Icons
« Reply #1 on: October 16, 2020, 04:55:02 am »
Philipp,

You can't do anything with profile diagram, except exporting them to a profile xml.
From that point on you can either import the profile xml directly, or package it in an MDG file.
I think icons can be used in both situations

You shouldn't be afraid of MDG's, it's really a simple process to create an MDG file.

Geert

Philipp91

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Stereotype and Icons
« Reply #2 on: October 16, 2020, 05:53:08 am »
I am not sure if I explained myself correctly. So I want to add a new icon on my stereotypes and not to use the icons
provided by EA. So for example if I create a stereotype on a class called "Computer" I would like to add a computer icon with it. Until now I found
that documentation :https://sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/usingtheshapescript.html

About the MDG's, actually I am quite satisfied with being able to create my profiles and profile defined classes and being able to export them for further use. If I will be able to add also icons in this way it could be that this will be all I needed. So as long we discuss about it what is the benefits of making a MDG file?

Kind Regards,
Philipp
« Last Edit: October 16, 2020, 05:55:50 am by Philipp91 »

qwerty

  • EA Guru
  • *****
  • Posts: 11388
  • Karma: +295/-262
  • I'm no guru at all
    • View Profile
Re: Stereotype and Icons
« Reply #3 on: October 16, 2020, 07:41:36 am »
Hard to tell in a few sentences (except that you need MDGs for the real stuff). You might read a bit here: http://samples.leanpub.com/EA-MDG-Profiles-sample.pdf

q.

Philipp91

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Stereotype and Icons
« Reply #4 on: October 16, 2020, 11:51:00 pm »
Just a bit I looked by scrolling the chapter that talks about Icons is unfortunately omitted but I will have a more detailed look to
get the points of MDGs.
However, my basic question is if I can add my own icons on stereotypes without MDG technology, is that possible?

Kind Regards,
Philipp

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 10406
  • Karma: +342/-30
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Stereotype and Icons
« Reply #5 on: October 17, 2020, 12:16:58 am »
However, my basic question is if I can add my own icons on stereotypes without MDG technology, is that possible?
Yes, I believe you can.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 11388
  • Karma: +295/-262
  • I'm no guru at all
    • View Profile
Re: Stereotype and Icons
« Reply #6 on: October 17, 2020, 12:48:20 am »
For sure. The icons are part of the profiles. You need to add the icon property in the stereotype pointing to the 16 square pix bit image.

q.

Philipp91

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Stereotype and Icons
« Reply #7 on: October 17, 2020, 05:05:57 am »
Thanks for the answers, I will give it a try! :)
Is there any link guiding you for this?

Kind Regards,
Philipp

qwerty

  • EA Guru
  • *****
  • Posts: 11388
  • Karma: +295/-262
  • I'm no guru at all
    • View Profile
Re: Stereotype and Icons
« Reply #8 on: October 17, 2020, 06:31:02 am »
Well, no. Ask a consultant to do it for you (Geert is recommended) would be the easiest. If you're on the trial and error track: good luck.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 10406
  • Karma: +342/-30
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Stereotype and Icons
« Reply #9 on: October 17, 2020, 08:24:18 am »