Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » TreeViewer: number of elements
TreeViewer: number of elements [message #150080] Tue, 28 October 2003 06:12 Go to next message
Eclipse UserFriend
Originally posted by: olga.hadiko.de

Hallo All,

How can I calculate how many elements can be shown in a TreeViewer?

Thanks in advance
Re: TreeViewer: number of elements [message #150164 is a reply to message #150080] Tue, 28 October 2003 09:35 Go to previous messageGo to next message
Eclipse UserFriend
Something like that:

treeViewObject.getTree().getSize().y /
treeViewObject.getTree().getItemHeight();

Olga wrote:

> Hallo All,
>
> How can I calculate how many elements can be shown in a TreeViewer?
>
> Thanks in advance
>
>
Re: TreeViewer: number of elements [message #151373 is a reply to message #150164] Thu, 30 October 2003 06:00 Go to previous message
Eclipse UserFriend
Originally posted by: olga.hadiko.de

thanx, but the treeViewObject.getTree().getSize().y is 0...i need to know
how many elements can be shown before the ContentProvider created.


"Alex Chapiro" <achapiro@qnx.com> schrieb im Newsbeitrag
news:bnlu0o$vm8$1@eclipse.org...
> Something like that:
>
> treeViewObject.getTree().getSize().y /
> treeViewObject.getTree().getItemHeight();
>
> Olga wrote:
>
> > Hallo All,
> >
> > How can I calculate how many elements can be shown in a TreeViewer?
> >
> > Thanks in advance
> >
> >
Previous Topic:Problem with existing .cvsignore
Next Topic:Projects created via CVS checkout
Goto Forum:
  


Current Time: Tue May 06 15:14:16 EDT 2025

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

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

Back to the top