[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [e4-dev] Declarative UI
|
Guess why I've chose it :-) I did the same you did in UFaceKit.
Tom
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
> https://dev.eclipse.org/mailman/listinfo/e4-dev
--
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