ViewForm.setContent

Sets the content. Setting the content to null will remove it from the pane - however, the creator of the content must dispose of the content. * @param content the control to be displayed in the content area or null * @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> <li>ERROR_INVALID_ARGUMENT - if the control is not a child of this ViewForm</li> </ul>

class ViewForm
void
setContent

Meta