TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.trace.ui
Class DefaultPage

java.lang.Object
  extended by org.eclipse.ui.part.Page
      extended by org.eclipse.hyades.trace.ui.DefaultPage
All Implemented Interfaces:
org.eclipse.ui.part.IPage, org.eclipse.ui.part.IPageBookViewPage

public class DefaultPage
extends org.eclipse.ui.part.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

Constructor Summary
DefaultPage()
          A default page for view with no data to present.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 org.eclipse.swt.widgets.Control getControl()
           
 void setBackground(org.eclipse.swt.graphics.Color color)
          Sets the background color of the page.
 void setFocus()
          Sets focus to a part in the page.
 void setMessage(java.lang.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPage

public DefaultPage()
A default page for view with no data to present.

Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.ui.part.IPage
Specified by:
createControl in class org.eclipse.ui.part.Page
See Also:
IPage.createControl(org.eclipse.swt.widgets.Composite)

getControl

public org.eclipse.swt.widgets.Control getControl()
Specified by:
getControl in interface org.eclipse.ui.part.IPage
Specified by:
getControl in class org.eclipse.ui.part.Page
See Also:
IPage.getControl()

setFocus

public void setFocus()
Sets focus to a part in the page.

Specified by:
setFocus in interface org.eclipse.ui.part.IPage
Specified by:
setFocus in class org.eclipse.ui.part.Page

setMessage

public void setMessage(java.lang.String message)
Sets the message to the given string.

Parameters:
message - the message text

setBackground

public void setBackground(org.eclipse.swt.graphics.Color color)
Sets the background color of the page.

Parameters:
color - the background color

TPTP 4.6.0 Platform Project
Public API Specification