How to get a control from a specific column of a TableTreeItem ? [message #446681] |
Tue, 30 November 2004 10:03  |
Eclipse User |
|
|
|
hello all !
I used a TableTreeEditor to add a control to a cloumn of a TableTreeItem.
editor.setEditor(control,item,Column);
Then How can I get recover the control giving the editor and the item
and the column directly,
but not through event listener?
That means the the composite which the Control displayed above is not
being edited.
so I can't use editor.getEditor() to get the control.
anyone can help me ?
Thank you for any help !
|
|
|
|
|
Re: How to get a control from a specific column of a TableTreeItem ? [message #446756 is a reply to message #446736] |
Thu, 02 December 2004 08:49  |
Eclipse User |
|
|
|
You will need to track the non-active controls yourself.
"bbskill" <bbkills@tom.com> wrote in message
news:colmjh$5vk$1@www.eclipse.org...
> But if the control is not currently active .
> what I want to do is to dynamicaly update a
> progressBar in a specific column of a specific TableTreeItem of a
> TableTree.
> any way to get the control ?
>
>
> Veronika Irvine wrote:
>> For the currently active control, you can use
>> TableTreeEditor.getEditor().
>>
>> If you are using TableTreeEditor for multiple columns and multiple
>> controls, you will have to remember somewhere which Control is used to
>> edit which column. After you call TableTreeEditor.setEditor(null),
>> TableTreeEditor has no knowledge of the control you just removed.
>>
>>
>> "bbskill" <bbkills@tom.com> wrote in message
>> news:coi275$j3q$1@www.eclipse.org...
>>
>>>hello all !
>>>I used a TableTreeEditor to add a control to a cloumn of a TableTreeItem.
>>>editor.setEditor(control,item,Column);
>>>
>>>Then How can I get recover the control giving the editor and the item
>>>and the column directly,
>>>but not through event listener?
>>>That means the the composite which the Control displayed above is not
>>>being edited.
>>>so I can't use editor.getEditor() to get the control.
>>>
>>>anyone can help me ?
>>>Thank you for any help !
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03172 seconds