/************************************************************************************* * Copyright (c) 2008-2012 Red Hat, Inc. 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 * * Contributors: * JBoss by Red Hat - Initial implementation. ************************************************************************************/ package org.jboss.tools.arquillian.core.internal.natures; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IProjectNature; import org.eclipse.core.runtime.CoreException; import org.jboss.tools.arquillian.core.internal.util.ArquillianUtility; /** * * @author snjeza * */ public class ArquillianNature implements IProjectNature { public static final String ARQUILLIAN_NATURE_ID = "org.jboss.tools.arquillian.core.arquillianNature"; //$NON-NLS-1$ IProject project; @Override public void configure() throws CoreException { ArquillianUtility.addArquillianSupport(project); } @Override public void deconfigure() throws CoreException { // FIXME } @Override public IProject getProject() { return project; } @Override public void setProject(IProject project) { this.project = project; } }