org.eclipse.debug.ui.IDetailPane2 Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2008 Wind River Systems, Inc. and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Wind River Systems - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.ui;
import org.eclipse.jface.viewers.ISelectionProvider;
/**
* An extension to the detail pane interface which allows implementors to
* provide a selection provider instead of setting the selection provider of the
* view's {@link org.eclipse.ui.IWorkbenchPartSite site} directly.
*
* Clients may implement this interface.
*
*
* @since 3.5
*/
public interface IDetailPane2 extends IDetailPane {
/**
* Request the selection provider of this detail pane.
*
* This method is called on every focus change of the Control
* returned by {@link #createControl(org.eclipse.swt.widgets.Composite)
* createControl(Composite)}.
*
*
* @return the selection provider of this detail pane or null
*/
ISelectionProvider getSelectionProvider();
}