Skip to main content
summaryrefslogtreecommitdiffstats
blob: 246d88c9133f7022b44e6f8f96b708939a04befc (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
/*******************************************************************************
 * Copyright (c) 2012 Mia-Software.
 * 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:
 *    Gregoire Dupe (Mia-Software) - Bug 387470 - [EFacet][Custom] Editors
 *******************************************************************************/
package org.eclipse.emf.facet.util.pde.core.internal.exported;

import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.pde.core.build.IBuildModel;
import org.eclipse.pde.core.plugin.IPluginModelBase;

/**
 * @since 0.3
 */
public final class BuildPropertiesUtils {

	private BuildPropertiesUtils() {
		// Must not be used
	}

	public static void addToBuild(final IFile file) throws CoreException {
		org.eclipse.emf.facet.util.pde.core.internal.BuildPropertiesUtils
				.addToBuild(file);
	}

	public static IBuildModel getBuildModel(final IPluginModelBase model)
			throws CoreException {
		return org.eclipse.emf.facet.util.pde.core.internal.BuildPropertiesUtils
				.getBuildModel(model);
	}
}

Back to the top