selectionService.addSelectionListener(this);
pageBook = new PageBook(parent, SWT.NULL);
- createViewerComposite(pageBook);
+ //create viewerComposite
+ viewerComposite = new SashForm(pageBook, SWT.HORIZONTAL);
createViewer(viewerComposite);
// Page 2: Nothing selected
return selectionService.getSelection();
}
- private void createViewerComposite(Composite parent) {
- viewerComposite = new SashForm(parent, SWT.HORIZONTAL);
- }
-
/**
* <p>showEmptyPage</p>
*/
@Override
public ConversationHolder getConversationHolder() {
if(part != null) {
+ //FIXME what if part is not an IConversationEnabled? ClassCastException?
return ((IConversationEnabled) part).getConversationHolder();
}