Skip to main content



      Home
Home » Archived » Visual Editor (VE) » How to retrieve the information displayed in "Java Beans"
How to retrieve the information displayed in "Java Beans" [message #95961] Sun, 03 July 2005 22:08 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Start of a data binding framework released--help requested
Next Topic:How does VE render beans at design time?
Goto Forum:
  


Current Time: Tue Jun 17 08:05:04 EDT 2025

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

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

Back to the top