Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsScrolledComposite
https://www.eclipse.org/forums/index.php/mv/msg/486152/1053616/#msg_1053616
Need much, much help.
I am using a ScrolledComposite within a Composite to draw a screen.
When I run the screen, the scroll works correctly, but when I'm drawing, or when I'm using Window Builder to create my screen the scroll does not work.
And that's exactly when designing the screen that I need the scroll work.
As you can see ScrolledComposite know you have more content in the composite.
However, the scroll bar does not work!
Anyone know how to enable scroll in this case?
Thank you]]>Juliane Venteu2013-05-06T21:11:32-00:00Re: ScrolledComposite
https://www.eclipse.org/forums/index.php/mv/msg/486152/1053642/#msg_1053642
The typical way to handle a UI like this is to create the composite as a separate class, edit it independently of the main UI, and then place an instance of that composite within the scrolled composite.]]>Eric Clayberg2013-05-07T05:32:16-00:00Re: ScrolledComposite
https://www.eclipse.org/forums/index.php/mv/msg/486152/1053713/#msg_1053713
Thank you for the answer so quickly.
I understand the fact that when I'm editing a screen do not have an actual widget, however the option to create a composite in another source and use an instance of it is not feasible for me.
I developed my own palette components, where each component is extended SWT of components and these components generate my source code in language X, which by the way is not object-oriented. So in my case it is not feasible to make the component in another source.
When I am editing a screen does not deal with live widgets, however SashForm own behavior to increase or diminuar the space it occupies, or even editing a screen I have user interaction in SashForm.
I made a component of the extended Sash and saw that the class SashFormSelectionEditPolicy is responsible for allowing this interaction in the editing screen.
I wonder if it is possible to create a component that use other basis than the Slider component and allows you to use the scroll screen editing, using perhaps a ScrolledSelectionEditPolicy or something.