Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Editing JavaBeans in GEF
Editing JavaBeans in GEF [message #167168] Sun, 06 February 2005 14:34 Go to next message
Eclipse UserFriend
Originally posted by: no.one.com

Hi

I am considering creating and editing JavaBeans by GEF.

1) Is there any good example for this? I know Visual Editor does something
like this but it's (a) too complex to be reverse engineered, (b) launches
a second JVM (c) has no API documentation.

2) I guess one important part of doing this would be attaching the beans
to ui.views.properties. The available GEF articles do this by manually
creating IPropertyDescriptor. This could be a question a bit out of GEF:
How is it possible to automatically correspond the properties view to the
beans?

Thanks,
Aureliano
Re: Editing JavaBeans in GEF [message #167199 is a reply to message #167168] Sun, 06 February 2005 18:10 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Even if you find VE to be too complex, you should post these questions on
their newsgroup and they would be able to better answer them.

1) EDiagram example might serve as a good example.

2) Reflection?

"Aureliano" <no@one.com> wrote in message
news:cu59u2$h2m$1@www.eclipse.org...
> Hi
>
> I am considering creating and editing JavaBeans by GEF.
>
> 1) Is there any good example for this? I know Visual Editor does something
> like this but it's (a) too complex to be reverse engineered, (b) launches
> a second JVM (c) has no API documentation.
>
> 2) I guess one important part of doing this would be attaching the beans
> to ui.views.properties. The available GEF articles do this by manually
> creating IPropertyDescriptor. This could be a question a bit out of GEF:
> How is it possible to automatically correspond the properties view to the
> beans?
>
> Thanks,
> Aureliano
>
Re: Editing JavaBeans in GEF [message #167234 is a reply to message #167199] Sun, 06 February 2005 23:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.one.com

Pratik Shah wrote:

> Even if you find VE to be too complex, you should post these questions on
> their newsgroup and they would be able to better answer them.

Yeah I *did* ask them before posting here, and the lead of the project
said it's too complex to understand, your best bet is to start with GEF!

> 1) EDiagram example might serve as a good example.

It would be nice if you could also provide some information about finding
binaries of the example. It's not in the nightly releases and checking it
out by cvs requires N dependencies (the worse is that each dependency
wants M other dependencies). So I am not going to check out the whole
eclipse source to run that little example.

> 2) Reflection?
Re: Editing JavaBeans in GEF [message #167265 is a reply to message #167234] Mon, 07 February 2005 04:37 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
You just need the GEF plugins (draw2d + gef) and the EMF plugins (version
3.0.1). You don't need to check out any of those from CVS (except EDiagram,
that is): you can download them from their respective sites.

"Aureliano" <no@one.com> wrote in message
news:cu67v0$bti$1@www.eclipse.org...
> Pratik Shah wrote:
>
> > Even if you find VE to be too complex, you should post these questions
on
> > their newsgroup and they would be able to better answer them.
>
> Yeah I *did* ask them before posting here, and the lead of the project
> said it's too complex to understand, your best bet is to start with GEF!
>
> > 1) EDiagram example might serve as a good example.
>
> It would be nice if you could also provide some information about finding
> binaries of the example. It's not in the nightly releases and checking it
> out by cvs requires N dependencies (the worse is that each dependency
> wants M other dependencies). So I am not going to check out the whole
> eclipse source to run that little example.
>
> > 2) Reflection?
>
>
Re: Editing JavaBeans in GEF [message #167348 is a reply to message #167265] Mon, 07 February 2005 14:20 Go to previous message
Eclipse UserFriend
Originally posted by: no.one.com

Thanks for the post - I managed the example to work. However, I did not
get the link between my original question and refering me to EDiagram
example.

I re-declare the question again here. I am looking for any eclipse
examples which demonstrates how to creat and edit *JavaBeans* visually. It
seems to me in EDiagram you edit EMF *objects* while I need to edit
*components*. I believe there should be a way to automatically attach
component properties to the properties view (because they are
*components*).

I appreciate it if any GEF developer can help me with this.
Previous Topic:Problem with Local / absolute coordinates
Next Topic:DirectEditProblem- help neede
Goto Forum:
  


Current Time: Tue Sep 24 16:24:33 GMT 2024

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

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

Back to the top