Package | Description |
---|---|
org.eclipse.jface.databinding.viewers |
Provides classes that can be used to observe the JFace Viewer framework.
|
org.eclipse.jface.viewers |
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
|
org.eclipse.ui.part |
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
|
org.eclipse.ui.views.properties |
Provides the standard Property Sheet view which displays
custom properties of the active workbench part's current selection.
|
Modifier and Type | Method and Description |
---|---|
static EditingSupport |
ObservableValueEditingSupport.create(ColumnViewer viewer,
DataBindingContext dbc,
CellEditor cellEditor,
IValueProperty cellEditorProperty,
IValueProperty elementProperty)
Returns an ObservableValueEditingSupport instance which binds the given
cell editor property to the given element property.
|
protected abstract IObservableValue |
ObservableValueEditingSupport.doCreateCellEditorObservable(CellEditor cellEditor)
Creates the observable value for the CellEditor.
|
protected void |
ObservableValueEditingSupport.initializeCellEditorValue(CellEditor cellEditor,
ViewerCell cell)
Creates a
Binding between the editor and the element to be
edited. |
protected void |
ObservableValueEditingSupport.saveCellEditorValue(CellEditor cellEditor,
ViewerCell cell)
Updates the model from the target.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckboxCellEditor
A cell editor that manages a checkbox.
|
class |
ColorCellEditor
A cell editor that manages a color field.
|
class |
ComboBoxCellEditor
A cell editor that presents a list of items in a combo box.
|
class |
ComboBoxViewerCellEditor
A cell editor that presents a list of items in a combo box.
|
class |
DialogCellEditor
An abstract cell editor that uses a dialog.
|
class |
TextCellEditor
A cell editor that manages a text entry field.
|
Modifier and Type | Method and Description |
---|---|
protected abstract CellEditor |
EditingSupport.getCellEditor(Object element)
The editor to be shown
|
CellEditor[] |
ColumnViewer.getCellEditors()
Return the CellEditors for the receiver, or
null if no cell
editors are set. |
CellEditor[] |
TableTreeViewer.getCellEditors()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
EditingSupport.initializeCellEditorValue(CellEditor cellEditor,
ViewerCell cell)
Initialize the editor.
|
protected void |
EditingSupport.saveCellEditorValue(CellEditor cellEditor,
ViewerCell cell)
Save the value of the cell editor back to the model.
|
void |
ColumnViewer.setCellEditors(CellEditor[] editors)
Sets the cell editors of this column viewer.
|
void |
TableTreeViewer.setCellEditors(CellEditor[] editors)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
CellEditorActionHandler.addCellEditor(CellEditor editor)
Adds a
CellEditor to the handler so that the
Cut, Copy, Paste, Delete, Select All, Find, Undo, and Redo
actions are redirected to it when active. |
void |
CellEditorActionHandler.removeCellEditor(CellEditor editor)
Removes a
CellEditor from the handler
so that the Cut, Copy, Paste, Delete, Select All, Find
Undo, and Redo actions are no longer redirected to it. |
Modifier and Type | Method and Description |
---|---|
CellEditor |
TextPropertyDescriptor.createPropertyEditor(Composite parent)
The
TextPropertyDescriptor implementation of this
IPropertyDescriptor method creates and returns a new
TextCellEditor . |
CellEditor |
ComboBoxPropertyDescriptor.createPropertyEditor(Composite parent)
The
ComboBoxPropertyDescriptor implementation of this
IPropertyDescriptor method creates and returns a new
ComboBoxCellEditor . |
CellEditor |
PropertyDescriptor.createPropertyEditor(Composite parent)
The
PropertyDescriptor implementation of this
IPropertyDescriptor method returns null . |
CellEditor |
IPropertyDescriptor.createPropertyEditor(Composite parent)
Creates and returns a new cell editor for editing this property.
|
CellEditor |
ColorPropertyDescriptor.createPropertyEditor(Composite parent)
The
ColorPropertyDescriptor implementation of this
IPropertyDescriptor method creates and returns a new
ColorCellEditor . |
protected CellEditor |
PropertyEditingSupport.getCellEditor(Object object) |
CellEditor |
IPropertySheetEntry.getEditor(Composite parent)
Return the
CellEditor used to edit the property. |
CellEditor |
PropertySheetEntry.getEditor(Composite parent) |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.