| /********************************************************************** |
| * Created on Mar 25, 2003 |
| * |
| * Copyright (c) 2002,2003 QNX Software Systems Ltd. and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v0.5 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v05.html |
| * |
| * Contributors: |
| * QNX Software Systems - Initial API and implementation |
| ***********************************************************************/ |
| package org.eclipse.cdt.core.model; |
| |
| import org.eclipse.core.runtime.IPath; |
| |
| public interface ISourceEntry extends ICPathEntry { |
| |
| /** |
| * Returns the absolute path from the worskspace root or |
| * relative path of the source folder. |
| * @return String |
| */ |
| IPath getSourcePath(); |
| |
| /** |
| * Whether or not to look recursively in the folder. |
| * @return boolean |
| */ |
| boolean isRecursive(); |
| |
| /** |
| * Returns an array of inclusion paths affecting the |
| * source folder when looking for files recursively. |
| * @return IPath |
| */ |
| IPath[] getExclusionPatterns(); |
| |
| /** |
| * Binary output location for this source folder. |
| * @return IPath, <code>null</code> means to use the |
| * default output location of the project. |
| */ |
| IPath getOutputLocation(); |
| |
| } |