|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.viewers.CellEditor
org.eclipse.datatools.sqltools.sqlbuilder.views.EditComboBoxCellEditor
public abstract class EditComboBoxCellEditor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
org.eclipse.jface.viewers.CellEditor.LayoutData |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO |
| Constructor Summary | |
|---|---|
EditComboBoxCellEditor(org.eclipse.swt.widgets.Composite parent,
boolean addItems)
|
|
EditComboBoxCellEditor(org.eclipse.swt.widgets.Composite parent,
LabelValuePair[] items,
boolean addItems)
Creates a new combo box cell editor with the given choices. |
|
| Method Summary | |
|---|---|
void |
activate()
|
java.lang.String |
appendQuotes(java.lang.String value)
Appends Single quotes to the string passed |
void |
createItems(LabelValuePair[] items)
|
void |
deactivate()
|
void |
forwardFocusLost()
Forwards a focus-lost event from the combo focus listener to this class. |
LabelValuePair[] |
getComboBoxItems()
|
boolean |
getNeedQuotes()
Returns boolean NeedQuotes to indicate if value entered in this combo should be single quoted |
int |
getPairDataType()
Returns the DataType of PairSource. |
java.lang.String |
getQuotesContext()
Returns the context for the values entered in this combo |
void |
setNeedQuotes(boolean value)
Sets boolean NeedQuotes to indicate if value entered in this combo should be single quoted |
void |
setPairDataType(DataType dtype)
Sets the DataType of PairSource. |
void |
setPairDataType(int dtype)
Sets the DataType of PairSource. |
void |
setQuotesContext(java.lang.String quotesContext)
Sets context for the values entered in this combo |
| Methods inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
activate, addListener, addPropertyChangeListener, create, dispose, getControl, getErrorMessage, getLayoutData, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setFocus, setStyle, setValidator, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditComboBoxCellEditor(org.eclipse.swt.widgets.Composite parent,
boolean addItems)
public EditComboBoxCellEditor(org.eclipse.swt.widgets.Composite parent,
LabelValuePair[] items,
boolean addItems)
| Method Detail |
|---|
public void createItems(LabelValuePair[] items)
public LabelValuePair[] getComboBoxItems()
public void deactivate()
deactivate in class org.eclipse.jface.viewers.CellEditorpublic void activate()
activate in class org.eclipse.jface.viewers.CellEditorpublic void forwardFocusLost()
public java.lang.String getQuotesContext()
public void setQuotesContext(java.lang.String quotesContext)
quotesContext - The quotesContext to set.public void setNeedQuotes(boolean value)
public boolean getNeedQuotes()
public void setPairDataType(int dtype)
public void setPairDataType(DataType dtype)
public int getPairDataType()
public java.lang.String appendQuotes(java.lang.String value)
String - value which needs to be single quoted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||