new ShowInEditorAction().run(event.getSelection(), getSite().getPage()); else if (JavaBrowsingPart.this.equals(getSite().getPage().getActivePart()))
new ShowInEditorAction().run(event.getSelection(), page); else if (page.equals(JavaPlugin.getActivePage()) && JavaBrowsingPart.this.equals(page.getActivePart()))
	protected void hookViewerListeners() {		fViewer.addSelectionChangedListener(new ISelectionChangedListener() {			public void selectionChanged(SelectionChangedEvent event) {				if (!fProcessSelectionEvents)					return;				if (JavaBrowsingPreferencePage.openEditorOnSingleClick())					new ShowInEditorAction().run(event.getSelection(), getSite().getPage());				else if (JavaBrowsingPart.this.equals(getSite().getPage().getActivePart()))					linkToEditor((IStructuredSelection)event.getSelection());			}		});		fViewer.addDoubleClickListener(new IDoubleClickListener() {			public void doubleClick(DoubleClickEvent event) {				if (fProcessSelectionEvents && !JavaBrowsingPreferencePage.openEditorOnSingleClick())					new ShowInEditorAction().run(event.getSelection(), getSite().getPage());			}		});	}