i am currently working on a custom widget consisting out of 2 Canvas and a
ScrolledComposite.The goal is to provide a scrolledcomposite with a custom
drawn header and footer. So far i extend Composite create and layout the
controls on it and perform some drawing on the canvases. Works fine no
problems there. My question is if there is some way to achieve that when i
use this custom composite as parent actually the contained
ScrolledComposite is used. At the moment i have a getter for it so one can
create the content for the ScrolledComposite on it directly and a
setContent simply forwarding to ScrolledComposite.setContent(). Works as
expected but dislike the fact that the reference to the ScrolledComposite
is exposed.