Gorkem, if it were only the case of storing the various styling 'hints'
(#class, attrs...) then we can already do this using the Widget#setData
method ("myEdit.setData("CSSType", "Edit").... no need to 'bulk up' the
SWT API. The various styling engines would, of course, have to agree on
the 'tags' for the properties but they'd have to agree to use the new
methods as well...
Eric
"Gorkem Ercan" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
06/05/2008 04:01 PM
Please respond to
E4 developer list <[email protected]>
To
"E4 developer list" <[email protected]>
cc
Subject
Re: [eclipse-incubator-e4-dev] CSS DOM Binding
I was hoping that the CSS would be supported at SWT level. SWT would
provide some simple to use APIs like Display.setCSS (String style)
and Control.setCSS (String style). These APIs could in turn be
utilized by the declarative UI engines. One benefit of this approach
would be the possibility to customize parts of the SWT Controls that
are not accessible by the SWT APIs such as the progress chunk on
ProgressBar or the drop down for Combo...
--
Gorkem
On Wed, May 28, 2008 at 8:15 PM, Steve Northover
<[EMAIL PROTECTED]> wrote:
>
> Yes, we need a "widget was created" listener.
>
>
>
> "Christopher Aniszczyk" <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
>
> 05/27/2008 09:36 PM
>
> Please respond to
> E4 developer list <[email protected]>
> To
> "E4 developer list" <[email protected]>
> cc
> Subject
> Re: [eclipse-incubator-e4-dev] CSS DOM Binding
>
>
>
>
> Angelo, I quickly glanced over your technique of CSS/SWT. I noticed you
used
> the method of adding a Display filter on SWT.Show events to do the
styling.
> Is there a better way to do this? Do we need something from SWT to give
a
> better notification of lifecycle than what we have now? Maybe the
venerable
> SWT team can answer this question.
>
> Maybe someone can get the various methods of styling out there currently
so
> we can learn about them:
> http://wiki.eclipse.org/E4/DeclarativeUI
>
> What do you think Angelo? Want to put your technique on the wiki so
people
> learn about it?
>
> On Tue, May 27, 2008 at 7:11 PM, Angelo zerr <[EMAIL PROTECTED]>
wrote:
> Hi sorry
>
> for my new mail about TK-UI, but I have started TK-UI features
documentation
> where I speak about DOM, CSS and Databinding into TK-UI.
> Is it possible to add the TK-UI features link to the E4/Modeling?
>
> Don't hesitate to contact me if you have questions.
>
> Regards Angelo
>
> _______________________________________________
> eclipse-incubator-e4-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
>
>
>
>
> --
> Cheers,
>
> ~ Chris Aniszczyk _______________________________________________
> eclipse-incubator-e4-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
>
>
> _______________________________________________
> eclipse-incubator-e4-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
>
>
_______________________________________________
eclipse-incubator-e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
_______________________________________________
eclipse-incubator-e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev