[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editable TreeViewer

When you want the edit to occur (e.g., double click), you would need to 
create an SWT TreeEditor for the JFaceTreeViewer's SWT Tree widget.  You 
can look at org.eclipse.ui.actions.RenameResourceAction for an example of 
how to do this.  This is the class that the Navigator (in the Resources 
Perspective) calls when the Rename menu option is executed (which opens an 
edit widget for the selected item in the tree).

Hope this will get you started...

Lynne