public JavaSearchActionGroup(JavaEditor editor) { Assert.isNotNull(editor); fEditor= editor; fSite= fEditor.getSite();  fReferencesGroup= new ReferencesSearchGroup(fEditor); fReadAccessGroup= new ReadReferencesSearchGroup(fEditor); fWriteAccessGroup= new WriteReferencesSearchGroup(fEditor); fDeclarationsGroup= new DeclarationsSearchGroup(fEditor); fImplementorsGroup= new ImplementorsSearchGroup(fEditor); fOccurrencesInFileAction= new FindOccurrencesInFileAction(fEditor); fExceptionOriginatorsAction= new FindExceptionOccurrences(fEditor);
public JavaSearchActionGroup(IViewPart part) { this(part.getViewSite()); fOccurrencesInFileAction= new FindOccurrencesInFileAction(part); part.getViewSite().getSelectionProvider().addSelectionChangedListener(fOccurrencesInFileAction);
	public JavaSearchActionGroup(JavaEditor editor) {		Assert.isNotNull(editor);		fEditor= editor;		fSite= fEditor.getSite();				fReferencesGroup= new ReferencesSearchGroup(fEditor);		fReadAccessGroup= new ReadReferencesSearchGroup(fEditor);		fWriteAccessGroup= new WriteReferencesSearchGroup(fEditor);		fDeclarationsGroup= new DeclarationsSearchGroup(fEditor);		fImplementorsGroup= new ImplementorsSearchGroup(fEditor);		fOccurrencesInFileAction= new FindOccurrencesInFileAction(fEditor);		fExceptionOriginatorsAction= new FindExceptionOccurrences(fEditor);	}