| //------------------------------------------------------------------------------ |
| // Copyright (c) 2005, 2006 IBM Corporation 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: |
| // IBM Corporation - initial implementation |
| //------------------------------------------------------------------------------ |
| package org.eclipse.epf.library.project; |
| |
| import org.eclipse.core.resources.IProject; |
| import org.eclipse.core.resources.IProjectNature; |
| import org.eclipse.core.runtime.CoreException; |
| |
| /** |
| * A Method Library Project nature. |
| * |
| * @author Kelvin Low |
| * @since 1.0 |
| */ |
| public class MethodLibraryProjectNature implements IProjectNature { |
| |
| /** |
| * The nature ID for a Method Library Project. |
| */ |
| public static final String NATURE_ID = MethodLibraryProjectNature.class |
| .getName(); |
| |
| /** |
| * An array of Method Library Project nature IDs. |
| */ |
| public static String[] NATURE_IDS = { NATURE_ID }; |
| |
| private IProject project; |
| |
| /** |
| * @see org.eclipse.core.resources.IProjectNature#configure() |
| */ |
| public void configure() throws CoreException { |
| } |
| |
| /** |
| * @see org.eclipse.core.resources.IProjectNature#deconfigure() |
| */ |
| public void deconfigure() throws CoreException { |
| } |
| |
| /** |
| * @see org.eclipse.core.resources.IProjectNature#getProject() |
| */ |
| public IProject getProject() { |
| return project; |
| } |
| |
| /** |
| * @see org.eclipse.core.resources.IProjectNature#setProject(IProject) |
| */ |
| public void setProject(IProject project) { |
| this.project = project; |
| } |
| |
| } |