|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openoffice.ide.eclipse.core.gui.rows.LabeledRow
org.openoffice.ide.eclipse.core.gui.rows.DialogRow
public class DialogRow
Row class with a text and a configurable button to open a dialog.
Field Summary |
---|
Fields inherited from class org.openoffice.ide.eclipse.core.gui.rows.LabeledRow |
---|
LAYOUT_COLUMNS, mBrowse, mField, mLabel, mListener, mProperty |
Constructor Summary | |
---|---|
DialogRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pLabel)
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)
Constructor for the Dialog row creation allowing to change the button text. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.openoffice.ide.eclipse.core.gui.rows.LabeledRow |
---|
createContent, fillRow, fireFieldChangedEvent, getLabel, getProperty, removeFieldChangedlistener, setEnabled, setFieldChangedListener, setLabel, setTooltip, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialogRow(org.eclipse.swt.widgets.Composite pParent, java.lang.String pProperty, java.lang.String pLabel)
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 rowpublic DialogRow(org.eclipse.swt.widgets.Composite pParent, java.lang.String pProperty, java.lang.String pLabel, java.lang.String pBtnLabel)
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 dialogMethod Detail |
---|
public java.lang.String doOpenDialog()
public java.lang.String getValue()
getValue
in class LabeledRow
public void modifyText(org.eclipse.swt.events.ModifyEvent pEvent)
modifyText
in interface org.eclipse.swt.events.ModifyListener
public void setValue(java.lang.String pValue)
pValue
- the new value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |