Book a Demo

Author Topic: GUI Generation  (Read 2816 times)

fio

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • it is my madness that keeps me sane
    • View Profile
GUI Generation
« on: February 24, 2005, 08:36:20 am »
Hey all

Does anyone know if you can perform forward engineering on a GUI you have created in EA? I have done a rough mock up of it and am now interested to know if the code can be created for this or not...

Have done the forward engineering on class diagram and it worked a treat...

Ta


Molto Mike

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
    • View Profile
Re: GUI Generation
« Reply #1 on: February 24, 2005, 11:06:48 pm »
Hi Ta,

not sure I understand the question completely, but AFAIK there is no way to generate code from UI sterotypes w/o adding quite some stuff.

In addition to the programming language you would need to specify the UI framework to be used.

Theoretically you could try to define a new "language" let's say "MFC" (just an name for a framework, ... :-) and set up the appropriate code templates.

However, I am not sure how far EA generator capabilities will get you there...

Also you would need to introduce certain design rules, like: instead of just moving a control class in front of a window class, giving you the visual impression of containment, you then need to actually create the containment relation in the model...

I doubt this would be paying off in the end.

Mike
« Last Edit: February 24, 2005, 11:11:13 pm by molto_b »

fio

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • it is my madness that keeps me sane
    • View Profile
Re: GUI Generation
« Reply #2 on: February 25, 2005, 01:32:20 am »
Well, you answered my question perfectly so thank you

:)