Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Using generated Edit code for the property sheet of a custom GEF application
Using generated Edit code for the property sheet of a custom GEF application [message #169601] Thu, 24 February 2005 21:43 Go to next message
Eclipse UserFriend
Originally posted by: rudi.vaum.net

Hi,

I'm using emf to generate my java model code from ecore.
On top of that I run a custom GEF visual editor.

I was wondering if I could use the generated 'edit' plugin to easily obtain
a
the properties sheet like the generated editor has.

What are the main steps to achieve that?
Are there any examples of such usage?

Thanks
Rudi
Re: Using generated Edit code for the property sheet of a custom GEF application [message #169619 is a reply to message #169601] Fri, 25 February 2005 02:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alnospammajor.noboxspamspoon.com

i believe the "ediagram" GEF sample in CVS (not yet in the main
distribution) is what you want.

follow the CVS Repository link from the main GEF page for more details
on the GEF CVS.

Rudi Vaum wrote:
> Hi,
>
> I'm using emf to generate my java model code from ecore.
> On top of that I run a custom GEF visual editor.
>
> I was wondering if I could use the generated 'edit' plugin to easily obtain
> a
> the properties sheet like the generated editor has.
>
> What are the main steps to achieve that?
> Are there any examples of such usage?
>
> Thanks
> Rudi
>
>
>
Re: Using generated Edit code for the property sheet of a custom GEF application [message #169850 is a reply to message #169601] Sun, 27 February 2005 22:42 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Integrating EMF.Edit with GEF isn't the cleanest or easiest of tasks. GEF
recommends that you create your own property sources, which shouldn't be any
more difficult or time-consuming than integrating EMF ones.

Off the record, you can look at the GEF's EDiagram example (as Al mentioned
already). It demonstrates how EMF providers can be used as property
sources. However, be warned, that that example has a few bugs in the
property sheet. Also, the functionality in the example is going to change
in the near future, so that we're using custom-made property sources, and
avoiding EMF.Edit altogether.

"Rudi Vaum" <rudi@vaum.net> wrote in message
news:cvlhr0$c11$1@www.eclipse.org...
> Hi,
>
> I'm using emf to generate my java model code from ecore.
> On top of that I run a custom GEF visual editor.
>
> I was wondering if I could use the generated 'edit' plugin to easily
obtain
> a
> the properties sheet like the generated editor has.
>
> What are the main steps to achieve that?
> Are there any examples of such usage?
>
> Thanks
> Rudi
>
>
>
Previous Topic:Palette View Problem in a MultiPageEdit
Next Topic:FigureCanvas exemple request
Goto Forum:
  


Current Time: Tue Apr 16 07:25:22 GMT 2024

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

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

Back to the top