public interface IStatusContextViewer
Status context viewers are associated with a context object via the extension point
org.eclipse.ltk.ui.refactoring.statusContextViewers. Implementors of this
extension point must therefore implement this interface.
To ensure visual consistency across all provided context viewers the widget
hierarchy provided through the method createControl(Composite) has to
use a ViewForm as its root widget.
Clients of this interface should call createControl before calling
setInput.
| Modifier and Type | Method and Description |
|---|---|
void |
createControl(Composite parent)
Creates the status viewer's widget hierarchy.
|
Control |
getControl()
Returns the status context viewer's SWT control.
|
void |
setInput(RefactoringStatusContext input)
Sets the status context viewer's input element.
|
void createControl(Composite parent)
getControl() should
be used to retrieve the widget hierarchy.parent - the parent for the widget hierarchygetControl()Control getControl()
null
is the widget hierarchy hasn't been created yetvoid setInput(RefactoringStatusContext input)
input - the input elementGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.