|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.debug.mi.internal.ui.dialogfields.DialogField
org.eclipse.cdt.debug.mi.internal.ui.dialogfields.StringDialogField
org.eclipse.cdt.debug.mi.internal.ui.dialogfields.StringButtonDialogField
public class StringButtonDialogField
Dialog field containing a label, text control and a button control.
Constructor Summary | |
---|---|
StringButtonDialogField(IStringButtonAdapter adapter)
|
Method Summary | |
---|---|
void |
changeControlPressed()
Programmatical pressing of the button |
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. |
void |
enableButton(boolean enable)
Sets the enable state of the button. |
org.eclipse.swt.widgets.Button |
getChangeControl(org.eclipse.swt.widgets.Composite parent)
Creates or returns the created buttom widget. |
int |
getNumberOfControls()
Returns the number of columns of the dialog field. |
void |
setButtonLabel(java.lang.String label)
Sets the label of the button. |
Methods inherited from class org.eclipse.cdt.debug.mi.internal.ui.dialogfields.StringDialogField |
---|
getText, getTextControl, setFocus, setText, setTextWithoutUpdate |
Methods inherited from class org.eclipse.cdt.debug.mi.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 StringButtonDialogField(IStringButtonAdapter adapter)
Method Detail |
---|
public void setButtonLabel(java.lang.String label)
public void changeControlPressed()
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 StringDialogField
public int getNumberOfControls()
DialogField
getNumberOfControls
in class StringDialogField
public org.eclipse.swt.widgets.Button getChangeControl(org.eclipse.swt.widgets.Composite parent)
parent
- The parent composite or null
if the widget has
already been created.public void enableButton(boolean enable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |