Book a Demo

Author Topic: Question about modelling UI Screens and Templates  (Read 2109 times)

BenM

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Question about modelling UI Screens and Templates
« on: May 17, 2006, 02:49:25 am »
I am modelling the UI for an application I am developing. I will be using a couple of templates to ensure that pages have consistent look and feel and I would like to model this in EA.

I currently have a default template page with a few UI components such as the header panel, home page link, sidebar, status panel, main content. I also have a wizard template with different compoennts, such as a panel displaying the step in the process, main content, no sidebar panel.

I have laid the template screens out (not to concerned about the exact layout, just the components really). When designing the other screens in the application I would like to be able to link them to their template page. What do you guys think is the best method of doing this? Should I use an association with a custom <<template>> sterotype or should I use a generalisation, or some other connector?

thomaskilian

  • Guest
Re: Question about modelling UI Screens and Templa
« Reply #1 on: May 17, 2006, 11:06:15 am »
I would opt for a <<template>> relation. If you use a Generalization that would normally mean you won't copy all UI elements but assume they are inherited from the parent element, leaving your child UI quite blank. This would not make much sense in most cases, I guess.

BenM

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Question about modelling UI Screens and Templa
« Reply #2 on: May 17, 2006, 11:43:42 pm »
Thanks for your reply.

I am modelling JSP pages so there isn't really a notion of inheritance between these pages in an OO sense. I think that the <<template>> relation is probably the clearest way of modelling this for me.

Does anyone have any alternative suggestions?