Skip to main content



      Home
Home » Eclipse Projects » JFace » How to Use JFace TreeViewer
How to Use JFace TreeViewer [message #16645] Thu, 25 June 2009 10:59 Go to next message
Eclipse UserFriend
In his tutorial, "How to use the JFace TreeViewer", Chris Grindstaff
creates a TreeViewer that displays moving boxes (each box containing
either a game or a book). In the actual code of his plugin, these objects
have constructors which take title, authorSirName and authorGivenName.
HOWEVER - when you run the plugin, all that shows for these objects is
title. The authorSirName and authorGivenName is not displayed anywhere in
the running plugin.
This is very confusing, why define constructors for these objects with
these properties, and never display them?? Has anyone worked with this
tutorial before? I'm trying to understand it better so that I can create
a similar TreeViewer in my own project.

Thanks.
Re: How to Use JFace TreeViewer [message #18529 is a reply to message #16645] Wed, 01 July 2009 11:47 Go to previous message
Eclipse UserFriend
Don't be confused too much about these properties, I think it's just to
simulate real model objects.

v.

Igor Ganapolsky a écrit :
> In his tutorial, "How to use the JFace TreeViewer", Chris Grindstaff
> creates a TreeViewer that displays moving boxes (each box containing
> either a game or a book). In the actual code of his plugin, these
> objects have constructors which take title, authorSirName and
> authorGivenName. HOWEVER - when you run the plugin, all that shows for
> these objects is title. The authorSirName and authorGivenName is not
> displayed anywhere in the running plugin. This is very confusing, why
> define constructors for these objects with these properties, and never
> display them?? Has anyone worked with this tutorial before? I'm trying
> to understand it better so that I can create a similar TreeViewer in my
> own project.
>
> Thanks.
Previous Topic:problem with MultiPassContentFormatter
Next Topic:Changing the focus button in a wizard page or launch tab
Goto Forum:
  


Current Time: Thu Mar 13 16:40:32 EDT 2025

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

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

Back to the top