/******************************************************************************
* Copyright (C) 2006-2012 IFS Institute for Software and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Original authors:
* Dennis Hunziker
* Ueli Kistler
* Contributors:
* Fabio Zadrozny <fabiofz@gmail.com> - initial implementation
******************************************************************************/
/*
* Copyright (C) 2006, 2007 Dennis Hunziker, Ueli Kistler
*/
package org.python.pydev.refactoring.tests.adapter;
import java.io.File;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.python.pydev.core.ICodeCompletionASTManager;
import org.python.pydev.core.IInterpreterInfo;
import org.python.pydev.core.IInterpreterManager;
import org.python.pydev.core.IModule;
import org.python.pydev.core.IPythonNature;
import org.python.pydev.core.IPythonPathNature;
import org.python.pydev.core.IToken;
import org.python.pydev.core.MisconfigurationException;
import org.python.pydev.core.PythonNatureWithoutProjectException;
public class PythonNatureStub implements IPythonNature {
@Override
public <T> T getAdapter(Class<T> adapter) {
throw new RuntimeException("Not implemented");
}
public boolean acceptsDecorators() throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public ICodeCompletionASTManager getAstManager() {
return new CodeCompletionASTManagerStub();
}
@Override
public IToken[] getBuiltinCompletions() {
throw new RuntimeException("Not implemented");
}
@Override
public IModule getBuiltinMod() {
throw new RuntimeException("Not implemented");
}
@Override
public File getCompletionsCacheDir() {
throw new RuntimeException("Not implemented");
}
@Override
public String getDefaultVersion() {
throw new RuntimeException("Not implemented");
}
@Override
public IPythonPathNature getPythonPathNature() {
throw new RuntimeException("Not implemented");
}
public int getRelatedId() throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public IInterpreterManager getRelatedInterpreterManager() {
throw new RuntimeException("Not implemented");
}
@Override
public String getVersion() throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public AdditionalGrammarVersionsToCheck getAdditionalGrammarVersions() throws MisconfigurationException {
throw new RuntimeException("Not implemented");
}
public boolean isJython() throws CoreException {
throw new RuntimeException("Not implemented");
}
public boolean isPython() throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public void rebuildPath() {
throw new RuntimeException("Not implemented");
}
public void rebuildPath(String defaultSelectedInterpreter, IProgressMonitor monitor) {
throw new RuntimeException("Not implemented");
}
@Override
public String resolveModule(File file) {
throw new RuntimeException("Not implemented");
}
@Override
public void saveAstManager() {
throw new RuntimeException("Not implemented");
}
@Override
public void clearBuiltinCompletions() {
throw new RuntimeException("Not implemented");
}
@Override
public void clearBuiltinMod() {
throw new RuntimeException("Not implemented");
}
public void setVersion(String version) throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public void configure() throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public void deconfigure() throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public IProject getProject() {
throw new RuntimeException("Not implemented");
}
@Override
public void setProject(IProject project) {
throw new RuntimeException("Not implemented");
}
@Override
public int getGrammarVersion() {
throw new RuntimeException("Not implemented");
}
@Override
public void endRequests() {
throw new RuntimeException("Not implemented");
}
@Override
public boolean isResourceInPythonpath(IResource resource) {
throw new RuntimeException("Not implemented");
}
@Override
public boolean isResourceInPythonpath(String resource) {
throw new RuntimeException("Not implemented");
}
@Override
public boolean isResourceInPythonpathProjectSources(IResource resource, boolean addExternal)
throws MisconfigurationException {
throw new RuntimeException("Not implemented");
}
@Override
public boolean isResourceInPythonpathProjectSources(String resource, boolean addExternal)
throws MisconfigurationException {
throw new RuntimeException("Not implemented");
}
@Override
public String resolveModule(String fileAbsolutePath) {
throw new RuntimeException("Not implemented");
}
@Override
public String resolveModule(IResource resource) {
throw new RuntimeException("Not implemented");
}
@Override
public boolean startRequests() {
throw new RuntimeException("Not implemented");
}
@Override
public int getInterpreterType() throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public IInterpreterInfo getProjectInterpreter() throws MisconfigurationException,
PythonNatureWithoutProjectException {
throw new RuntimeException("Not implemented");
}
@Override
public boolean isOkToUse() {
throw new RuntimeException("Not implemented");
}
@Override
public void setVersion(String version, String interpreter) throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public String resolveModuleOnlyInProjectSources(String fileAbsolutePath, boolean addExternal) throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public String resolveModuleOnlyInProjectSources(IResource fileAbsolutePath, boolean addExternal)
throws CoreException {
throw new RuntimeException("Not implemented");
}
@Override
public void updateMtime() {
throw new RuntimeException("Not implemented");
}
@Override
public long getMtime() {
throw new RuntimeException("Not implemented");
}
}