|
|
|
|
|
|
|
|
|
Re: e4 custom renderer not working [message #852014 is a reply to message #851979] |
Sat, 21 April 2012 15:22 |
Eclipse User |
|
|
|
Ishara,
Regardless if it's the right thing to do, rewriting the render is not a trivial thing. To do that you need to have understood the eclipse emf model that represents the applicaion at runtime. This model is then 'translated' into widgets by the renderer. The line
If uiElement instanceof Label
will never return true because uiElement is the model object that is supposed to be translated into a widget through the renderer, not the widget itself.
For the 4.1 point, migrating from 4.1 to 4.2 is not the same effort as migrating from 3.2 to 4.1. In the latter case the conversion introduces the compatibility layer which makes your application believe it is still running on 3.x while it is on 4.x. When you go from 4.1 to the nightly builds you get a much better compatibility layer without any effort.
As to whether implementing your own renderer or not i would suggest you take a look at what the the main concepts introduced in e4 through various online resources and then if css isn't enough for your needs go and extend the renderers but it would be difficult to do so whithout deep knowledge of at least the modeled workbench.
Good luck.
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06527 seconds