Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to rename an item in a treeviewer
how to rename an item in a treeviewer [message #270258] Mon, 06 September 2004 02:12 Go to next message
Eclipse UserFriend
Originally posted by: myoracle.hotmail.com

How to rename an item dynamic in a treeviewer just like that in the
windows?
In the windows's resource manager,choose a file--->kick right mouse
button-->
choose "rename" in the menu,now the file's name becomes editable and the
backgroud turns to blue.
but how to do it using jface/swt?
Re: how to rename an item in a treeviewer [message #270363 is a reply to message #270258] Tue, 07 September 2004 03:53 Go to previous message
Eclipse UserFriend
spool wrote:
> How to rename an item dynamic in a treeviewer just like that in the
> windows?
> In the windows's resource manager,choose a file--->kick right mouse
> button-->
> choose "rename" in the menu,now the file's name becomes editable and the
> backgroud turns to blue.
> but how to do it using jface/swt?

See class TreeEditor and how it is used in the Resource Navigator
(RenameResourceAction in project org.eclipse.ui.ide).

Markus
Previous Topic:Problem with build-in IE viewer in eclipse
Next Topic:Opening Editor in R3 - please !!
Goto Forum:
  


Current Time: Thu May 08 01:04:20 EDT 2025

Powered by FUDForum. Page generated in 0.04053 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top