>
> Actually this approach concerns me: if I go through the model, or go
> directly against SWT, I get different notification. It could easily
> lead to bugs in application code. I would also argue that the model is
> then no longer a model of SWT, but rather, a model of an enhanced SWT
> which doesn't exist.
>
> Regards,
> Kevin
>
>
>
>
> *Tom Schindl <
tom.schindl@xxxxxxxxxxxxxxx>*
> Sent by:
e4-dev-bounces@xxxxxxxxxxx
>
> 11/11/2008 04:29 AM
> Please respond to
> E4 Project developer mailing list <
e4-dev@xxxxxxxxxxx>
>
>
>
> To
>
e4-dev@xxxxxxxxxxx
> cc
>
> Subject
> Re: [e4-dev] Declarative UI
>
>
>
>
>
>
>
>
> Angelo zerr schrieb:
>> Hi,
>>
>> I would like speak about UFace <
http://code.google.com/p/uface/> that
>> I'm using into TK-UI <
http://tk-ui.sourceforge.net/index.html> and I
>> find very helfull to manage Declarative UI. With TK-UI you can describe
>> UI with any XML Markup (XUL, XHTML,...) and render it into any renderer
>> (SWT, SWT Forms, Swing...) Today I'm using UFace which is UI facade
>> which provide a lot of think like Databinding (based on JFace
>> Databinding). I like UFace because anything can be bounded :
>>
>> * UI widgets : any properties of (visible, text... properties if UI
>> widgets). For instance if you call setVisible, it fire event so it's
>> possible after to observe this property (with SWT we cannot catch this
>> visble event for instance).
>
> This is a very interesting point Angelo is raising here. I think when we
> describe our UI and directly interface with SWT people HAVE TO program
> against the DOM (whether it is EMF or anything else) and not directly
> against the widget because changes in the UI like setVisible(),
> setEnabled(), ... can't be synced back live to the declarative model
> simply because SWT is not informing us about these changes with events.
>
> I don't see this as a problem though. By the way in "Modeling the
> Workbench" we identified only a hand full of things where we need to
> sync back from the Widget (e.g. Resize, Iconify, ...) to the model. We
> assume that *all* other operations are happening on model and are then
> reflected in the UI.
>
> Tom
>
> --
> 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
>
e4-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>