Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2011-10-30 09:39:04 +0000
committerMartin Fluegge2011-10-30 09:39:04 +0000
commit2aac398d9473d25e90c5583b46d8e72f89f9ba46 (patch)
tree0ee3ef78f6401e797871cf04b4dd5b5c4beebfae /plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo
parent319a26b38370be25077108eb0a3097110f284c89 (diff)
downloadcdo-2aac398d9473d25e90c5583b46d8e72f89f9ba46.tar.gz
cdo-2aac398d9473d25e90c5583b46d8e72f89f9ba46.tar.xz
cdo-2aac398d9473d25e90c5583b46d8e72f89f9ba46.zip
[359656] [Dawn] Provide collaborative extension for Graphiti editors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=359656
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorSupport.java13
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/notifications/DawnGraphitiHandler.java3
2 files changed, 0 insertions, 16 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorSupport.java b/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorSupport.java
index b1d25f40b0..f17d1c78d5 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorSupport.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorSupport.java
@@ -107,19 +107,6 @@ public class DawnGraphitiEditorSupport extends DawnAbstractEditorSupport
public void refresh()
{
- // final DiagramEditor editor = (DiagramEditor)getEditor();
- // TransactionalEditingDomain editingDomain = editor.getEditingDomain();
- // editingDomain.getCommandStack().execute(new RecordingCommand(editingDomain)
- // {
- // @Override
- // public void doExecute()
- // {
- // RootEditPart rootEditPart = editor.getGraphicalViewer().getRootEditPart();
- // DawnAppearancer.setEditPartDefaultAllChildren(rootEditPart);
- // DawnDiagramUpdater.refreshEditPart(rootEditPart);
- // }
- // });
-
DawnEditorHelper.getDisplay().asyncExec(new Runnable()
{
public void run()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/notifications/DawnGraphitiHandler.java b/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/notifications/DawnGraphitiHandler.java
index 73e99bc679..7baf7e8187 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/notifications/DawnGraphitiHandler.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/notifications/DawnGraphitiHandler.java
@@ -23,7 +23,6 @@ import org.eclipse.emf.cdo.transaction.CDOTransaction;
import org.eclipse.emf.cdo.transaction.CDOTransactionConflictEvent;
import org.eclipse.emf.cdo.util.CDOUtil;
import org.eclipse.emf.cdo.util.InvalidObjectException;
-import org.eclipse.emf.cdo.view.CDOView;
import org.eclipse.emf.cdo.view.CDOViewInvalidationEvent;
import org.eclipse.emf.ecore.EObject;
@@ -58,9 +57,7 @@ public class DawnGraphitiHandler extends BasicDawnTransactionHandler
@Override
public void handleViewInvalidationEvent(CDOViewInvalidationEvent event)
{
- CDOView view = editor.getDawnEditorSupport().getView();
editor.getDawnEditorSupport().refresh();
- System.out.println(view);
}
/**

Back to the top