Model / Domain Relationship Question [message #241326] |
Wed, 06 February 2008 22:13 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02640 seconds