01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.core.plugin;
11:
12: /**
13: * This type of model is created by parsing the plug-in
14: * manifest file but only takes the extensions and extension
15: * points into account.
16: *
17: */
18: public interface ISharedExtensionsModel extends ISharedPluginModel {
19: /**
20: * Returns a top-level model object. Equivalent to
21: * calling <pre>getPluginBase(true)</pre>.
22: * @return a top-level model object representing a plug-in or a fragment.
23: */
24: IExtensions getExtensions();
25:
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: }
|