Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1186875c23e38e3a29bbce27244f70c477243780 (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
/*******************************************************************************
 * Copyright (c) 2000, 2005 IBM Corporation and others.
 * 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.pde.internal.core.ibundle;


/**
 * Models that implement this interface can provide a reference
 * of the bundle plug-in model that owns the model in question.
 * This interface allows objects of these models to reach up
 * to the parent adapter without making too many assumptions
 * about the nature of the parent. Models that don't have
 * bundle plug-in model parent are required to return <code>null</code>.
 * 
 * @since 3.0
 */
public interface IBundlePluginModelProvider {
/**
 * Returns the parent bundle plug-in model if the provider
 * belongs to it.
 * @return the parent bundle plug-in model or <code>null</code>
 * if the provider does not have a bundle plug-in model parent.
 */	
	IBundlePluginModelBase getBundlePluginModel();
}

Back to the top