KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > ibundle > IBundlePluginModelProvider


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.internal.core.ibundle;
12
13
14 /**
15  * Models that implement this interface can provide a reference
16  * of the bundle plug-in model that owns the model in question.
17  * This interface allows objects of these models to reach up
18  * to the parent adapter without making too many assumptions
19  * about the nature of the parent. Models that don't have
20  * bundle plug-in model parent are required to return <code>null</code>.
21  *
22  * @since 3.0
23  */

24 public interface IBundlePluginModelProvider {
25 /**
26  * Returns the parent bundle plug-in model if the provider
27  * belongs to it.
28  * @return the parent bundle plug-in model or <code>null</code>
29  * if the provider does not have a bundle plug-in model parent.
30  */

31     IBundlePluginModelBase getBundlePluginModel();
32 }
33
Popular Tags