|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.debug.internal.ui.dialogfields.DialogField
org.eclipse.cdt.debug.internal.ui.dialogfields.StringDialogField
org.eclipse.cdt.debug.internal.ui.dialogfields.StringButtonDialogField
org.eclipse.cdt.debug.internal.ui.dialogfields.StringButtonStatusDialogField
public class StringButtonStatusDialogField
Dialog field containing a label, text control, status label and a button control. The status label can be either a image or text label, and can be usd to give additional information about the current element chosen.
Constructor Summary | |
---|---|
StringButtonStatusDialogField(IStringButtonAdapter adapter)
|
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. |
int |
getNumberOfControls()
Returns the number of columns of the dialog field. |
org.eclipse.swt.widgets.Label |
getStatusLabelControl(org.eclipse.swt.widgets.Composite parent)
Creates or returns the created status label widget. |
void |
setStatus(org.eclipse.swt.graphics.Image image)
Sets the status image. |
void |
setStatus(java.lang.String status)
Sets the status string. |
void |
setStatusWidthHint(int widthHint)
Sets the width hint of the status label. |
void |
setStatusWidthHint(java.lang.String widthHintString)
Sets the staus string hint of the status label. |
Methods inherited from class org.eclipse.cdt.debug.internal.ui.dialogfields.StringButtonDialogField |
---|
changeControlPressed, enableButton, getChangeControl, setButtonLabel |
Methods inherited from class org.eclipse.cdt.debug.internal.ui.dialogfields.StringDialogField |
---|
getText, getTextControl, setFocus, setText, setTextWithoutUpdate |
Methods inherited from class org.eclipse.cdt.debug.internal.ui.dialogfields.DialogField |
---|
createEmptySpace, createEmptySpace, dialogFieldChanged, getLabelControl, isEnabled, postSetFocusOnDialogField, setDialogFieldListener, setEnabled, setLabelText |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringButtonStatusDialogField(IStringButtonAdapter adapter)
Method Detail |
---|
public void setStatus(java.lang.String status)
public void setStatus(org.eclipse.swt.graphics.Image image)
public void setStatusWidthHint(java.lang.String widthHintString)
public void setStatusWidthHint(int widthHint)
public org.eclipse.swt.widgets.Control[] doFillIntoGrid(org.eclipse.swt.widgets.Composite parent, int nColumns)
DialogField
MGridLayout
as
layout.
The dialog field will adjust its controls' spans to the number of columns given.
To be reimplemented by dialog field implementors.
doFillIntoGrid
in class StringButtonDialogField
public int getNumberOfControls()
DialogField
getNumberOfControls
in class StringButtonDialogField
public org.eclipse.swt.widgets.Label getStatusLabelControl(org.eclipse.swt.widgets.Composite parent)
parent
- The parent composite or null
when the widget has
already been created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |