org.eclipse.cdt.debug.internal.ui.dialogfields
Class Separator

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.ui.dialogfields.DialogField
      extended by org.eclipse.cdt.debug.internal.ui.dialogfields.Separator

public class Separator
extends DialogField

Dialog field describing a separator.


Constructor Summary
Separator()
           
Separator(int style)
           
 
Method Summary
 org.eclipse.swt.widgets.Control[] doFillIntoGrid(org.eclipse.swt.widgets.Composite parent, int nColumns)
          Creates all controls of the dialog field and fills it to a composite.
 org.eclipse.swt.widgets.Control[] doFillIntoGrid(org.eclipse.swt.widgets.Composite parent, int nColumns, int height)
          Creates the separator and fills it in a MGridLayout.
 int getNumberOfControls()
          Returns the number of columns of the dialog field.
 org.eclipse.swt.widgets.Control getSeparator(org.eclipse.swt.widgets.Composite parent)
          Creates or returns the created separator.
 
Methods inherited from class org.eclipse.cdt.debug.internal.ui.dialogfields.DialogField
createEmptySpace, createEmptySpace, dialogFieldChanged, getLabelControl, isEnabled, postSetFocusOnDialogField, setDialogFieldListener, setEnabled, setFocus, setLabelText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Separator

public Separator()

Separator

public Separator(int style)
Parameters:
style - of the separator. See Label for possible styles.
Method Detail

doFillIntoGrid

public org.eclipse.swt.widgets.Control[] doFillIntoGrid(org.eclipse.swt.widgets.Composite parent,
                                                        int nColumns,
                                                        int height)
Creates the separator and fills it in a MGridLayout.

Parameters:
height - The heigth of the separator

doFillIntoGrid

public org.eclipse.swt.widgets.Control[] doFillIntoGrid(org.eclipse.swt.widgets.Composite parent,
                                                        int nColumns)
Description copied from class: DialogField
Creates all controls of the dialog field and fills it to a composite. The composite is assumed to have MGridLayout as layout. The dialog field will adjust its controls' spans to the number of columns given. To be reimplemented by dialog field implementors.

Overrides:
doFillIntoGrid in class DialogField

getNumberOfControls

public int getNumberOfControls()
Description copied from class: DialogField
Returns the number of columns of the dialog field. To be reimplemented by dialog field implementors.

Overrides:
getNumberOfControls in class DialogField

getSeparator

public org.eclipse.swt.widgets.Control getSeparator(org.eclipse.swt.widgets.Composite parent)
Creates or returns the created separator.

Parameters:
parent - The parent composite or null if the widget has already been created.