Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » column initialization order in CTableTree
column initialization order in CTableTree [message #13577] Fri, 06 October 2006 17:26 Go to next message
Eclipse User
Originally posted by: alnospammajor.noboxspamspoon.com

in my usage scenario, the viewer in column x depends on the viewer in
column y (both in the same row). so i need to makes sure the the
initialization of the viewer in column y is completed before column x
needs its values.

what's the best way to achieve this?

al
Re: column initialization order in CTableTree [message #13601 is a reply to message #13577] Sat, 07 October 2006 21:26 Go to previous messageGo to next message
Eclipse User
Originally posted by: alnospammajor.noboxspamspoon.com

the "obvious" answer is to subclass CTableTreeViewer and override
doUpdateItem. this seems too heavy handed. is there a better option?

Al Major wrote:
> in my usage scenario, the viewer in column x depends on the viewer in
> column y (both in the same row). so i need to makes sure the the
> initialization of the viewer in column y is completed before column x
> needs its values.
>
> what's the best way to achieve this?
>
> al
Re: column initialization order in CTableTree [message #13621 is a reply to message #13601] Sun, 08 October 2006 00:59 Go to previous message
Eclipse User
Originally posted by: alnospammajor.noboxspamspoon.com

as expected, this does the trick. but i'm not too happy with it.

Al Major wrote:
> the "obvious" answer is to subclass CTableTreeViewer and override
> doUpdateItem. this seems too heavy handed. is there a better option?
>
> Al Major wrote:
>> in my usage scenario, the viewer in column x depends on the viewer in
>> column y (both in the same row). so i need to makes sure the the
>> initialization of the viewer in column y is completed before column x
>> needs its values.
>>
>> what's the best way to achieve this?
>>
>> al
Re: column initialization order in CTableTree [message #566311 is a reply to message #13577] Sat, 07 October 2006 21:26 Go to previous message
Al Major is currently offline Al Major
Messages: 72
Registered: July 2009
Member
the "obvious" answer is to subclass CTableTreeViewer and override
doUpdateItem. this seems too heavy handed. is there a better option?

Al Major wrote:
> in my usage scenario, the viewer in column x depends on the viewer in
> column y (both in the same row). so i need to makes sure the the
> initialization of the viewer in column y is completed before column x
> needs its values.
>
> what's the best way to achieve this?
>
> al
Re: column initialization order in CTableTree [message #566339 is a reply to message #13601] Sun, 08 October 2006 00:59 Go to previous message
Al Major is currently offline Al Major
Messages: 72
Registered: July 2009
Member
as expected, this does the trick. but i'm not too happy with it.

Al Major wrote:
> the "obvious" answer is to subclass CTableTreeViewer and override
> doUpdateItem. this seems too heavy handed. is there a better option?
>
> Al Major wrote:
>> in my usage scenario, the viewer in column x depends on the viewer in
>> column y (both in the same row). so i need to makes sure the the
>> initialization of the viewer in column y is completed before column x
>> needs its values.
>>
>> what's the best way to achieve this?
>>
>> al
Previous Topic:column initialization order in CTableTree
Next Topic:paintedItemListener behavior in CTableTree
Goto Forum:
  


Current Time: Thu Oct 30 19:06:16 GMT 2014

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

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