Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2010-06-01 13:56:42 -0400
committerMartin Fluegge2010-06-01 13:56:42 -0400
commit6ba74cd5cfa431aef44761c6489137ced02a2208 (patch)
tree96a37130e0929fbbaed0923e6f27577114d074e1 /plugins/org.eclipse.emf.cdo.dawn.codegen
parentd6475a91a854c9e4e62534d9e22c19b55cef06e4 (diff)
downloadcdo-6ba74cd5cfa431aef44761c6489137ced02a2208.tar.gz
cdo-6ba74cd5cfa431aef44761c6489137ced02a2208.tar.xz
cdo-6ba74cd5cfa431aef44761c6489137ced02a2208.zip
[308232] [Dawn] Develop collaborative support for GMF on CDO
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308232
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.codegen')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
index 3e8263cbaa..e6aa21feda 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
@@ -663,7 +663,8 @@ public class «this.dawnDocumentProviderClassName» extends «this.GMFGenEditorGene
private TransactionalEditingDomain createEditingDomain()
{
TransactionalEditingDomain editingDomain = DawnDiagramEditingDomainFactory.getInstance().createEditingDomain();
- editingDomain.setID("org.eclipse.emf.cdo.dawn.reference.editor.diagram.EditingDomain"); //$NON-NLS-1$
+
+ editingDomain.setID("«this.GMFGenEditorGenerator.diagram.editingDomainID»"); //$NON-NLS-1$
final NotificationFilter diagramResourceModifiedFilter = NotificationFilter.createNotifierFilter(
editingDomain.getResourceSet()).and(NotificationFilter.createEventTypeFilter(Notification.ADD)).and(
NotificationFilter.createFeatureFilter(ResourceSet.class, ResourceSet.RESOURCE_SET__RESOURCES));

Back to the top