|
|
|
Re: Howto: Edit the text of a tree item (in place, fancy) [message #452514 is a reply to message #452497] |
Mon, 21 March 2005 20:10 |
Eclipse User |
|
|
|
Originally posted by: bob.objfac.com
Benjamin Pasero wrote:
> For me, using the example from the Snippet makes no difference. I am
> still seeing the
> two problems I mentioned.
Hmm. I guess you'd have to chase down how Resource Navigator adjusts the
position and size of TreeEditor. I only looked far enough to see that it
used TreeEditor (even that wasn't much fun).
Bob
> Ben
>
>
>>See TreeEditor. That's what the Resource Navigator uses, as well.
>>
>>(Yes, snippet 111 has a number of problems. The simulated border looks
>>especially awful on MacOSX, the positions are wrong, etc.)
>>
>>Bob Foster
>>
>>Benjamin Pasero wrote:
>>
>>
>>>Hi,
>>>
>>>I am currently using the snippet 111:
>>>
>>> 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
>>>
>>>
>>>in order to edit the text of a treeitem in place. But compared to the
>>>"Rename" action
>>>in Eclipse's Navigator (Resource perspective) it behaves a bit
>>>differently:
>>>
>>>1.) The black-box (edit textfield) has a bigger width in Eclipse's
>>>Navigator
>>>2.) The text of the TreeItem that is being edited is not moving to the
>>>left. In the
>>> Snippet I am seeing a movement (~1px) to the left as soon as the
>>>editing begins.
>>>
>>>Is Eclipse using a different solution? Maybe someone could point me to
>>>the way Eclipse
>>>is doing it.
>>>
>>>Thanks,
>>>Ben
>>
|
|
|
|
|
|
|
|
|
Re: Howto: Edit the text of a tree item (in place, fancy) [message #453015 is a reply to message #452994] |
Tue, 29 March 2005 23:25 |
Eclipse User |
|
|
|
Originally posted by: bob.objfac.com
Steve Northover wrote:
> Bob, can you enter a bug report for this?
It's https://bugs.eclipse.org/bugs/show_bug.cgi?id=89434.
I'll trade you. I've seen lots of people put links in Bugzilla bug
reports, but <a> doesn't work (as 89434 clearly shows). What's the trick?
Bob
> "Bob Foster" <bob@objfac.com> wrote in message
> news:4231DBFC.8070807@objfac.com...
>
>>See TreeEditor. That's what the Resource Navigator uses, as well.
>>
>>(Yes, snippet 111 has a number of problems. The simulated border looks
>>especially awful on MacOSX, the positions are wrong, etc.)
>>
>>Bob Foster
>>
>>Benjamin Pasero wrote:
>>
>>>Hi,
>>>
>>>I am currently using the snippet 111:
>>>
>>>
>
> 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
>
>>>in order to edit the text of a treeitem in place. But compared to the
>>>"Rename" action
>>>in Eclipse's Navigator (Resource perspective) it behaves a bit
>
> differently:
>
>>>1.) The black-box (edit textfield) has a bigger width in Eclipse's
>
> Navigator
>
>>>2.) The text of the TreeItem that is being edited is not moving to the
>>>left. In the
>>> Snippet I am seeing a movement (~1px) to the left as soon as the
>>>editing begins.
>>>
>>>Is Eclipse using a different solution? Maybe someone could point me to
>>>the way Eclipse
>>>is doing it.
>>>
>>>Thanks,
>>>Ben
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04338 seconds