blob: b3177d168fa80e96747fd58e143a43e718e7abb9 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.pde.internal.build;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.model.PluginModel;
/**
* Generates build.xml script for features.
*/
public class FragmentBuildScriptGenerator extends ModelBuildScriptGenerator {
/**
*
* @see ModelBuildScriptGenerator#getModel(String)
*/
protected PluginModel getModel(String modelId) throws CoreException {
return getRegistry().getFragment(modelId);
}
/**
*
* @see ModelBuildScriptGenerator#getModelTypeName()
*/
protected String getModelTypeName() {
return "fragment"; //$NON-NLS-1$
}
}