Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » E4 Styling mechanism?
E4 Styling mechanism? [message #910576] Sun, 09 September 2012 22:51 Go to next message
Jeeeyul Lee is currently offline Jeeeyul Lee
Messages: 108
Registered: July 2009
Location: Seoul
Senior Member

I want to get full context of styling mechanism.

for instance, might be wrong:
* Widget Created
* SKIN event fired
* Theme manager collect stylable models from created widgets.
* CSS Property Handler update native widgets from matching models with selector rule.
..
..

Anyone help me? Smile
Re: E4 Styling mechanism? [message #910836 is a reply to message #910576] Mon, 10 September 2012 09:23 Go to previous messageGo to next message
Joseph Carroll is currently offline Joseph Carroll
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

Not sure what you mean by styling engine / skin event, but I am assuming you mean the CSS styling engine and the different CSS properties / style elementss.

You are able to subscribe to widget events through the topic UIEvents.UIElement.TOPIC_WIDGET. However, (AFAIK) I do not believe there is a way to receive CSS styling events.

Workbench UI events are published from the UIEventPublisher which utilizes the emf notifier framework. Because the CSS styling engine was designed for use in 3.x and 4.x using the same notifier framework would not be possible. After a brief review of the AbstractCSSEngine and its subclasses, it does not appear as though any store a list of listeners for notification.

You might want to investigate AbstractCSSEngine/CSSEngineImpl a little more yourself.

Take care,

JD
Re: E4 Styling mechanism? [message #911692 is a reply to message #910836] Wed, 12 September 2012 02:22 Go to previous message
Jeeeyul Lee is currently offline Jeeeyul Lee
Messages: 108
Registered: July 2009
Location: Seoul
Senior Member

Thanks!
Previous Topic:[E4AP] Error on loading workbench.xmi
Next Topic:QuickAccess contribution and activities
Goto Forum:
  


Current Time: Fri Jul 25 09:50:02 EDT 2014

Powered by FUDForum. Page generated in 0.02939 seconds