Skip to content

Commit

Permalink
[JBIDE-25965] - Adapt javaee for Photon (#452)
Browse files Browse the repository at this point in the history
* [JBIDE-25965] - Adapt javaee for Photon

- Fix compilation errors

Signed-off-by: Jeff MAURY <jmaury@redhat.com>
  • Loading branch information
jeffmaury committed Apr 23, 2018
1 parent af04865 commit 1939114
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Expand Up @@ -11,6 +11,7 @@
package org.jboss.tools.cdi.ui.test.testmodel;

import java.util.Map;
import java.util.Set;

import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
Expand Down Expand Up @@ -565,4 +566,18 @@ public IModuleDescription getModuleDescription() throws JavaModelException {
return null;
}

@Override
public IPackageFragmentRoot[] findUnfilteredPackageFragmentRoots(IClasspathEntry entry) {
return null;
}

@Override
public IClasspathEntry getClasspathEntryFor(IPath path) throws JavaModelException {
return null;
}

@Override
public Set<String> determineModulesOfProjectsWithNonEmptyClasspath() throws JavaModelException {
return null;
}
}
Expand Up @@ -28,6 +28,7 @@
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IOpenable;
import org.eclipse.jdt.core.IOrdinaryClassFile;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.core.IType;
Expand All @@ -53,7 +54,7 @@ public String[] getCategories() throws JavaModelException {
}

@Override
public IClassFile getClassFile() {
public IOrdinaryClassFile getClassFile() {
// TODO Auto-generated method stub
return null;
}
Expand Down
Expand Up @@ -82,7 +82,7 @@ public void search(ISearchRequestor requestor, QuerySpecification querySpecifica

SeamJavaSearchRequestor seamRequestor = new SeamJavaSearchRequestor(requestor);

SeamSearchScope scope = new SeamSearchScope(new JavaSearchScope(), patternQuery.getLimitTo());
SeamSearchScope scope = new SeamSearchScope(new JavaSearchScope(false), patternQuery.getLimitTo());

SeamSearchEngine.getInstance().search(pattern,
scope,
Expand Down

0 comments on commit 1939114

Please sign in to comment.