Book a Demo

Author Topic: Tabs in UI  (Read 6185 times)

Skippy

  • EA User
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Tabs in UI
« on: June 26, 2012, 05:25:38 am »
I would like to model a web page which has tabs.  However, the tab control has three tabs, the first of which is selected.  How can I represent tabbed interfaces with a different number of tabs?  How can I represent a page with a tab other than the first one selected?

I am not sure if this is a bug or something I have missed.  Unfortunately the help pages on this are a bit thin on the ground.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Tabs in UI
« Reply #1 on: June 26, 2012, 08:58:25 am »
The UI controls don't allow you to put in your data for display. It's just never been implemented.

Skippy

  • EA User
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Tabs in UI
« Reply #2 on: June 26, 2012, 03:58:57 pm »
Is there any chance that it could be in the future?  I have been looking at the NZ product Screen Architect.  This does do what I need, but it's so buggy and unstable that it's unusable.


Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Tabs in UI
« Reply #3 on: June 27, 2012, 07:07:32 pm »
You should put in a formal feature request, although don't hold your breath in anticpation of it being delivered.  

Screen Architect seems to have been abandoned by Catch.  Perhaps Sparx could take it on and provide the functionality that way ?

Skippy

  • EA User
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Tabs in UI
« Reply #4 on: June 27, 2012, 08:49:11 pm »
It's sad that 'Crash Software' doesn't take SA more seriously.

I have solved the problem with the program's instability: you need to reboot the machine after installing (obviously this should have been part of the installation procedure, not hidden in the 'help').   SA is not such a bad program if you can figure it out despite the hopelessly inadequate 'help' - which appears to have been written by somebody who was barely literate.

In any case, though, the two programs don't actually work very well together because EA creates a single object for an entire page created by SA.  If you create the UI in EA it's more limited, but at least you can link individual items to objects in your code.

jfzouain

  • EA User
  • **
  • Posts: 152
  • Karma: +6/-1
    • View Profile
Re: Tabs in UI
« Reply #5 on: June 28, 2012, 01:40:50 am »
Hi
I don't know what kind of problem you had with Screen Architect, but it have worked for me, with Tab and fields and so on.
Have the latest version and is working OK for me.
Best regards

Jose Zouain

Skippy

  • EA User
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Tabs in UI
« Reply #6 on: June 28, 2012, 01:56:39 am »
I have got it going now (as I mentioned above, I needed to reboot after installing it).  However it produces pages which convert to single classes in EA. This means that I can't link to specific items in the page, such as a grid.  In this respect the UI prototyping in EA seems more useful, although not being able to prototype tabs properly is a big drawback.

Any thoughts on this would be welcome.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Tabs in UI
« Reply #7 on: June 28, 2012, 06:32:06 pm »
Quote
I have got it going now (as I mentioned above, I needed to reboot after installing it).  However it produces pages which convert to single classes in EA. This means that I can't link to specific items in the page, such as a grid.  In this respect the UI prototyping in EA seems more useful, although not being able to prototype tabs properly is a big drawback.

Any thoughts on this would be welcome.
if the component items are attributes in the class then you can use the "Link to Element Feature" functionality to link other objects to specific attributes of the Class.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Skippy

  • EA User
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Tabs in UI
« Reply #8 on: June 28, 2012, 07:19:27 pm »
Thanks for your help.

>>if the component items are attributes in the class then you can use the "Link to Element Feature" functionality to link other objects to specific attributes of the Class.

But a UI diagram created in SA comes into EA as a single class.  I don't see how to break it up.  Am I missing something obvious?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Tabs in UI
« Reply #9 on: June 29, 2012, 11:17:54 am »
Quote
Thanks for your help.

>>if the component items are attributes in the class then you can use the "Link to Element Feature" functionality to link other objects to specific attributes of the Class.

But a UI diagram created in SA comes into EA as a single class.  I don't see how to break it up.  Am I missing something obvious?
Probably not, I'm not familiar with the way SA works.  

However, in other area there are many cases where things could be described by various metamodels.  For example: a DB table could be described as a Table Class "linked" to it's column, index and constraint classes.  (Similar to the way EA considers UIs)

Or it could be modelled (as EA does) as a Table class with the columns, indexes etc modelled as features in the same class.

So although the table is one single class, its various properties are not opaque but exposed as class features.  Therefore you can use the feature I mentioned to link the individual class features to other things.

However, if SA creates a single "opaque" class for the screen, then there's nothing to "see" and, therefore, link to.

HTH,
Paolo
« Last Edit: June 29, 2012, 11:18:38 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!