Eclipse Platform
2.0

org.eclipse.ui.texteditor
Class InfoForm

java.lang.Object
  |
  +--org.eclipse.ui.texteditor.InfoForm

public class InfoForm
extends Object

A form consisting of a title, a banner, and a info text. Banner and info text are separated by a separator line. This form must be handled like a SWT widget.

Since:
2.0

Constructor Summary
InfoForm(Composite parent)
          Creates a new info form.
 
Method Summary
protected  void createActionControls(Composite parent)
          Hook method for creating an appropriate action control.
 Control getControl()
          Returns the control of this form.
protected  void handlePropertyChange(PropertyChangeEvent event)
           
 void setBannerText(String banner)
          Sets the banner text of this info form.
 void setHeaderText(String header)
          Sets the header text of this info form.
 void setInfo(String info)
          Sets the info of this info form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoForm

public InfoForm(Composite parent)
Creates a new info form.

Parameters:
parent - the parent
Method Detail

createActionControls

protected void createActionControls(Composite parent)
Hook method for creating an appropriate action control.

Parameters:
parent - the action control's parent control

getControl

public Control getControl()
Returns the control of this form.

Returns:
the root control of this form

setHeaderText

public void setHeaderText(String header)
Sets the header text of this info form.

Parameters:
header - the header text

setBannerText

public void setBannerText(String banner)
Sets the banner text of this info form.

Parameters:
banner - the banner text

setInfo

public void setInfo(String info)
Sets the info of this info form

Parameters:
info - the info text

handlePropertyChange

protected void handlePropertyChange(PropertyChangeEvent event)

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.