Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » E4 Styling mechanism?
E4 Styling mechanism? [message #910576] Sun, 09 September 2012 22:51 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
Thanks!
Previous Topic:please org.eclipse.ui.views.properties error
Next Topic:QuickAccess contribution and activities
Goto Forum:
  


Current Time: Wed Jul 23 01:45:16 EDT 2025

Powered by FUDForum. Page generated in 0.25263 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top