Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » EMF property source provider in GEF?
EMF property source provider in GEF? [message #223894] Fri, 06 October 2006 13:18 Go to next message
Eclipse UserFriend
Originally posted by: jan.peknik.tietoenator.com

Hello,

it seems that there is some 'Gotcha' in the using EMF property descriptor
constructed from IItemPropertySource generated by EMF. I found that many
people had
the same problem with some property value wrapper and getEditableValue()
something not being called,
which result in some class cast exception during editing properties.

Is there som easy way to use emf generated item providers as property
sources in GEF editor?

Thanks, J.Peknik
Re: EMF property source provider in GEF? [message #223899 is a reply to message #223894] Fri, 06 October 2006 17:02 Go to previous message
Eclipse UserFriend
Originally posted by: something.eclipse.org

It can be done, but I wouldn't call it easy. There are lots of posts
about different things people have tried. I personally found that for
my particular case, it was more trouble than it was worth and still
didn't provide much flexibility. If you have a simple model, it may be
fine.

adam
Jan Peknik wrote:
> Hello,
>
> it seems that there is some 'Gotcha' in the using EMF property descriptor
> constructed from IItemPropertySource generated by EMF. I found that many
> people had
> the same problem with some property value wrapper and getEditableValue()
> something not being called,
> which result in some class cast exception during editing properties.
>
> Is there som easy way to use emf generated item providers as property
> sources in GEF editor?
>
> Thanks, J.Peknik
>
>
Previous Topic:Cut Copy and paste Implementation
Next Topic:draw2D
Goto Forum:
  


Current Time: Fri Dec 03 05:05:45 GMT 2021

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

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

Back to the top