Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Declarative UI

Tab folders in SWT are programmed this way to allow for tab folders with many pages.  Programmers didn't have to create a composite per page and populate it up front with controls.

Generally speaking, it's not an issue these days.  Gone are the dialogs with a billion confusing tabs.

Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx>
Sent by: e4-dev-bounces@xxxxxxxxxxx

11/12/2008 01:32 PM

Please respond to
E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>

E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>
Re: [e4-dev] Declarative UI

Guess why I've chose it :-) I did the same you did in UFaceKit.


Hallvard Trætteberg schrieb:
> Tom,
> Tom Schindl wrote:
>> This indeed looks nice. Can you by chance show me the XAML for
>> TabFolder/CTabFolder there you need to deal with references to composite
>> because you pass them to CTabItem#setControl(), right?
> TabFolder is an interesting case, since the SWT implementation is a bit
> different from what I would consider the natural model. In SWT the
> content of all the tabs are direct children of the TabFolder, and each
> TabItem references its content (usually a Composite) with a control
> property. In my (mental) model (the swtui.ecore file I sent in my last
> posting) a TabFolder instead contains Tabs which are containers that
> contain other Controls. In the ecore model, a Tab extends
> TitledComposite, to inherit both the ability to contain Controls and
> have a title. BTW, GroupBox (Group in SWT) is another TitledComposite.
> This is the advantage of having a slightly more abstract model than
> SWT's: We can make it feel more natural, while ensuring that the mapping
> is easy to code.
> Hallvard
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx

B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
tom schindl                               leiter softwareentwicklung/CSO
eduard-bodem-gasse 8/3    A-6020 innsbruck      phone    ++43 512 935834
e4-dev mailing list

Back to the top