|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.viewers.CellEditor
org.eclipse.rse.ui.view.SystemInheritableTextCellEditor
A cell editor that manages an inheritable text entry field. The cell editor's value is the text string itself.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
CellEditor.LayoutData |
| Field Summary | |
|---|---|
protected SystemInheritablePropertyData |
data
|
protected Text |
text
|
protected InheritableEntryField |
textField
|
| Fields inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO |
| Constructor Summary | |
|---|---|
SystemInheritableTextCellEditor(Composite parent)
Creates a new text string cell editor parented under the given control. |
|
| Method Summary | |
|---|---|
protected Control |
createControl(Composite parent)
|
protected Object |
doGetValue()
Return current data. |
protected void |
doSetFocus()
|
protected void |
doSetValue(Object value)
The TextCellEditor implementation of
this CellEditor framework method accepts
a SystemInheritablePropertyData data object. |
protected void |
editOccured(ModifyEvent e)
Processes a modify event that occurred in this text cell editor. |
protected void |
focusLost()
|
String |
getEntryFieldToolTipText()
Gets the entryFieldToolTipText |
InheritableEntryField |
getInheritableEntryField()
|
CellEditor.LayoutData |
getLayoutData()
Since a text editor field is scrollable we don't set a minimumSize. |
String |
getToggleButtonToolTipText()
Gets the toggleButtonToolTipText |
boolean |
isCopyEnabled()
The TextCellEditor implementation of this
CellEditor method returns true if
the current selection is not empty. |
boolean |
isCutEnabled()
The TextCellEditor implementation of this
CellEditor method returns true if
the current selection is not empty. |
boolean |
isDeleteEnabled()
The TextCellEditor 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 TextCellEditor implementation of this
CellEditor method always returns true. |
boolean |
isSaveAllEnabled()
The TextCellEditor implementation of this
CellEditor method always returns true. |
boolean |
isSelectAllEnabled()
Returns true if this cell editor is
able to perform the select all action.
|
void |
performCopy()
The TextCellEditor implementation of this
CellEditor method copies the
current selection to the clipboard. |
void |
performCut()
The TextCellEditor implementation of this
CellEditor method cuts the
current selection to the clipboard. |
void |
performDelete()
The TextCellEditor implementation of this
CellEditor method deletes the
current selection or, if there is no selection,
the character next character from the current position. |
void |
performPaste()
The TextCellEditor implementation of this
CellEditor method pastes the
the clipboard contents over the current selection. |
void |
performSelectAll()
The TextCellEditor implementation of this
CellEditor method selects all of the
current text. |
void |
setEntryFieldToolTipText(String entryFieldToolTipText)
Sets the entryFieldToolTipText |
void |
setToggleButtonToolTipText(String toggleButtonToolTipText)
Sets the toggleButtonToolTipText |
void |
widgetDefaultSelected(SelectionEvent e)
|
void |
widgetSelected(SelectionEvent e)
|
| Methods inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
activate, addListener, addPropertyChangeListener, create, deactivate, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, getControl, getErrorMessage, getStyle, getValidator, getValue, isActivated, isCorrect, isDirty, isFindEnabled, isRedoEnabled, isUndoEnabled, isValueValid, keyReleaseOccured, markDirty, performFind, performRedo, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected InheritableEntryField textField
protected Text text
protected SystemInheritablePropertyData data
| Constructor Detail |
public SystemInheritableTextCellEditor(Composite parent)
parent - the parent control| Method Detail |
public InheritableEntryField getInheritableEntryField()
public String getToggleButtonToolTipText()
public void setToggleButtonToolTipText(String toggleButtonToolTipText)
toggleButtonToolTipText - The toggleButtonToolTipText to setpublic String getEntryFieldToolTipText()
public void setEntryFieldToolTipText(String entryFieldToolTipText)
entryFieldToolTipText - The entryFieldToolTipText to setprotected Control createControl(Composite parent)
protected void focusLost()
protected Object doGetValue()
protected void doSetFocus()
protected void doSetValue(Object value)
TextCellEditor implementation of
this CellEditor framework method accepts
a SystemInheritablePropertyData data object.
value - a SystemInheritablePropertyData objectprotected void editOccured(ModifyEvent e)
fireEditorValueChanged.
Subclasses should call this method at appropriate times. Subclasses
may extend or reimplement.
e - the SWT modify eventpublic CellEditor.LayoutData getLayoutData()
public boolean isCopyEnabled()
TextCellEditor implementation of this
CellEditor method returns true if
the current selection is not empty.
public boolean isCutEnabled()
TextCellEditor implementation of this
CellEditor method returns true if
the current selection is not empty.
public boolean isDeleteEnabled()
TextCellEditor 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.
public boolean isPasteEnabled()
TextCellEditor implementation of this
CellEditor method always returns true.
public boolean isSaveAllEnabled()
TextCellEditor implementation of this
CellEditor method always returns true.
public boolean isSelectAllEnabled()
true if this cell editor is
able to perform the select all action.
This default implementation always returns
false.
Subclasses may override
true if select all is possible,
false otherwisepublic void performCopy()
TextCellEditor implementation of this
CellEditor method copies the
current selection to the clipboard.
public void performCut()
TextCellEditor implementation of this
CellEditor method cuts the
current selection to the clipboard.
public void performDelete()
TextCellEditor implementation of this
CellEditor method deletes the
current selection or, if there is no selection,
the character next character from the current position.
public void performPaste()
TextCellEditor implementation of this
CellEditor method pastes the
the clipboard contents over the current selection.
public void performSelectAll()
TextCellEditor implementation of this
CellEditor method selects all of the
current text.
public void widgetDefaultSelected(SelectionEvent e)
widgetDefaultSelected in interface SelectionListenerpublic void widgetSelected(SelectionEvent e)
widgetSelected in interface SelectionListener
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||