How to Use JFace TreeViewer [message #16645] |
Thu, 25 June 2009 10:59  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02747 seconds