The Robot Application Programming Interface Delegate Project
RAPID Logo

StringHistoryFieldEditor Class Reference

Inheritance diagram for StringHistoryFieldEditor:
Collaboration diagram for StringHistoryFieldEditor:

List of all members.

Public Member Functions

 StringHistoryFieldEditor (String name, String labelText, String[] values, Composite parent, boolean spacer)
 Construct one of these and populate the values of the dropdown.
 StringHistoryFieldEditor (String name, String labelText, String[] values, Composite parent)
 Construct one of these and populate the values of the dropdown.
 StringHistoryFieldEditor (String name, String labelText, Composite parent)
 Construct one of these.
int getNumberOfControls ()
void setEnabled (boolean enabled, Composite parent)

Static Public Attributes

static final String OTHER_VALUES = "_OTHER_VALUES"

Protected Member Functions

void adjustForNumColumns (int numColumns)
void doFillIntoGrid (Composite parent, int numColumns)
void doLoad ()
void initializeHistory ()
void addValue (String value)
 Add the new value to the history and the stored cache.
void storeHistory ()
 Store the history to the preference store.
void doLoadDefault ()
void doStore ()
CCombo getComboBoxControl (Composite parent)

Protected Attributes

CCombo m_combo
String m_value
List< String > m_entryValues = new ArrayList<String>()
boolean m_spacer = false

Constructor & Destructor Documentation

StringHistoryFieldEditor ( String  name,
String  labelText,
String[]  values,
Composite  parent,
boolean  spacer 
)
Parameters:
name
labelText
values
parent
spacer
StringHistoryFieldEditor ( String  name,
String  labelText,
String[]  values,
Composite  parent 
)
Parameters:
name
labelText
values
parent
StringHistoryFieldEditor ( String  name,
String  labelText,
Composite  parent 
)
Parameters:
name
labelText
parent

Member Function Documentation

void addValue ( String  value) [protected]
Parameters:
value

Here is the call graph for this function:

void adjustForNumColumns ( int  numColumns) [protected]
void doFillIntoGrid ( Composite  parent,
int  numColumns 
) [protected]

Here is the call graph for this function:

void doLoad ( ) [protected]

Here is the call graph for this function:

void doLoadDefault ( ) [protected]

Here is the call graph for this function:

void doStore ( ) [protected]

Here is the call graph for this function:

CCombo getComboBoxControl ( Composite  parent) [protected]
int getNumberOfControls ( )
void initializeHistory ( ) [protected]

Here is the call graph for this function:

void setEnabled ( boolean  enabled,
Composite  parent 
)

Here is the call graph for this function:

void storeHistory ( ) [protected]

Here is the call graph for this function:


Member Data Documentation

CCombo m_combo [protected]
List<String> m_entryValues = new ArrayList<String>() [protected]
boolean m_spacer = false [protected]
String m_value [protected]
final String OTHER_VALUES = "_OTHER_VALUES" [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines