|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChangePreviewViewer
Viewer to present the preview for a Change.
Viewers are associated with a change object via the extension point
org.eclipse.ltk.ui.refactoring.changePreviewViewers. Implementors of this
extension point must therefore implement this interface.
To ensure visual consistency across all provided preview 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.
| Method Summary | |
|---|---|
void |
createControl(Composite parent)
Creates the preview viewer's widget hierarchy. |
Control |
getControl()
Returns the preview viewer's SWT control. |
void |
setInput(ChangePreviewViewerInput input)
Sets the preview viewer's input element. |
| Method Detail |
|---|
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(ChangePreviewViewerInput input)
input - the input element
|
Eclipse Platform Release 3.2 |
|||||||||
| 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, 2006. All rights reserved.