public class MessagePage extends Page
This class may be instantiated; it is not intended to be subclassed.
PageBookView| Constructor and Description |
|---|
MessagePage()
Creates a new page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createControl(Composite parent)
Creates the SWT control for this page under the given parent
control.
|
Control |
getControl()
The
Page implementation of this IPage method returns
null. |
void |
setFocus()
Sets focus to a part in the page.
|
void |
setMessage(String message)
Sets the message to the given string.
|
dispose, getSite, init, makeContributions, setActionBarspublic MessagePage()
public void createControl(Composite parent)
IPageClients should not call this method (the workbench calls this method when it needs to, which may be never).
createControl in interface IPagecreateControl in class Pageparent - the parent controlpublic Control getControl()
PagePage implementation of this IPage method returns
null. Subclasses must reimplement.getControl in interface IPagegetControl in class Pagenull if this
page does not have a controlpublic void setFocus()
public void setMessage(String message)
message - the message textGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.