String partId = BytecodeOutlineView.class.getName();
selectionService.addPostSelectionListener(this);
// perform initialization with already existing selection (if any)
ISelection selection = selectionService.getSelection(partId);
if(selection != null) {
IViewReference viewReference = workbenchWindow.getActivePage()
.findViewReference(partId);
if(viewReference != null) {
selectionChanged(viewReference.getView(false), selection);