/******************************************************************************* * Copyright (c) 2009-2011 CWI * 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 * * Contributors: * * Jurgen J. Vinju - Jurgen.Vinju@cwi.nl - CWI *******************************************************************************/ package org.rascalmpl.eclipse.nature; import java.io.IOException; import java.io.InputStream; import org.eclipse.core.runtime.QualifiedName; import org.eclipse.core.runtime.content.IContentDescriber; import org.eclipse.core.runtime.content.IContentDescription; public class Describer implements IContentDescriber { public int describe(InputStream contents, IContentDescription description) throws IOException { return IContentDescriber.VALID; } public QualifiedName[] getSupportedOptions() { return new QualifiedName[0]; } }