|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface used to provide the string to edit for tree items when using the tree-inline-text-editor
| Method Summary | |
boolean |
canEdit(java.lang.Object element)
Determines if node can be edited. |
IContentAssistProcessor |
getCompletionProcessor(java.lang.Object element)
Retrieve IContentAssistProcessor for specified object. |
java.lang.String |
getEditString(java.lang.Object element)
Returns the initial to-be-edited string to diplay in the text-editor. |
IStatus |
setEditString(java.lang.Object element,
java.lang.String newString)
Handles the newly edited string entered by the user for the given element. |
| Method Detail |
public boolean canEdit(java.lang.Object element)
element - The data associated with the tree-node being edited
true if node can be edited, otherwise falsepublic java.lang.String getEditString(java.lang.Object element)
element - The data associated with the tree-node being edited
public IStatus setEditString(java.lang.Object element,
java.lang.String newString)
element - The data associated with the tree-node being editednewString - The new string entered by the user
public IContentAssistProcessor getCompletionProcessor(java.lang.Object element)
IContentAssistProcessor for specified object.
element - an object for which completion processor is to be retrieved
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.