public interface IDetailPaneFactory
Detail pane factories are contributed via the org.eclipse.debug.ui.detailPaneFactories
extension point. Following is an example of a detail pane factory extension:
<extension point="org.eclipse.debug.ui.detailPaneFactories"> <detailFactories class="org.eclipse.temp.TableDetailPaneFactory" name="Table Detail Factory"> </detailFactories> </extension>
Clients contributing a detail pane factory are intended to implement this interface.
IDetailPane
Modifier and Type | Method and Description |
---|---|
IDetailPane |
createDetailPane(String paneID)
Creates and returns a detail pane corresponding to the given detail pane
type identifier that this factory can produce (according to
getDetailPaneTypes(IStructuredSelection selection) ). |
String |
getDefaultDetailPane(IStructuredSelection selection)
Returns the identifier of the default detail pane type to use for the given
selection, or
null if this factory has no preference. |
String |
getDetailPaneDescription(String paneID)
Returns a description for the detail pane type associated with the given ID
or
null if none. |
String |
getDetailPaneName(String paneID)
Returns a name for the detail pane type associated with the given ID
or
null if none. |
Set<String> |
getDetailPaneTypes(IStructuredSelection selection)
Returns all possible types detail panes that this factory can
create for the given selection, possibly empty.
|
Set<String> getDetailPaneTypes(IStructuredSelection selection)
selection
- The current selectionString getDefaultDetailPane(IStructuredSelection selection)
null
if this factory has no preference.
A factory can override the platform's default detail pane by returning
a non-null
value.selection
- The current selectionnull
IDetailPane createDetailPane(String paneID)
getDetailPaneTypes(IStructuredSelection selection)
).paneID
- The id of the detain pane type to be creatednull
if one could not be createdString getDetailPaneName(String paneID)
null
if none. Used to
populate the context menu with meaningful names of the pane types.paneID
- detail pane type identifiernull
if none
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.