|
|||||||||
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.ChoiceRow
org.openoffice.ide.eclipse.core.gui.rows.AbstractConfigRow
public abstract class AbstractConfigRow
Row for the selection of a configuration element.
Field Summary |
---|
Fields inherited from class org.openoffice.ide.eclipse.core.gui.rows.LabeledRow |
---|
LAYOUT_COLUMNS, mBrowse, mField, mLabel, mListener, mProperty |
Constructor Summary | |
---|---|
AbstractConfigRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.Object pSelection)
Constructor. |
Method Summary | |
---|---|
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 |
getRowLabel()
|
protected abstract java.lang.String |
getSelectionName(java.lang.Object pToSelect)
Computes the name to use to select the given object. |
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. |
Methods inherited from class org.openoffice.ide.eclipse.core.gui.rows.ChoiceRow |
---|
add, add, add, add, addAll, getItem, getItemCount, getValue, getValue, remove, remove, remove, removeAll, select, select, setBrowseSelectionListener |
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 AbstractConfigRow(org.eclipse.swt.widgets.Composite pParent, java.lang.String pProperty, java.lang.Object pSelection)
pParent
- the composite where to create the rowpProperty
- the property for the row eventspSelection
- the configuration element to select firstMethod Detail |
---|
public 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 getSelectionName(java.lang.Object pToSelect)
pToSelect
- the configuration object to select
protected 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |