Class CollectionParametersCellEditor
- java.lang.Object
-
- org.eclipse.jface.viewers.CellEditor
-
- com._1c.g5.v8.dt.common.ui.widgets.tableex.TableExCellEditor
-
- com._1c.g5.v8.dt.dcs.ui.collectionparameters.CollectionParametersCellEditor
-
public class CollectionParametersCellEditor extends TableExCellEditor
Редактор ячейки коллекции параметров
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor
CellEditor.LayoutData
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.viewers.CellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
-
-
Constructor Summary
Constructors Constructor Description CollectionParametersCellEditor(org.eclipse.swt.widgets.Shell shell, org.eclipse.swt.widgets.Composite parent, String title, CollectionParametersData parametersData, boolean editable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillButtons(org.eclipse.swt.widgets.Composite parent, List<org.eclipse.swt.widgets.Button> buttons)
Создать кнопкиprotected boolean
isValueValid(Object value)
Проверить отредактированное значение на корректностьprotected Object
onButton(Object value, int buttonIndex)
Обработать нажатие кнопки и получить измененное значениеprotected Object
stringToValue(Object value, String str)
Смержить значение с его изменным представлениемprotected String
valueToString(Object value)
Получить строковое представление значения-
Methods inherited from class com._1c.g5.v8.dt.common.ui.widgets.tableex.TableExCellEditor
activate, createControl, deactivate, dispose, doGetValue, doSetFocus, doSetValue, keyReleaseOccured
-
Methods inherited from class org.eclipse.jface.viewers.CellEditor
activate, addListener, addPropertyChangeListener, create, deactivate, dependsOnExternalFocusListener, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getLayoutData, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, markDirty, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged
-
-
-
-
Constructor Detail
-
CollectionParametersCellEditor
public CollectionParametersCellEditor(org.eclipse.swt.widgets.Shell shell, org.eclipse.swt.widgets.Composite parent, String title, CollectionParametersData parametersData, boolean editable)
- Parameters:
shell
-parent
- родительtitle
- заголовок для диалогаparametersData
- данныеeditable
- the editable state,true
if this editor is editable,false
otherwise
-
-
Method Detail
-
fillButtons
protected void fillButtons(org.eclipse.swt.widgets.Composite parent, List<org.eclipse.swt.widgets.Button> buttons)
Description copied from class:TableExCellEditor
Создать кнопки- Specified by:
fillButtons
in classTableExCellEditor
- Parameters:
parent
- родительский контролbuttons
- список кнопок
-
onButton
protected Object onButton(Object value, int buttonIndex)
Description copied from class:TableExCellEditor
Обработать нажатие кнопки и получить измененное значение- Specified by:
onButton
in classTableExCellEditor
- Parameters:
value
- значениеbuttonIndex
- индекс кнопки- Returns:
- измененное значение
-
valueToString
protected String valueToString(Object value)
Description copied from class:TableExCellEditor
Получить строковое представление значения- Specified by:
valueToString
in classTableExCellEditor
- Parameters:
value
- значение- Returns:
- представление
-
stringToValue
protected Object stringToValue(Object value, String str)
Description copied from class:TableExCellEditor
Смержить значение с его изменным представлением- Specified by:
stringToValue
in classTableExCellEditor
- Parameters:
value
- значениеstr
- представление- Returns:
- измененное значение
-
isValueValid
protected boolean isValueValid(Object value)
Description copied from class:TableExCellEditor
Проверить отредактированное значение на корректность- Specified by:
isValueValid
in classTableExCellEditor
- Parameters:
value
- отредактированное значение- Returns:
- значение корректно
-
-