Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.part
Class MessagePage

java.lang.Object
  extended by 

org.eclipse.ui.part.Page
      extended by 
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
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

MessagePage

public MessagePage()
Creates a new page. The message is the empty string.

Method Detail

createControl

public void createControl(
Composite parent)
Description copied from interface: IPage
Creates 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:
createControl in interface IPage
Specified by:
createControl in class Page
Parameters:
parent - the parent control

getControl

public 
Control getControl()
Description copied from class: Page
The Page implementation of this IPage method returns null. Subclasses must reimplement.

Specified by:
getControl in interface IPage
Specified by:
getControl in class Page
Returns:
the SWT control for this page, or null if this page does not have a control

setFocus

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

Specified by:
setFocus in interface IPage
Specified by:
setFocus in class Page

setMessage

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

Parameters:
message - the message text

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire