com.ibm.commons.swt.data.editors
Class ComboLookupEditor

java.lang.Object
  extended by com.ibm.commons.swt.data.editors.api.PropertyEditor
      extended by com.ibm.commons.swt.data.editors.api.AbstractComboEditor
          extended by com.ibm.commons.swt.data.editors.ComboLookupEditor
All Implemented Interfaces:
IPropertyEditor

public class ComboLookupEditor
extends AbstractComboEditor

A combo box editor whose values are determined by a lookup.


Constructor Summary
ComboLookupEditor(ILookup lookup, boolean editable)
          Constructs a new instance of the class given the lookup (values) and whether or not the combo box is editable.
 
Method Summary
 boolean isEditable()
          Returns whether or not the current combo box is editable.
 
Methods inherited from class com.ibm.commons.swt.data.editors.api.AbstractComboEditor
comboAdd, comboDeselectAll, comboGetItem, comboGetItemCount, comboGetSelectionIndex, comboGetText, comboRemove, comboRemoveAll, comboSelect, comboSetText, createControl, fillCombo, getDefaultValue, getFirstLineTitle, getListActions, getLookup, getRenderedValue, initControlValue, isFirstBlankLine, isImmediateUpdate, setComboValue, setDefaultValue, setFirstBlankLine, setFirstLineTitle, setId, setListActions, setLookup, setLookup, stopEdit
 
Methods inherited from class com.ibm.commons.swt.data.editors.api.PropertyEditor
addPropertyEditorUpdateListener, addValidator, callDialog, getContextAttribute, getContextObject, getDefaultEditor, getDialogButtonAltText, getDialogButtonImage, getDialogButtonText, getEditor, getScriptMode, getTextValidator, getValidator, getWorkBenchPart, hasDialogButton, isScriptModeFixed, postModelUpdate, preModelUpdate, removePropertyEditorUpdateListener, setContextAttribute, setContextObject, setScriptMode, setValidator, setWorkBenchPart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComboLookupEditor

public ComboLookupEditor(ILookup lookup,
                         boolean editable)
Constructs a new instance of the class given the lookup (values) and whether or not the combo box is editable.

Parameters:
lookup -
editable -
See Also:
ILookup
Method Detail

isEditable

public boolean isEditable()
Returns whether or not the current combo box is editable.

Overrides:
isEditable in class AbstractComboEditor