Book a Demo

Author Topic: EAExample - Process Model - View of Web Page Obj  (Read 2899 times)

jfk

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
EAExample - Process Model - View of Web Page Obj
« on: May 24, 2006, 07:40:17 am »
Dear,

I'm studying the EAExample (Enterprise Architect version 6.1.790), to be more precise I was looking at Process model in the activity diagram. I noticed the "Web pages" square. It contains a gearwheel. I was wondering how this element was created.  Was the view associated with this stereotype (which is web pages) altered (using Settings - UML - Stereotypes)? If so, how was it altered, using a meta-file or a shape script? I also noticed that when I double-clicked the element, and changed the stereotype, I no longer could select the "web pages" stereotype.

Thank you
Kind regards
Jan



«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EAExample - Process Model - View of Web Page O
« Reply #1 on: May 24, 2006, 08:42:52 am »
Jan,

I believe the graphic you are referring to is directly from EA - that is, the shape is stored within EA in the same way as is that for an Actor (for example).

This is roughly analogous to the way EA allows you to assign a user-supplied graphic to a stereotype, with the exception that here we don't get to change, or even access, the graphic. [Another example of this sort of thing is the 'grid' decoration on a Table element (a 'pre-stereotyped' element from the Class toolbar). This is drawn directly by EA's internal engine; we (poor, sad) users cannot affect this, nor can we apply it to our own elements.

When you change the representation of this element through the Stereotypes dialog, no matter which of the mechanisms you choose, you cause EA to forego its built-in graphic for this element, and draw it through the 'normal' rules, and apply your changes. Thus you get what you asked for, but at the cost of what you started with.

It may be that your only option is to attempt to duplicate the original functionality with Shape Scripts, then make the modifications you want. This would entail much work, and not a bit of trial and error. Sometimes it will be just error, when you reach the current limits of these scripts.

At this time you cannot import a graphic into a shape script, for either the main shape or a decoration - as you might want to for the gearwheel. My understanding is that this is being considered for inclusion, and that updates to shape scripts and their documentation are slated for version 6.5. Beyond that I have no information whatsoever.

HTH,
David
No, you can't have it!

thomaskilian

  • Guest
Re: EAExample - Process Model - View of Web Page O
« Reply #2 on: May 24, 2006, 11:50:00 pm »
Just as a note: the icon images are saved in Userimages.bmp in the EA directory. There is not much point in changing this file directly, though.

jfk

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: EAExample - Process Model - View of Web Page O
« Reply #3 on: May 29, 2006, 12:18:21 am »
Dear,

Thank you for the information!

Greatly appreciated!

Kind regards
Jan

bmioch

  • EA User
  • **
  • Posts: 81
  • Karma: +0/-0
    • View Profile
Re: EAExample - Process Model - View of Web Page O
« Reply #4 on: May 29, 2006, 05:06:37 pm »
Here is what you want.

UML Profile for Web Modeling

http://sparxsystems.com/downloads/profiles/WebProfile.xml

This will contain all the web modeling elements you need. If you need additional help with profiles, just ask!

This should get you started.
http://www.sparxsystems.com.au/EAUserGuide/index.html?umlprofiles.htm