public class DialogRow extends LabeledRow implements org.eclipse.swt.events.ModifyListener
LAYOUT_COLUMNS, mBrowse, mField, mLabel, mListener, mProperty| Constructor and Description |
|---|
DialogRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pLabel,
boolean pLink)
Simple constructor for the Dialog row creation.
|
DialogRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pLabel,
java.lang.String pBtnLabel,
boolean pLink)
Constructor for the Dialog row creation allowing to change the button text.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
doOpenDialog()
Open the dialog when clicking on the right button.
|
java.lang.String |
getValue()
Get or calculate the value of this property.
|
void |
modifyText(org.eclipse.swt.events.ModifyEvent pEvent) |
void |
setValue(java.lang.String pValue)
Set a new value to the row.
|
addBrowseSelectionListener, createContent, fillRow, fireFieldChangedEvent, getLabel, getProperty, removeFieldChangedlistener, setEnabled, setFieldChangedListener, setLabel, setTooltip, setVisiblepublic DialogRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pLabel,
boolean pLink)
pParent - the composite in which to create the rowpProperty - the property to recognize an event from this rowpLabel - the label on the left of the rowpLink - tells whether to create a browse link or buttonpublic DialogRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pLabel,
java.lang.String pBtnLabel,
boolean pLink)
pParent - the composite in which to create the rowpProperty - the property to recognize an event from this rowpLabel - the label on the left of the rowpBtnLabel - the label of the button opening the dialogpLink - tells whether to create a browse link or buttonpublic java.lang.String doOpenDialog()
public java.lang.String getValue()
getValue in class LabeledRowpublic void modifyText(org.eclipse.swt.events.ModifyEvent pEvent)
modifyText in interface org.eclipse.swt.events.ModifyListenerpublic void setValue(java.lang.String pValue)
pValue - the new value