I am using a FormEditor
to create a multipage form in my RCP application. When opening the form, the focus goes to the header. I want the focus to go onto my page content, not the header. How can I do this?
I tried overriding setFocus()
on my FormPage
, but I can't figure out the correct combination of getters to get to where I want to go. This is what I have so far, but it's still giving focus to the header:
@Override
public void setFocus() {
getManagedForm().getForm().getContent().setFocus();
}
Am I on the right track?