1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.ui.part;
15 
16 import org.eclipse.ui.IWorkbenchPart;
17 
18 /**
19  * This interface is used to identify workbench views which allow other parts
20  * (typically the active part) to supply their contents. The interface allows
21  * access to the part which contributed the current contents.
22  */
23 public interface IContributedContentsView {
24 	/**
25 	 * Returns the workbench part which contributed the current contents of this
26 	 * view.
27 	 *
28 	 * @return the part which contributed the current contents
29 	 */
getContributingPart()30 	IWorkbenchPart getContributingPart();
31 }
32