Eclipse PDE
Release 3.3

org.eclipse.pde.ui.templates
Class BlankField

java.lang.Object
  extended byorg.eclipse.pde.ui.templates.TemplateField
      extended byorg.eclipse.pde.ui.templates.TemplateOption
          extended byorg.eclipse.pde.ui.templates.BlankField

public class BlankField
extends TemplateOption

This template option can be used to create blank space on the template section wizard page.

Since:
3.2

Constructor Summary
BlankField(BaseOptionTemplateSection section)
          The default constructor.
BlankField(BaseOptionTemplateSection section, int height)
          Overloaded constructor to specify the height of the blank field.
 
Method Summary
 void createControl(Composite parent, int span)
          Creates a blank field using a label widget.
 
Methods inherited from class org.eclipse.pde.ui.templates.TemplateOption
getMessageLabel, getName, getValue, isEmpty, isEnabled, isRequired, setEnabled, setName, setRequired, setValue
 
Methods inherited from class org.eclipse.pde.ui.templates.TemplateField
createLabel, getLabel, getSection, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlankField

public BlankField(BaseOptionTemplateSection section)
The default constructor.

Parameters:
section - the parent section

BlankField

public BlankField(BaseOptionTemplateSection section,
                  int height)
Overloaded constructor to specify the height of the blank field.

Parameters:
section - the parent section
height - specifies the height of the blank field in pixels
Method Detail

createControl

public void createControl(Composite parent,
                          int span)
Creates a blank field using a label widget.

Specified by:
createControl in class TemplateField
Parameters:
parent - parent composite of the blank label
span - the number of columns that the widget should span

Eclipse PDE
Release 3.3

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