/******************************************************************************* * Copyright (c) 2009, 2014 Ericsson * * 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: * Francois Chouinard - Initial API and implementation *******************************************************************************/ package org.eclipse.tracecompass.tmf.core; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IProjectNature; import org.eclipse.core.runtime.CoreException; /** * The TMF basic tracing project nature. * * @version 1.0 * @author Francois Chouinard */ public class TmfProjectNature implements IProjectNature { // ------------------------------------------------------------------------ // Constants // ------------------------------------------------------------------------ /** * The nature ID */ public static final String ID = "org.eclipse.linuxtools.tmf.project.nature"; //$NON-NLS-1$ // ------------------------------------------------------------------------ // Attributes // ------------------------------------------------------------------------ private IProject fProject; // ------------------------------------------------------------------------ // Operations // ------------------------------------------------------------------------ @Override public void configure() throws CoreException { } @Override public void deconfigure() throws CoreException { } @Override public IProject getProject() { return fProject; } @Override public void setProject(IProject project) { fProject = project; } }