Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Model / Domain Relationship Question
Model / Domain Relationship Question [message #241326] Wed, 06 February 2008 22:13 Go to next message
Eclipse UserFriend
Originally posted by: dlarson42.gmail.com

Hi,

I would like to use GEF to manage the editing of a model that would be
spread across several UI locations. Some locations are RCP views and
some are RCP editors. A given item in the model would only reside at a
single location. A user should be able to edit model items within a
location or drag them between locations.

Looking at the GEF docs I get the impression that a DefaultDomain is
associated with a CommandStack (good) and an EditPartViewer (this seems
bad!). For my application the CommandStack should represent changes
against the overall model which may impact various renderings (in the
case of a move between locations.)

Is GEF up to the task for this? My gut feel is I'm missing some
essential element that would glue the concepts together.

Dale
Re: Model / Domain Relationship Question [message #241334 is a reply to message #241326] Thu, 07 February 2008 03:28 Go to previous message
Eclipse UserFriend
Originally posted by: none.ibm.com

Multiple domains can share a command stack with each other (by reference).

"Dale" <dlarson42@gmail.com> wrote in message
news:fodbeg$ef1$1@build.eclipse.org...
> Hi,
>
> I would like to use GEF to manage the editing of a model that would be
> spread across several UI locations. Some locations are RCP views and some
> are RCP editors. A given item in the model would only reside at a single
> location. A user should be able to edit model items within a location or
> drag them between locations.
>
> Looking at the GEF docs I get the impression that a DefaultDomain is
> associated with a CommandStack (good) and an EditPartViewer (this seems
> bad!). For my application the CommandStack should represent changes
> against the overall model which may impact various renderings (in the case
> of a move between locations.)
>
> Is GEF up to the task for this? My gut feel is I'm missing some essential
> element that would glue the concepts together.
>
> Dale
Previous Topic:Exception in gef shapes example:java.lang.NoClassDefFoundError: Could not initialize class org.eclip
Next Topic:Add SWT button to a GEF diagram
Goto Forum:
  


Current Time: Thu Apr 18 18:19:51 GMT 2024

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

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

Back to the top