Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 875217fc779ea2b5fac2baec20ca77055b2cb75a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*******************************************************************************
 * Copyright (c) 2000, 2005 QNX Software Systems 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:
 *     QNX Software Systems - Initial API and implementation
 *******************************************************************************/

package org.eclipse.cdt.core.model;

import org.eclipse.core.runtime.IPath;

/**
 * 
 */
public interface IPathEntryContainerExtension extends IPathEntryContainer {

	/**
	 * Returns the set of entries associated with the resource
	 * and empty array if none.
	 * 
	 * @param path Workspace relative path.
	 * @param typeMask type of path entries:
	 * <li><code>IPathEntry.CDT_INCLUDE</code></li>
	 * <li><code>IPathEntry.CDT_INCLUDE_FILE</code></li>
	 * <li><code>IPathEntry.CDT_MACRO_FILE</code></li>
	 * <li><code>IPathEntry.CDT_MACRO</code></li>
	 * @return IPathEntry[] - the entries or empty set if none
	 * @see IPathEntry
	 */
	IPathEntry[] getPathEntries(IPath path, int typesMask);

	/**
	 * Returns whether there are any path entries for the resource.
	 * 
	 * @param path Workspace relative path.
	 * @return
	 */
	boolean isEmpty(IPath path);
}

Back to the top