Scrollable e4 application [message #640103] |
Fri, 19 November 2010 01:28  |
Eclipse User |
|
|
|
Hi,
Sorry to disturb again with my newbie questions, but am really helpless..
I would like my e4 application scrollable (the app consists of a trimmed window that has UI elements like sash and parts).
Right now it is not. There is no way I can see to accomplish that in the e4xmi editor.
Also, even though I can access the shell trhough IServiceConstants.ACTIVE_SHELL, I still don't see how to modify the style of that shell... (you only specify SWT.scroll when you call the constructor of the shell, not through methods)
Thanks for helping me out!
|
|
|
|
Re: Scrollable e4 application [message #641367 is a reply to message #640299] |
Thu, 25 November 2010 03:48  |
Eclipse User |
|
|
|
Hi,I would appreciate more help on this one...I created a RendererFactory class which extends WBWRenderer (couldn't find WBWindowRenderer, or am I missing sth?) and I don't know which method to override, or how and where to insert the ScrolledComposite...
Thanks for any help!
Tom Schindl wrote on Sat, 20 November 2010 03:03 | You mean the root area should be scrollable? This is NOT done my setting
stylebits but you'd need to wrap the whole content in a ScrolledComposite.
What you need to do is to add your custom RendererFactory which
subclasses the WBWindowRender and insert a ScrolledComposite.
Tom
Am 19.11.10 07:28, schrieb AppleJus:
> Hi,
> Sorry to disturb again with my newbie questions, but am really helpless..
> I would like my e4 application scrollable (the app consists of a
> trimmed window that has UI elements like sash and parts).
> Right now it is not. There is no way I can see to accomplish that in the
> e4xmi editor.
> Also, even though I can access the shell trhough
> IServiceConstants.ACTIVE_SHELL, I still don't see how to modify the
> style of that shell... (you only specify SWT.scroll when you call the
> constructor of the shell, not through methods)
>
> Thanks for helping me out!
|
|
|
|
Powered by
FUDForum. Page generated in 0.05808 seconds