|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.part.Page | +--org.eclipse.ui.part.MessagePage
A message page display a message in a pagebook view.
This class may be instantiated; it is not intended to be subclassed.
PageBookView
Constructor Summary | |
MessagePage()
Creates a new page. |
Method Summary | |
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. |
Methods inherited from class org.eclipse.ui.part.Page |
dispose, getSite, init, makeContributions, setActionBars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessagePage()
Method Detail |
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()
setFocus
in interface IPage
setFocus
in class Page
public void setMessage(String message)
message
- the message text
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |