[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Delete a node in a Tree Viewer

(*) Add a keylistener to the Tree widget, which looks for the delete key
(*) When delete key is pressed, get the selected item from your tree viewer
(*) Remove the selected item from your model
(*) Refresh the treeviewer

--

 - Prakash

Eclipse Tips: http://blog.cypal-solutions.com
Eclipse Search: http://www.cypal.in/eclipsesearch


Shiva Selvadurai wrote:
I need to delete a node in my tree viewer by just pressing a delete button on the node , can I know how this can be done,

-Shiva.S