1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.pde.core.plugin; 12 13 /** 14 * This type of model is created by parsing the plug-in 15 * manifest file but only takes the extensions and extension 16 * points into account. 17 * 18 */ 19 public interface ISharedExtensionsModel extends ISharedPluginModel { 20 /** 21 * Returns a top-level model object. Equivalent to 22 * calling <pre>getPluginBase(true)</pre>. 23 * @return a top-level model object representing a plug-in or a fragment. 24 */ 25 IExtensions getExtensions(); 26 /** 27 * Returns a top-level model object. 28 * @param createIfMissing if true, root model object will 29 * be created if not defined. 30 * @return a top-level model object 31 */ 32 IExtensions getExtensions(boolean createIfMissing); 33 } 34