[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] questions on TableTree
|
Sorry for the previous question ...
i can use the LabelProvider and using the ITableLabelProvider at the same
time ... correct ...
i totally forgot to set the size of the column so only the first column was
displayed.
Thanks
----- Original Message -----
From: "Carmelo Scala" <carmeloscala@xxxxxxxxxxx>
To: <platform-swt-dev@xxxxxxxxxxx>
Sent: Tuesday, March 15, 2005 5:32 PM
Subject: Re: [platform-swt-dev] questions on TableTree
Hi Veronika ... sorry to keep asking ...
One more question ...
you say it's possible to use a TreeViewer ... but what will be the right
way to mix viewer / contentProvider / LabelProvider and/or TreeItem ?
Previously I could have used a LabelProvider (implements
ITableLableProvider) ... but now using just a LabelProvider this will
supply only information about the tree node ... am i right ?
Thanks again
Car
----- Original Message -----
From: "Veronika Irvine" <Veronika_Irvine@xxxxxxxxxx>
To: <platform-swt-dev@xxxxxxxxxxx>
Sent: Tuesday, March 15, 2005 3:03 PM
Subject: Re: [platform-swt-dev] questions on TableTree
TableTree will never support an icon in the first column., The first
column image is used to show the +/-. Using TableTreeViewer will not
make
any difference because it uses TableTree underneath.
In 3.1, instead of using TableTree use Tree with TreeColumn to create a
multi column Tree. This will support an icon in the first column. You
can also use TreeViewer with TreeColumns in 3.1.
See:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet170.java?rev=HEAD&content-type=text/vnd.viewcvs-markup
"Carmelo Scala" <carmeloscala@xxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
03/15/2005 05:25 AM
Please respond to
platform-swt-dev
To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] questions on TableTree
Hello there,
I'm having problem trying to use icon for the first column in a TableTree
(... I would like to have icon + text for the tree node items).
I have used a normal TableTree ->
--- TableTreeItem .setText (0, ...)
--- TableTreeItem .setImage (0, ...)
with no result ...
I have seen a TableTreeViewer ... would it be the right thing to use ...
and
how to specify the LabelProvider ?
Thanks for any help
Carmelo
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev