metricsOverlay.preferences
Class ColorListEditor

java.lang.Object
  extended by org.eclipse.jface.preference.FieldEditor
      extended by org.eclipse.jface.preference.ListEditor
          extended by metricsOverlay.preferences.ColorListEditor

public class ColorListEditor
extends org.eclipse.jface.preference.ListEditor


Field Summary
static java.lang.String COLOR_CHOICE
           
 
Fields inherited from class org.eclipse.jface.preference.FieldEditor
IS_VALID, VALUE
 
Constructor Summary
ColorListEditor(java.lang.String name, java.lang.String labelText, org.eclipse.swt.widgets.Composite parent)
           
 
Method Summary
 java.lang.String createCurrentList(java.util.List<org.eclipse.swt.graphics.Color> colors)
           
 org.eclipse.swt.widgets.Composite getButtonBoxControl(org.eclipse.swt.widgets.Composite parent)
           
 java.util.List<org.eclipse.swt.graphics.Color> getColors()
           
 void selectItem()
           
 
Methods inherited from class org.eclipse.jface.preference.ListEditor
createSelectionListener, getListControl, getNumberOfControls, setEnabled, setFocus
 
Methods inherited from class org.eclipse.jface.preference.FieldEditor
dispose, fillIntoGrid, getFieldEditorFontName, getLabelControl, getLabelText, getPreferenceName, getPreferenceStore, isValid, load, loadDefault, presentsDefaultValue, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPropertyChangeListener, store
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLOR_CHOICE

public static final java.lang.String COLOR_CHOICE
See Also:
Constant Field Values
Constructor Detail

ColorListEditor

public ColorListEditor(java.lang.String name,
                       java.lang.String labelText,
                       org.eclipse.swt.widgets.Composite parent)
Method Detail

getButtonBoxControl

public org.eclipse.swt.widgets.Composite getButtonBoxControl(org.eclipse.swt.widgets.Composite parent)
Overrides:
getButtonBoxControl in class org.eclipse.jface.preference.ListEditor

createCurrentList

public java.lang.String createCurrentList(java.util.List<org.eclipse.swt.graphics.Color> colors)

selectItem

public void selectItem()

getColors

public java.util.List<org.eclipse.swt.graphics.Color> getColors()