[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Diagram Partitioning, problems at saving and synchronization

Hi Javier,

since I am running into similar problems with my partitiones, shared
EditingDomain editor, could you please point out the adjustments you made?

Do you mean handleElementChanged() ? What to do there?

Furthermore it seems that ???DiagramEditor::getNavigatorSelection()
needs adjustments to check whether diagram.eResource() isn't null.

Thanks & regards
Andreas


Javier schrieb:
> Working further on this issue of synchronization, I got several times
> the problem of "apparently" losing the View elements of a Diagram and
> not being able to work with it.
> 
> The fact of sharing the EditingDomain was triggering some code in the
> handleResourceChanged method that was unloading the resource of one of
> the diagrams. That was why afterwards I couldn't modify anything ... so
> it is necessary to make some adjustments to the ones made in the
> EcoretoolsPlugin, in the DocumentProvider.
> 
>