Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Rename Feature in Tree
Rename Feature in Tree [message #464749] Tue, 29 November 2005 14:05 Go to next message
Jeff Yuan is currently offline Jeff YuanFriend
Messages: 34
Registered: July 2009
Member
Hi,
Is there some obvious method to implement the rename feature in the Tree?
What I mean is, which you click rename, a little black box gets drawn
around the text, and it becomes editable. For reference, it is the
behavior of windows explorer and other applications. How would one
implement this? Is there some default behavior for this that I'm not
seeing?
Re: Rename Feature in Tree [message #464776 is a reply to message #464749] Tue, 29 November 2005 18:06 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet111.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

"zinc" <zincsterio@yahoo.com> wrote in message
news:289826dd13d9aa4b8646df297f6ec715$1@www.eclipse.org...
> Hi,
> Is there some obvious method to implement the rename feature in the Tree?
> What I mean is, which you click rename, a little black box gets drawn
> around the text, and it becomes editable. For reference, it is the
> behavior of windows explorer and other applications. How would one
> implement this? Is there some default behavior for this that I'm not
> seeing?
>
Previous Topic:size of a composite
Next Topic:Eclipse Stype Tabs
Goto Forum:
  


Current Time: Tue Apr 16 12:29:36 GMT 2024

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

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

Back to the top