How to retrieve the information displayed in "Java Beans" [message #95961] |
Sun, 03 July 2005 22:08  |
Eclipse User |
|
|
|
Dear all,
Is it possible for me to retrieve the information displayed in "Java Beans"?
If possible, could you tell me the details?
I have found that there is a class
" org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorOutlinePage "
that is doing some logic of "Java Beans" such as CollapseAll, Copy and
Paste.
In my analysis, the tree is subclass of "TreeViewer" and the tree items are
subclass of "EditPart", is that right?
However, I have no idea how the "EditPart" add into the tree and also what
the "EditPart" is?
Since there is no developer document available now, could it be possible to
tell me in details?
Thank you very much for your help.
Roy Forever
|
|
|
Re: How to retrieve the information displayed in "Java Beans" [message #96629 is a reply to message #95961] |
Thu, 07 July 2005 14:12  |
Eclipse User |
|
|
|
Hi Roy,
> Is it possible for me to retrieve the information displayed in "Java Beans"?
> If possible, could you tell me the details?
> I have found that there is a class
> " org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorOutlinePage "
> that is doing some logic of "Java Beans" such as CollapseAll, Copy and
> Paste.
> In my analysis, the tree is subclass of "TreeViewer" and the tree items are
> subclass of "EditPart", is that right?
> However, I have no idea how the "EditPart" add into the tree and also what
> the "EditPart" is?
>
> Since there is no developer document available now, could it be possible to
> tell me in details?
EditParts are part of the GEF framework and are basically controllers
between the user interface (the tree or the graphical viewer) and the model.
Rather than launch into an explanation of how they work can you explain
in a bit more detail what exactly it is you want to do. Tou said you
want to get some of the information displayed in JavaBeans viewer. What
exactly do you want ? Are you trying to build a plugin that goes on top
of the VE and gets details of its model ? Are you trying to build your
own tree viewer ? If you could provide more info on your scenario
you're tackling that'll help to answer the question better.
Best regards,
Joe Winchester
|
|
|
Re: How to retrieve the information displayed in "Java Beans" [message #608992 is a reply to message #95961] |
Thu, 07 July 2005 14:12  |
Eclipse User |
|
|
|
Hi Roy,
> Is it possible for me to retrieve the information displayed in "Java Beans"?
> If possible, could you tell me the details?
> I have found that there is a class
> " org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorOutlinePage "
> that is doing some logic of "Java Beans" such as CollapseAll, Copy and
> Paste.
> In my analysis, the tree is subclass of "TreeViewer" and the tree items are
> subclass of "EditPart", is that right?
> However, I have no idea how the "EditPart" add into the tree and also what
> the "EditPart" is?
>
> Since there is no developer document available now, could it be possible to
> tell me in details?
EditParts are part of the GEF framework and are basically controllers
between the user interface (the tree or the graphical viewer) and the model.
Rather than launch into an explanation of how they work can you explain
in a bit more detail what exactly it is you want to do. Tou said you
want to get some of the information displayed in JavaBeans viewer. What
exactly do you want ? Are you trying to build a plugin that goes on top
of the VE and gets details of its model ? Are you trying to build your
own tree viewer ? If you could provide more info on your scenario
you're tackling that'll help to answer the question better.
Best regards,
Joe Winchester
|
|
|
Powered by
FUDForum. Page generated in 0.12584 seconds