Package com._1c.g5.v8.dt.qw.ui.controls
Class QueryWizardCellEditor
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.controls.QueryWizardCellEditor
-
public class QueryWizardCellEditor extends Object
Cell editors factory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryWizardCellEditor.ButtonType
Cell editor buttons typesstatic class
QueryWizardCellEditor.EditorType
Cell editor types
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.widgets.Button
addButton(QueryWizardCellEditor.ButtonType buttonType)
Add buttonorg.eclipse.swt.widgets.Button
addButton(QueryWizardCellEditor.ButtonType buttonType, org.eclipse.swt.events.SelectionAdapter selectionAdapter)
Add buttonstatic QueryWizardCellEditor
createCellEditor(org.eclipse.swt.widgets.Tree parent, QueryWizardCellEditor.EditorType editorType, int style, org.eclipse.jface.action.Action afterApplyValue)
Create cell editorCellEditor
getCellEditor()
Get cell editororg.eclipse.swt.widgets.Control
getEditor()
Get editor
-
-
-
Method Detail
-
createCellEditor
public static QueryWizardCellEditor createCellEditor(org.eclipse.swt.widgets.Tree parent, QueryWizardCellEditor.EditorType editorType, int style, org.eclipse.jface.action.Action afterApplyValue)
Create cell editor- Parameters:
parent
- parent treeeditorType
- type of editorstyle
- editor style- Returns:
- query wizard cell editor
-
addButton
public org.eclipse.swt.widgets.Button addButton(QueryWizardCellEditor.ButtonType buttonType)
Add button- Parameters:
buttonType
- button type- Returns:
- new button
-
addButton
public org.eclipse.swt.widgets.Button addButton(QueryWizardCellEditor.ButtonType buttonType, org.eclipse.swt.events.SelectionAdapter selectionAdapter)
Add button- Parameters:
buttonType
- button typeselectionAdapter
- selection handler- Returns:
- new button
-
getEditor
public org.eclipse.swt.widgets.Control getEditor()
Get editor- Returns:
- the editor
-
getCellEditor
public CellEditor getCellEditor()
Get cell editor- Returns:
- the cellEditor
-
-