Class ChoiceParametersEditingSupport
- java.lang.Object
-
- org.eclipse.jface.viewers.EditingSupport
-
- com._1c.g5.v8.dt.dcs.ui.valueeditors.choiceparameters.ChoiceParametersEditingSupport
-
public class ChoiceParametersEditingSupport extends EditingSupport
Choice parameters editing support
-
-
Constructor Summary
Constructors Constructor Description ChoiceParametersEditingSupport(ChoiceParametersViewer viewer, int columnIndex, IV8Project v8project, IBmEditingContext editingContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEdit(Object element)
protected CellEditor
getCellEditor(Object element)
static List<Field>
getChildrenFields(TypeDescriptionSource typeDescription, IV8Project v8project)
Get children fieldsstatic List<String>
getFieldNames(TypeDescriptionSource typeDescription, IV8Project v8project, String prefix)
Get children names of fieldprotected Object
getValue(Object element)
protected void
setValue(Object element, Object valueNew)
-
Methods inherited from class org.eclipse.jface.viewers.EditingSupport
getViewer, initializeCellEditorValue, saveCellEditorValue
-
-
-
-
Field Detail
-
FILTER_RU
public static final String FILTER_RU
- See Also:
- Constant Field Values
-
FILTER
public static final String FILTER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChoiceParametersEditingSupport
public ChoiceParametersEditingSupport(ChoiceParametersViewer viewer, int columnIndex, IV8Project v8project, IBmEditingContext editingContext)
- Parameters:
viewer
- - parent viewer, can't benull
columnIndex
- - column indexv8project
- the V8 project, cannot benull
editingContext
- the BM editing context, can't benull
-
-
Method Detail
-
getFieldNames
public static List<String> getFieldNames(TypeDescriptionSource typeDescription, IV8Project v8project, String prefix)
Get children names of field- Parameters:
typeDescription
- - field typev8project
- - project parametersprefix
- - prefix- Returns:
- fields names
-
getChildrenFields
public static List<Field> getChildrenFields(TypeDescriptionSource typeDescription, IV8Project v8project)
Get children fields- Parameters:
typeDescription
- - typev8project
- the V8 project, cannot benull
- Returns:
- children fields
-
getCellEditor
protected CellEditor getCellEditor(Object element)
- Specified by:
getCellEditor
in classEditingSupport
-
canEdit
protected boolean canEdit(Object element)
- Specified by:
canEdit
in classEditingSupport
-
getValue
protected Object getValue(Object element)
- Specified by:
getValue
in classEditingSupport
-
setValue
protected void setValue(Object element, Object valueNew)
- Specified by:
setValue
in classEditingSupport
-
-