TeslaComboFieldEditor Class Reference

Inheritance diagram for TeslaComboFieldEditor:
Collaboration diagram for TeslaComboFieldEditor:

List of all members.

Detailed Description

A field editor for a combo box that allows the drop-down selection of one of a list of items.

Duplicated and slightly changed to work as it did in 3.2. I have no clue how the new one is supposed to be used, I guess we would have to do it all different, using IPreferenceStore for this. (fsteeg)


Public Methods

 TeslaComboFieldEditor (String name, String labelText, String[][] entryNamesAndValues, Composite parent)
int getNumberOfControls ()
Combo getComboBoxControl (Composite parent)
int getSelectionIndex ()

Protected Methods

void adjustForNumColumns (int numColumns)
void doFillIntoGrid (Composite parent, int numColumns)
void doLoad ()
void doLoadDefault ()
void doStore ()


TeslaComboFieldEditor ( String  name,
String  labelText,
String  entryNamesAndValues[][],
Composite  parent 

Create the combo box field editor.

namethe name of the preference this field editor works on
labelTextthe label text of the field editor
entryNamesAndValuesthe names (labels) and underlying values to populate the combo widget. These should be arranged as: { {name1, value1}, {name2, value2}, ...}
parentthe parent composite

Method Details

void adjustForNumColumns ( int  numColumns) [protected]
void doFillIntoGrid ( Composite  parent,
int  numColumns 
) [protected]
void doLoad ( ) [protected]
void doLoadDefault ( ) [protected]
void doStore ( ) [protected]
Combo getComboBoxControl ( Composite  parent)
int getNumberOfControls ( )
int getSelectionIndex ( )