fFindWriteReferencesInHierarchyAction= new FindWriteReferencesInHierarchyAction(fEditor); fFindWriteReferencesInHierarchyAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_WRITE_ACCESS_IN_HIERARCHY); fEditor.setAction("SearchWriteAccessInHierarchy", fFindWriteReferencesInHierarchyAction);  fFindWriteReferencesInWorkingSetAction= new FindWriteReferencesInWorkingSetAction(fEditor); fFindWriteReferencesInWorkingSetAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_WRITE_ACCESS_IN_WORKING_SET); fEditor.setAction("SearchWriteAccessInWorkingSet", fFindWriteReferencesInWorkingSetAction);
ISelectionProvider provider= fSite.getSelectionProvider(); ISelection selection= provider.getSelection(); registerAction(fFindWriteReferencesAction, provider, selection); registerAction(fFindWriteReferencesInProjectAction, provider, selection); registerAction(fFindWriteReferencesInHierarchyAction, provider, selection); registerAction(fFindWriteReferencesInWorkingSetAction, provider, selection);
	public WriteReferencesSearchGroup(JavaEditor editor) {		fEditor= editor;		fSite= fEditor.getSite();		fGroupId= ITextEditorActionConstants.GROUP_FIND;		fFindWriteReferencesAction= new FindWriteReferencesAction(fEditor);		fFindWriteReferencesAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_WRITE_ACCESS_IN_WORKSPACE);		fEditor.setAction("SearchWriteAccessInWorkspace", fFindWriteReferencesAction); //$NON-NLS-1$		fFindWriteReferencesInHierarchyAction= new FindWriteReferencesInHierarchyAction(fEditor);		fFindWriteReferencesInHierarchyAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_WRITE_ACCESS_IN_HIERARCHY);		fEditor.setAction("SearchWriteAccessInHierarchy", fFindWriteReferencesInHierarchyAction); //$NON-NLS-1$		fFindWriteReferencesInWorkingSetAction= new FindWriteReferencesInWorkingSetAction(fEditor);		fFindWriteReferencesInWorkingSetAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_WRITE_ACCESS_IN_WORKING_SET);		fEditor.setAction("SearchWriteAccessInWorkingSet", fFindWriteReferencesInWorkingSetAction); //$NON-NLS-1$	}