[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Anyone used Multiple Editors on one model ?

Hello Alan,

I can suggest you two different options:

one is to share EditingDomain instance across these two editors â as a result youâll have exactly the same instances of all the objects in both editors, so there will be no updating problem, but undo/redo and dirty state will be shared across these editors.

Another option is to perform synchronization between these editors on saving via Eclipse Resources.

Both approaches has pro- and contra- s and you just have to choose how to implement your editor. In general I think second option can be extended with some more intelligent (domain model specific?) merging algorithm.

-----------------
Alex Shatalin