|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDetailPaneFactory
A detail pane factory creates one or more types of detail panes.
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| Method Summary | |
|---|---|
IDetailPane |
createDetailPane(java.lang.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)). |
java.lang.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. |
java.lang.String |
getDetailPaneDescription(java.lang.String paneID)
Returns a description for the detail pane type associated with the given ID or null if none. |
java.lang.String |
getDetailPaneName(java.lang.String paneID)
Returns a name for the detail pane type associated with the given ID or null if none. |
java.util.Set |
getDetailPaneTypes(IStructuredSelection selection)
Returns all possible types detail panes that this factory can create for the given selection, possibly empty. |
| Method Detail |
|---|
java.util.Set getDetailPaneTypes(IStructuredSelection selection)
selection - The current selection
java.lang.String 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 selection
nullIDetailPane createDetailPane(java.lang.String paneID)
getDetailPaneTypes(IStructuredSelection selection)).
paneID - The id of the detain pane type to be created
null if one could not be createdjava.lang.String getDetailPaneName(java.lang.String paneID)
null if none. Used to
populate the context menu with meaningful names of the pane types.
paneID - detail pane type identifier
null if nonejava.lang.String getDetailPaneDescription(java.lang.String paneID)
null if none.
paneID - detail pane type identifier
null if none
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.