public OpenViewActionGroup(JavaEditor part) { fEditorIsOwner= true;  fOpenSuperImplementation= new OpenSuperImplementationAction(part); fOpenSuperImplementation.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_SUPER_IMPLEMENTATION); part.setAction("OpenSuperImplementation", fOpenSuperImplementation);  fOpenExternalJavadoc= new OpenExternalJavadocAction(part); fOpenExternalJavadoc.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_EXTERNAL_JAVADOC); part.setAction("OpenExternalJavadoc", fOpenExternalJavadoc);  fOpenTypeHierarchy= new OpenTypeHierarchyAction(part); fOpenTypeHierarchy.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_TYPE_HIERARCHY); part.setAction("OpenTypeHierarchy", fOpenTypeHierarchy);  fOpenCallHierarchy= new OpenCallHierarchyAction(part); fOpenCallHierarchy.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_CALL_HIERARCHY); part.setAction("OpenCallHierarchy", fOpenCallHierarchy);  initialize(part.getEditorSite().getSelectionProvider());
public OpenViewActionGroup(Page page) { createSiteActions(page.getSite());
	public OpenViewActionGroup(JavaEditor part) {		fEditorIsOwner= true;		fOpenSuperImplementation= new OpenSuperImplementationAction(part);		fOpenSuperImplementation.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_SUPER_IMPLEMENTATION);		part.setAction("OpenSuperImplementation", fOpenSuperImplementation); //$NON-NLS-1$		fOpenExternalJavadoc= new OpenExternalJavadocAction(part);		fOpenExternalJavadoc.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_EXTERNAL_JAVADOC);		part.setAction("OpenExternalJavadoc", fOpenExternalJavadoc); //$NON-NLS-1$		fOpenTypeHierarchy= new OpenTypeHierarchyAction(part);		fOpenTypeHierarchy.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_TYPE_HIERARCHY);		part.setAction("OpenTypeHierarchy", fOpenTypeHierarchy); //$NON-NLS-1$        fOpenCallHierarchy= new OpenCallHierarchyAction(part);        fOpenCallHierarchy.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);        part.setAction("OpenCallHierarchy", fOpenCallHierarchy); //$NON-NLS-1$		initialize(part.getEditorSite().getSelectionProvider());	}