LAYOUT_COLUMNS, mBrowse, mField, mLabel, mListener, mProperty| Constructor and Description |
|---|
AbstractConfigRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pBrowseText,
java.lang.Object pSelection)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addListener(IConfigListener pConfigListener)
Add the configuration listener to the correct configuration container.
|
protected abstract AbstractTable |
createTable(org.eclipse.swt.widgets.Composite pParent)
Create the table to show the configuration elements in the dialog.
|
void |
dispose()
Dispose the row.
|
protected abstract java.lang.String[] |
getConfigValues() |
protected abstract java.lang.String |
getElementName(java.lang.Object pElement)
Computes the name to use to select the given object.
|
protected abstract java.lang.String |
getRowLabel() |
protected abstract java.lang.String |
getTableDialogTitle() |
protected abstract void |
removeListener(IConfigListener pConfigListener)
Remove the configuration listener from the correct configuration container.
|
protected abstract void |
savePreferences()
Save the configuration element preferences.
|
add, add, add, add, addAll, getItem, getItemCount, getValue, getValue, remove, remove, remove, removeAll, select, select, setBrowseSelectionListeneraddBrowseSelectionListener, createContent, fillRow, fireFieldChangedEvent, getLabel, getProperty, removeFieldChangedlistener, setEnabled, setFieldChangedListener, setLabel, setTooltip, setVisiblepublic AbstractConfigRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pBrowseText,
java.lang.Object pSelection)
pParent - the composite where to create the rowpProperty - the property for the row eventspBrowseText - the text for the browse button/linkpSelection - the configuration element to select firstpublic void dispose()
protected abstract void addListener(IConfigListener pConfigListener)
pConfigListener - the listener to addprotected abstract void removeListener(IConfigListener pConfigListener)
pConfigListener - the listener to removeprotected abstract java.lang.String getRowLabel()
protected abstract java.lang.String[] getConfigValues()
protected abstract java.lang.String getElementName(java.lang.Object pElement)
pElement - the configuration object for which to get the nameprotected abstract java.lang.String getTableDialogTitle()
protected abstract AbstractTable createTable(org.eclipse.swt.widgets.Composite pParent)
pParent - the parent for the table.protected abstract void savePreferences()