|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A detail pane is created from a detail pane factory and displays detailed information about
a current selection with an SWT Control
. Use the
org.eclipse.debug.ui.detailFactories
extension point to contribute a detail pane
factory.
Clients may implement this interface.
IDetailPaneFactory
Method Summary | |
---|---|
Control |
createControl(Composite parent)
Creates and returns the main control for this detail pane using the given composite as a parent. |
void |
display(IStructuredSelection selection)
Displays details for the given selection, possible null . |
void |
dispose()
Disposes this detail pane. |
String |
getDescription()
A brief description of this detail pane, or null if none |
String |
getID()
Returns a unique identifier for this detail pane. |
String |
getName()
The human readable name of this detail pane. |
void |
init(IWorkbenchPartSite partSite)
Initializes this detail pane for the given workbench part site. |
boolean |
setFocus()
Allows this detail pane to give focus to an appropriate control, and returns whether the detail pane accepted focus. |
Method Detail |
public void init(IWorkbenchPartSite partSite)
null
.
partSite
- The workbench part site that this detail pane has been created in or null
public Control createControl(Composite parent)
parent
- The parent composite that UI components should be added to
public void dispose()
createControl()
.
public void display(IStructuredSelection selection)
null
. An empty selection
or null
should clear this detail pane.
selection
- The selection to be displayed, possibly empty or null
public boolean setFocus()
false
, allowing the containing view to choose another target
for focus.
public String getID()
public String getName()
public String getDescription()
null
if none
null
if none
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.