public class TextAreaCellEditor
extends org.eclipse.jface.viewers.CellEditor
Do not instantiate or extend this class. Use CellEditorFactory to instantiate this class.
Modifier and Type | Class and Description |
---|---|
static class | TextAreaCellEditor.TextAreaLayoutData
Layout data for cell editors, with reasonable defaults for all fields.
|
Constructor and Description |
---|
TextAreaCellEditor()
Deprecated.
This constructor is for internal use only. Use CellEditorFactory to instantiate this class.
|
TextAreaCellEditor(org.eclipse.swt.widgets.Composite parent)
Deprecated.
This constructor is for internal use only. Use CellEditorFactory to instantiate this class.
|
TextAreaCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
Deprecated.
This constructor is for internal use only. Use CellEditorFactory to instantiate this class.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Control | createControl(org.eclipse.swt.widgets.Composite parent)
Creates the text area control for this cell editor under the given parent control.
|
protected java.lang.Object | doGetValue()
The TextAreaCellEditor implementation of this CellEditor framework method returns the text string.
|
protected void | doSetFocus()
Sets the focus to the cell editor's control.
|
protected void | doSetValue(java.lang.Object value)
The TextAreaCellEditor implementation of this CellEditor framework method accepts a text string (type String).
|
protected void | editOccured(org.eclipse.swt.events.ModifyEvent e)
Processes a modify event that occurred in this text area cell editor.
|
org.eclipse.jface.viewers.CellEditor.LayoutData | getLayoutData()
Creates a new TextAreaLayoutData.
|
protected void | handleDefaultSelection(org.eclipse.swt.events.SelectionEvent event)
Handles a default selection event from the text control by applying the editor value and deactivating this cell editor.
|
boolean | isCopyEnabled()
The TextAreaCellEditor implementation of this CellEditor method returns true if the current selection is not empty.
|
boolean | isCutEnabled()
The TextAreaCellEditor implementation of this CellEditor method returns true if the current selection is not empty.
|
boolean | isDeleteEnabled()
The TextAreaCellEditor implementation of this CellEditor method returns true if there is a selection or if the caret is not positioned at the end of the text.
|
boolean | isPasteEnabled()
The TextAreaCellEditor implementation of this CellEditor returns true if the text is not null and is not disposed.
|
boolean | isSaveAllEnabled()
The TextAreaCellEditor implementation of this CellEditor returns true if the text is not null and is not disposed.
|
boolean | isSelectAllEnabled()
Returns true if the text is selected.
|
protected void | keyReleaseOccured(org.eclipse.swt.events.KeyEvent keyEvent)
Processes a key release event that occurred in this cell editor.
|
void | performCopy()
The TextAreaCellEditor implementation of this CellEditor method copies the current selection to the clipboard.
|
void | performCut()
The TextAreaCellEditor implementation of this CellEditor method cuts the current selection to the clipboard.
|
void | performDelete()
The TextAreaCellEditor implementation of this CellEditor method deletes the current selection or, if there is no selection, deletes the character next character from the current position.
|
void | performPaste()
The TextAreaCellEditor implementation of this CellEditor method pastes the clipboard contents over the current selection.
|
void | performSelectAll()
The TextAreaCellEditor implementation of this CellEditor method selects all of the current text.
|
public TextAreaCellEditor()
public TextAreaCellEditor(org.eclipse.swt.widgets.Composite parent)
public TextAreaCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
protected org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
protected java.lang.Object doGetValue()
protected void doSetFocus()
protected void doSetValue(java.lang.Object value)
protected void editOccured(org.eclipse.swt.events.ModifyEvent e)
public org.eclipse.jface.viewers.CellEditor.LayoutData getLayoutData()
protected void handleDefaultSelection(org.eclipse.swt.events.SelectionEvent event)
public boolean isCopyEnabled()
public boolean isCutEnabled()
public boolean isDeleteEnabled()
public boolean isPasteEnabled()
public boolean isSaveAllEnabled()
public boolean isSelectAllEnabled()
protected void keyReleaseOccured(org.eclipse.swt.events.KeyEvent keyEvent)
public void performCopy()
public void performCut()
public void performDelete()
public void performPaste()
public void performSelectAll()