Book a Demo

Author Topic: Creating new GUI controls  (Read 3575 times)

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Creating new GUI controls
« on: January 08, 2007, 02:16:11 am »
Is there a way to create new GUI controls (even without pic)?
I need a grid control and maybe conbined controls.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Creating new GUI controls
« Reply #1 on: January 08, 2007, 02:30:36 am »
Ok I noticed I can just add a stereotype, can I connect to it a picture (not through apeerience as on time) as default for tseroetype?
Recursion definition:
If you don’t understand the definition read "Recursion definition".

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Creating new GUI controls
« Reply #2 on: January 08, 2007, 06:40:54 am »
I've tried this a few times and not had great success. We've been after Sparx to expand this a bit, but there's not been much movement so far.

To be entirely fair, I don't think we (the community at large) have given Sparx a solid specification for what we want, at least not one that could be done simply. The fact that EA is a UML tool, rather than a GUI modeling tool, keeps getting in the way.
No, you can't have it!

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Creating new GUI controls
« Reply #3 on: January 08, 2007, 06:56:38 am »
you are totaly right, but I'm a chieff designer and I need to include in me SDs GUI ojects (which are critial for the design) so creating a GUI samlpe in model wchich controls I can use as objects in me model would be grate. It is actualy directly talking with the devlopment team.

Maybe I could make a basic desing for Sparx, I think I'll give it a trys...
Recursion definition:
If you don’t understand the definition read "Recursion definition".

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Creating new GUI controls
« Reply #4 on: January 08, 2007, 07:03:55 am »
What I have been able to do is create things like a compound control - a two-row top menu for a Web page for example - out of the UI controls provided in EA, and then park this on other diagrams (such as page mock-ups). I have noticed that you have to be very careful how you do the copy; simply dragging and dropping can produce poor results.

When I've try this approach with things like groups of option buttons, I have not succeeded. Even in a single diagram trying to move the group as a whole can produce unexpected - and unacceptable - results. You kind of have to get each element just right on an individual basis.
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Creating new GUI controls
« Reply #5 on: January 08, 2007, 01:29:22 pm »
Can you use shapescripts with your own stereotypes here?  I don't routinely use shapescripts or GUI controls in my work with EA, but I thought I would suggest it.

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Creating new GUI controls
« Reply #6 on: January 08, 2007, 01:42:40 pm »
Just checked it. might be a more work than expected, but it surly can answer the problem.
I'd rather attach a picture to the stereotype, but for GUI controls sketches this should do.

thanks
« Last Edit: January 08, 2007, 01:46:48 pm by martint »
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Creating new GUI controls
« Reply #7 on: January 08, 2007, 01:53:39 pm »
Well, a shape script can just be a picture.

See the image function at http://www.sparxsystems.com/EAUserGuide/index.html?drawing_methods.htm

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Creating new GUI controls
« Reply #8 on: January 08, 2007, 09:09:39 pm »
GRATE!
Recursion definition:
If you don’t understand the definition read "Recursion definition".