Interface IEditableColumn<T,V,R extends IEditableColumn<T,V,R>>
- All Superinterfaces:
IColumn<T,V, R>
- All Known Subinterfaces:
IEMFColumn<T,V, R>
- All Known Implementing Classes:
EditableColumn,EmfColumn,TableColumn,TableViewerColumnDescriptor,TreeColumn,TreeViewerColumnDescriptor,ViewerColumnDescriptor
Column interface for editing data. Provides a set of methods for editing data
- Author:
- Ionov Ivan
-
Method Summary
Modifier and TypeMethodDescriptionReturns a builder object that can be used to install auto complete combobox-based editing onto a column.Returns a builder object that can be used to install auto complete text-based editing onto a column.Returns a builder object that can be used to install button action editing onto a column.Returns a builder object that can be used to install button on top cell onto a column.Returns a builder object that can be used to install checkbox-based editing onto a column.Returns a builder object that can be used to install color editing onto a column.Returns a builder object that can be used to install combobox-based editing onto a column.Returns a builder object that can be used to install dynamic auto complete combobox-based editing onto a column.Returns a builder object that can be used to install enum combobox-based editing onto a column.org.eclipse.jface.viewers.EditingSupportReturn the current EditingSupportReturns a builder object that can be used to install LocalDateTime editing onto a column.Returns a builder object that can be used to install LocalTime editing onto a column.Returns a builder object that can be used to install multi objects selection dialog editing onto a column.Returns a builder object that can be used to install object selection dialog editing onto a column.setEditingSupport(org.eclipse.jface.viewers.EditingSupport editingSupport) Set the EditingSupportReturns a builder object that can be used to install text-based editing onto a column.Methods inherited from interface com.amalgamasimulation.desktop.ui.columndescriptors.IColumn
addContextMenuHandler, backgroundColor, backgroundColor, backgroundColor, comparator, font, font, font, fontColor, fontColor, fontColor, format, format, format, getActualWidth, getBackgroundColor, getColumnIndex, getColumnViewer, getComparator, getContextMenuHandlers, getDoubleClickHandler, getFont, getFontColor, getFormat, getIcon, getName, getNullValueText, getParent, getPseudoHistogramColor, getToolTipText, getValueExtractor, getViewerColumn, getVisibleColumnIndex, getWidth, headerIcon, icon, icon, icon, invalidateEditors, isVisible, moveable, name, nullValueText, pseudoHistogramColor, pseudoHistogramColor, pseudoHistogramColor, removeContextMenuHandler, removeDoubleClickHandler, setDoubleClickHandler, setViewerColumn, tooltip, visible, width
-
Method Details
-
setEditingSupport
Set the EditingSupport- Returns:
- this column
-
getEditingSupport
org.eclipse.jface.viewers.EditingSupport getEditingSupport()Return the current EditingSupport- Returns:
- EditingSupport
-
autoCompleteComboEditor
ComboEditingSupport.ElementsBuilder<T,V, autoCompleteComboEditor()R> Returns a builder object that can be used to install auto complete combobox-based editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
autoCompleteTextEditor
AutoCompleteTextEditingSupport.ElementsBuilder<T,V, autoCompleteTextEditor()R> Returns a builder object that can be used to install auto complete text-based editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
comboEditor
ComboEditingSupport.ElementsBuilder<T,V, comboEditor()R> Returns a builder object that can be used to install combobox-based editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
checkBoxEditor
CheckBoxEditingSupport.ButtonListenerBuilder<T,V, checkBoxEditor()R> Returns a builder object that can be used to install checkbox-based editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
dynamicAutoCompleteComboEditor
ComboEditingSupport.ElementsBuilder<T,V, dynamicAutoCompleteComboEditor()R> Returns a builder object that can be used to install dynamic auto complete combobox-based editing onto a column.
If the number of values in the combo box exceeds a certain specified value, the combo box will be hidden and text will be shown instead. The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
enumComboEditor
EnumComboEditingSupport.ElementsBuilder<T,V, enumComboEditor()R> Returns a builder object that can be used to install enum combobox-based editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
textEditor
TextEditingSupport.StrategyBuilder<T,V, textEditor()R> Returns a builder object that can be used to install text-based editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
buttonActionEditor
ButtonEditingSupport.ButtonListenerBuilder<T,V, buttonActionEditor()R> Returns a builder object that can be used to install button action editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
objectSelectionDialogEditor
ObjectSelectionDialogEditingSupport.ElementsBuilder<T,V, objectSelectionDialogEditor()R> Returns a builder object that can be used to install object selection dialog editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
multiObjectsSelectionDialogEditor
<W> MultiObjectsSelectionDialogEditingSupport.ElementsBuilder<T,V, multiObjectsSelectionDialogEditor()W, R> Returns a builder object that can be used to install multi objects selection dialog editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
colorEditor
ColorEditingSupport.ButtonListenerBuilder<T,V, colorEditor()R> Returns a builder object that can be used to install color editing onto a column.
By default, the label in this cell will always be an empty string. Also, by default, the color value in this cell will be set to the background. The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
localDateTimeEditor
LocalDateTimeEditingSupport.ActionAfterPressOkBuilder<T,V, localDateTimeEditor()R> Returns a builder object that can be used to install LocalDateTime editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
localTimeEditor
LocalTimeEditingSupport.ActionAfterPressOkBuilder<T,V, localTimeEditor()R> Returns a builder object that can be used to install LocalTime editing onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-
buttonOnTop
ButtonOnTopBuilder.ButtonListenerBuilder<T,V, buttonOnTop()R> Returns a builder object that can be used to install button on top cell onto a column.
The returned object is a builder. Call its methods to tune field editing settings. In the end, call the builder's 'build()' method.- Returns:
- a builder object
-