Class TotalsControlsPointsEditingSupport
- java.lang.Object
-
- org.eclipse.jface.viewers.EditingSupport
-
- com._1c.g5.v8.dt.qw.ui.editingsupport.TotalsControlsPointsEditingSupport
-
public class TotalsControlsPointsEditingSupport extends EditingSupport
Editing support for totals controls points
-
-
Field Summary
Fields Modifier and Type Field Description static int
COLUMN_ADDITION
static int
COLUMN_ALIAS
static int
COLUMN_FIELD
static int
COLUMN_PERIOD_BEGIN
static int
COLUMN_PERIOD_END
static int
COLUMN_TOTALS_TYPE
-
Constructor Summary
Constructors Constructor Description TotalsControlsPointsEditingSupport(TreeViewer viewer, QueryWizardControl queryWizard, int columnIndex)
-
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)
protected Object
getValue(Object element)
static boolean
isDateType(QueryWizardSource source, QuerySchemaExpression expression)
Is field have type dateprotected void
setValue(Object element, Object value)
-
Methods inherited from class org.eclipse.jface.viewers.EditingSupport
getViewer, initializeCellEditorValue, saveCellEditorValue
-
-
-
-
Field Detail
-
COLUMN_FIELD
public static final int COLUMN_FIELD
- See Also:
- Constant Field Values
-
COLUMN_TOTALS_TYPE
public static final int COLUMN_TOTALS_TYPE
- See Also:
- Constant Field Values
-
COLUMN_ALIAS
public static final int COLUMN_ALIAS
- See Also:
- Constant Field Values
-
COLUMN_ADDITION
public static final int COLUMN_ADDITION
- See Also:
- Constant Field Values
-
COLUMN_PERIOD_BEGIN
public static final int COLUMN_PERIOD_BEGIN
- See Also:
- Constant Field Values
-
COLUMN_PERIOD_END
public static final int COLUMN_PERIOD_END
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TotalsControlsPointsEditingSupport
public TotalsControlsPointsEditingSupport(TreeViewer viewer, QueryWizardControl queryWizard, int columnIndex)
- Parameters:
viewer
- - tree viewerqueryWizard
- - query wizard controlcolumnIndex
- - column index for editing support
-
-
Method Detail
-
isDateType
public static boolean isDateType(QueryWizardSource source, QuerySchemaExpression expression)
Is field have type date- Parameters:
source
- - query wizard sourceexpression
- - field- Returns:
- is date type
-
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 value)
- Specified by:
setValue
in classEditingSupport
-
-