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, setActionBars
public MessagePage()
public void createControl(Composite parent)
IPage
Clients should not call this method (the workbench calls this method when it needs to, which may be never).
createControl
in interface IPage
createControl
in class Page
parent
- the parent controlpublic Control getControl()
Page
Page
implementation of this IPage
method returns
null
. Subclasses must reimplement.getControl
in interface IPage
getControl
in class Page
null
if this
page does not have a controlpublic void setFocus()
public void setMessage(String message)
message
- the message text
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.