Method Summary |
|
final protected void | assertCompositeNotNull(Composite comp) |
final protected void | assertEnoughColumns(int nColumns) |
public static Control | createEmptySpace(Composite parent) Creates a spacer control. |
public static Control | createEmptySpace(Composite parent, int span) Creates a spacer control with the given span. |
public void | dialogFieldChanged() Programatical invocation of a dialog field change. |
public Control[] | doFillIntoGrid(Composite parent, int nColumns) Creates all controls of the dialog field and fills it to a composite. |
public Label | getLabelControl(Composite parent) Creates or returns the created label widget. |
public int | getNumberOfControls() Returns the number of columns of the dialog field. |
protected static GridData | gridDataForLabel(int span) |
final public boolean | isEnabled() Gets the enable state of the dialog field. |
final protected boolean | isOkToUse(Control control) Tests is the control is not null and not disposed. |
public void | postSetFocusOnDialogField(Display display) Posts setFocus to the display event queue. |
public void | refresh() Brings the UI in sync with the model. |
final public void | setDialogFieldListener(IDialogFieldListener listener) Defines the listener for this dialog field. |
final public void | setEnabled(boolean enabled) Sets the enable state of the dialog field. |
public boolean | setFocus() Tries to set the focus to the dialog field. |
public void | setLabelText(String labeltext) Sets the label of the dialog field. |
protected void | updateEnableState() Called when the enable state changed. |