Package org.eclipse.ui.part
Class MessagePage
- java.lang.Object
-
- org.eclipse.ui.part.Page
-
- org.eclipse.ui.part.MessagePage
-
- All Implemented Interfaces:
IPage,IPageBookViewPage
public class MessagePage extends Page
A message page display a message in a pagebook view.This class may be instantiated; it is not intended to be subclassed.
- See Also:
PageBookView- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description MessagePage()Creates a new page.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateControl(Composite parent)Creates the SWT control for this page under the given parent control.ControlgetControl()ThePageimplementation of thisIPagemethod returnsnull.voidsetFocus()Sets focus to a part in the page.voidsetMessage(String message)Sets the message to the given string.-
Methods inherited from class org.eclipse.ui.part.Page
dispose, getSite, init, makeContributions, setActionBars
-
-
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
Description copied from interface:IPageCreates the SWT control for this page under the given parent control.Clients should not call this method (the workbench calls this method when it needs to, which may be never).
- Specified by:
createControlin interfaceIPage- Specified by:
createControlin classPage- Parameters:
parent- the parent control
-
getControl
public Control getControl()
Description copied from class:PageThePageimplementation of thisIPagemethod returnsnull. Subclasses must reimplement.- Specified by:
getControlin interfaceIPage- Specified by:
getControlin classPage- Returns:
- the SWT control for this page, or
nullif this page does not have a control
-
setFocus
public void setFocus()
Sets focus to a part in the page.
-
setMessage
public void setMessage(String message)
Sets the message to the given string.- Parameters:
message- the message text
-
-