Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » IUpdateableItemText with Trees and columns
IUpdateableItemText with Trees and columns [message #417467] Wed, 12 March 2008 00:12 Go to next message
Jim Steel is currently offline Jim SteelFriend
Messages: 54
Registered: July 2009
Member
Hi,

Has anyone had experience using the IUpdateableItemText interface in
combination with a TreeViewer with Columns?

Specifically, when I try to activate an editor of a cell in one of the
columns, the UpdateableItemText element in the tree intercedes and
activates its editor, which deactivates the editor of the cell I
selected. I'd really like the UpdateableItemText to only activate if the
tree item itself (i.e. the first column) is being selected.

Cheers,

Jim.
Re: IUpdateableItemText with Trees and columns [message #417471 is a reply to message #417467] Wed, 12 March 2008 11:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Jim,

This was designed before trees even could have columns. If you care to
open a bugzilla with a test case illustrating the problem, I can look
into helping fix whatever is going astray...


Jim Steel wrote:
>
> Hi,
>
> Has anyone had experience using the IUpdateableItemText interface in
> combination with a TreeViewer with Columns?
>
> Specifically, when I try to activate an editor of a cell in one of the
> columns, the UpdateableItemText element in the tree intercedes and
> activates its editor, which deactivates the editor of the cell I
> selected. I'd really like the UpdateableItemText to only activate if
> the tree item itself (i.e. the first column) is being selected.
>
> Cheers,
>
> Jim.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: IUpdateableItemText with Trees and columns [message #417484 is a reply to message #417471] Thu, 13 March 2008 00:57 Go to previous messageGo to next message
Jim Steel is currently offline Jim SteelFriend
Messages: 54
Registered: July 2009
Member
The bug was more subtle than I thought. It only comes up when the tree
viewer has the FULL_SELECTION bit set, and even then only when you click
in the right sequence :)

Nonetheless, I've added it as:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=222503

Jim.



Ed Merks wrote:
> Jim,
>
> This was designed before trees even could have columns. If you care to
> open a bugzilla with a test case illustrating the problem, I can look
> into helping fix whatever is going astray...
>
>
> Jim Steel wrote:
>>
>> Hi,
>>
>> Has anyone had experience using the IUpdateableItemText interface in
>> combination with a TreeViewer with Columns?
>>
>> Specifically, when I try to activate an editor of a cell in one of the
>> columns, the UpdateableItemText element in the tree intercedes and
>> activates its editor, which deactivates the editor of the cell I
>> selected. I'd really like the UpdateableItemText to only activate if
>> the tree item itself (i.e. the first column) is being selected.
>>
>> Cheers,
>>
>> Jim.
Re: IUpdateableItemText with Trees and columns [message #417498 is a reply to message #417484] Thu, 13 March 2008 12:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Jim,

I'll try to find some time. With EclipseCon coming up and my talk not
yet prepared, I'm running low on time. I expect to be pretty tied up
all of next week...


Jim Steel wrote:
>
> The bug was more subtle than I thought. It only comes up when the tree
> viewer has the FULL_SELECTION bit set, and even then only when you
> click in the right sequence :)
>
> Nonetheless, I've added it as:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=222503
>
> Jim.
>
>
>
> Ed Merks wrote:
>> Jim,
>>
>> This was designed before trees even could have columns. If you care
>> to open a bugzilla with a test case illustrating the problem, I can
>> look into helping fix whatever is going astray...
>>
>>
>> Jim Steel wrote:
>>>
>>> Hi,
>>>
>>> Has anyone had experience using the IUpdateableItemText interface in
>>> combination with a TreeViewer with Columns?
>>>
>>> Specifically, when I try to activate an editor of a cell in one of
>>> the columns, the UpdateableItemText element in the tree intercedes
>>> and activates its editor, which deactivates the editor of the cell I
>>> selected. I'd really like the UpdateableItemText to only activate if
>>> the tree item itself (i.e. the first column) is being selected.
>>>
>>> Cheers,
>>>
>>> Jim.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EPackage global registry
Next Topic:AdapterFactoryTreeEditor or IUpdateableItemText not notifying editor of change
Goto Forum:
  


Current Time: Fri Apr 26 08:44:37 GMT 2024

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

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

Back to the top