Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Selection events with my model objects
Selection events with my model objects [message #230419] Mon, 12 February 2007 09:16 Go to next message
Igor Semenko is currently offline Igor SemenkoFriend
Messages: 14
Registered: July 2009
Junior Member
I have GEF based editor that essentially manipulates my domain model, say
MyGroup, MyComponent1, MyComponent2 objects. It also has GEF model that
wraps my domain model. When I attach selection listener to the editor, it
receives selection events with GEF-related model objects, but I'm
interested in exposing underlying model, not GEF-model.

Is it possible to receive selection events with my domain objects instead
of GEF's ones? How do you solve this issue? Should I replace selection
provider for GEF editor?

Thanks.
Re: Selection events with my model objects [message #230482 is a reply to message #230419] Tue, 13 February 2007 00:09 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

If your view model (what you call GEF model) is wrapping the business
(domain) model, why can't you just get the business model from it?

"Igor Semenko" <igor@semenko.com> wrote in message
news:003531145182aa43c1c3c9e7bc9d5ef5$1@www.eclipse.org...
>I have GEF based editor that essentially manipulates my domain model, say
>MyGroup, MyComponent1, MyComponent2 objects. It also has GEF model that
>wraps my domain model. When I attach selection listener to the editor, it
>receives selection events with GEF-related model objects, but I'm
>interested in exposing underlying model, not GEF-model.
> Is it possible to receive selection events with my domain objects instead
> of GEF's ones? How do you solve this issue? Should I replace selection
> provider for GEF editor?
>
> Thanks.
>
Previous Topic:Command: InputDialog in canExecute()?
Next Topic:TreeViewer with non-visible objects
Goto Forum:
  


Current Time: Thu Apr 25 04:27:15 GMT 2024

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

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

Back to the top