blob: d752a9a14853b64320ab9cf2794382755492fd16 [file] [log] [blame]
/**
* Copyright (c) 2009-2010 Thales Corporate Services S.A.S.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Thales Corporate Services S.A.S - initial API and implementation
*/
package org.eclipse.egf.core.pde.extension;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.egf.core.pde.plugin.IPluginChangesCommand;
/**
* This factory creates commands to deal with "fcore" extension-point.
*
* @author Xavier Maysonnave
*/
public interface IFcoreExtensionFactory {
/**
* Set an extension matching "fcore" extension-point for given parameters.
*
* @param path
* @return an {@link IPluginChangesCommand} instance that performs this
* change.
*/
public IPluginChangesCommand setFcoreExtension(IPath path) throws CoreException;
/**
* Unset an existing extension matching "fcore" extension-point for given
* parameters.
*
* @param path
* @return an {@link IPluginChangesCommand} instance that performs this
* change.
*/
public IPluginChangesCommand unsetFcoreExtension(IPath path) throws CoreException;
}