Browse files

Adding compatibility with IResources from Eclipse 3.6.

  • Loading branch information...
1 parent 76229ad commit 298be2417ca9f9d7cfb9934e5dc81d3b79cd92f7 fabioz committed Dec 16, 2009
View
25 plugins/org.python.pydev/tests/org/python/pydev/eclipseresourcestubs/FileResourceStub.java
@@ -12,10 +12,12 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileInfoMatcherDescription;
import org.eclipse.core.resources.IFileState;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResourceFilterDescription;
import org.eclipse.core.resources.IResourceProxy;
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.IResourceVisitor;
@@ -446,5 +448,28 @@ public boolean isTeamPrivateMember(int options) {
throw new RuntimeException("Not implemented");
}
+ public IResourceFilterDescription createFilter(int type, IFileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void removeFilter(IResourceFilterDescription filterDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public IResourceFilterDescription[] getFilters() throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean isGroup() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean hasFilters() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void setDerived(boolean isDerived, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
}
View
25 plugins/org.python.pydev/tests/org/python/pydev/plugin/nature/FileStub2.java
@@ -12,10 +12,12 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileInfoMatcherDescription;
import org.eclipse.core.resources.IFileState;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResourceFilterDescription;
import org.eclipse.core.resources.IResourceProxy;
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.IResourceVisitor;
@@ -395,5 +397,28 @@ public boolean isTeamPrivateMember(int options) {
throw new RuntimeException("Not implemented");
}
+ public IResourceFilterDescription createFilter(int type, IFileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void removeFilter(IResourceFilterDescription filterDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public IResourceFilterDescription[] getFilters() throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean isGroup() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean hasFilters() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void setDerived(boolean isDerived, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
}
View
25 plugins/org.python.pydev/tests/org/python/pydev/plugin/nature/ProjectStub2.java
@@ -8,12 +8,14 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileInfoMatcherDescription;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceFilterDescription;
import org.eclipse.core.resources.IResourceProxy;
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.IResourceVisitor;
@@ -484,5 +486,28 @@ public boolean isTeamPrivateMember(int options) {
// TODO Auto-generated method stub
throw new RuntimeException("Not implemented");
}
+ public IResourceFilterDescription createFilter(int type, IFileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void removeFilter(IResourceFilterDescription filterDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public IResourceFilterDescription[] getFilters() throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean isGroup() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean hasFilters() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void setDerived(boolean isDerived, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
}
View
26 ...pydev/tests_completions/org/python/pydev/editor/codecompletion/revisited/ProjectStub.java
@@ -8,12 +8,14 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileInfoMatcherDescription;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceFilterDescription;
import org.eclipse.core.resources.IResourceProxy;
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.IResourceVisitor;
@@ -496,4 +498,28 @@ public boolean isTeamPrivateMember(int options) {
throw new RuntimeException("Not implemented");
}
+ public IResourceFilterDescription createFilter(int type, IFileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void removeFilter(IResourceFilterDescription filterDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public IResourceFilterDescription[] getFilters() throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean isGroup() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean hasFilters() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void setDerived(boolean isDerived, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
}
View
25 plugins/org.python.pydev/tests_navigator/org/python/pydev/navigator/FileStub.java
@@ -8,10 +8,12 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileInfoMatcherDescription;
import org.eclipse.core.resources.IFileState;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResourceFilterDescription;
import org.eclipse.core.resources.IResourceProxy;
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.IResourceVisitor;
@@ -520,4 +522,27 @@ public boolean isTeamPrivateMember(int options) {
throw new RuntimeException("Not implemented");
}
+ public IResourceFilterDescription createFilter(int type, IFileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void removeFilter(IResourceFilterDescription filterDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public IResourceFilterDescription[] getFilters() throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean isGroup() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean hasFilters() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void setDerived(boolean isDerived, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
}
View
30 plugins/org.python.pydev/tests_navigator/org/python/pydev/navigator/FolderStub.java
@@ -6,11 +6,13 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileInfoMatcherDescription;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceFilterDescription;
import org.eclipse.core.resources.IResourceProxy;
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.IResourceVisitor;
@@ -535,4 +537,32 @@ public boolean isTeamPrivateMember(int options) {
throw new RuntimeException("Not implemented");
}
+ public IResourceFilterDescription createFilter(int type, IFileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void removeFilter(IResourceFilterDescription filterDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public IResourceFilterDescription[] getFilters() throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean isGroup() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean hasFilters() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void setDerived(boolean isDerived, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void createGroup(int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
}
View
27 plugins/org.python.pydev/tests_navigator/org/python/pydev/navigator/ProjectStub.java
@@ -9,12 +9,14 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileInfoMatcherDescription;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceFilterDescription;
import org.eclipse.core.resources.IResourceProxy;
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.IResourceVisitor;
@@ -680,6 +682,8 @@ public void setHidden(boolean isHidden) throws CoreException {
}
+
+
public boolean isHidden(int options) {
throw new RuntimeException("Not implemented");
}
@@ -688,5 +692,28 @@ public boolean isTeamPrivateMember(int options) {
throw new RuntimeException("Not implemented");
}
+ public IResourceFilterDescription createFilter(int type, IFileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void removeFilter(IResourceFilterDescription filterDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public IResourceFilterDescription[] getFilters() throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean isGroup() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean hasFilters() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void setDerived(boolean isDerived, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
}
View
27 plugins/org.python.pydev/tests_navigator/org/python/pydev/navigator/WorkspaceRootStub.java
@@ -7,11 +7,13 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileInfoMatcherDescription;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceFilterDescription;
import org.eclipse.core.resources.IResourceProxy;
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.IResourceVisitor;
@@ -440,6 +442,7 @@ public void setHidden(boolean isHidden) throws CoreException {
throw new RuntimeException("Not implemented");
}
+
public boolean isHidden(int options) {
throw new RuntimeException("Not implemented");
}
@@ -448,4 +451,28 @@ public boolean isTeamPrivateMember(int options) {
throw new RuntimeException("Not implemented");
}
+ public IResourceFilterDescription createFilter(int type, IFileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void removeFilter(IResourceFilterDescription filterDescription, int updateFlags, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public IResourceFilterDescription[] getFilters() throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean isGroup() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public boolean hasFilters() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public void setDerived(boolean isDerived, IProgressMonitor monitor) throws CoreException {
+ throw new RuntimeException("Not implemented");
+ }
+
}

0 comments on commit 298be24

Please sign in to comment.