[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
|
- From: "Prakash G.R." <grprakash@xxxxxxxxx>
- Date: Fri, 09 May 2008 12:56:51 +0530
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
(*) 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