Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7da2397e784a28d35c1f561a8396c3a00d3bd28d (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
44
45
46
47
48
49
50
51
52
53
54
/*******************************************************************************
 * Copyright (c) 2017 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:
 *     Red Hat Inc. - initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.core;

import java.util.List;

import org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
import org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry;
import org.eclipse.core.resources.IProject;

/**
 * @since 6.3
 */
public interface ICommandLauncherFactory {
	
	/**
	 * Get a Command Launcher for a project (based on active configuration)
	 * @param project - IProject to get command launcher for
	 * @return ICommandLauncher
	 */
	public ICommandLauncher getCommandLauncher(IProject project);
	
	/**
	 * Get a Command Launcher for a build configuration descriptor
	 * @param cfgd - ICConfigurationDescription to get command launcher for
	 * @return ICommandLauncher
	 */
	public ICommandLauncher getCommandLauncher(ICConfigurationDescription cfgd);

	/**
	 * Register language setting entries for a project
	 * @param project - IProject used in obtaining language setting entries
	 * @param entries - List of language setting entries
	 */
	public void registerLanguageSettingEntries(IProject project, List<? extends ICLanguageSettingEntry> entries);
	
	/**
	 * Verify language setting entries for a project and change any entries that
	 * have been copied to a local location
	 * @param project - IProject used in obtaining language setting entries
	 * @param entries - List of language setting entries
	 * @return modified List of language setting entries
	 */
	public List<ICLanguageSettingEntry> verifyLanguageSettingEntries(IProject project, List<ICLanguageSettingEntry> entries);

}

Back to the top