commit | f980373671cea3535b943bdc979277cff93c3029 | [log] [tgz] |
---|---|---|
author | storaskar <storaskar> | Thu Oct 25 19:44:58 2007 +0000 |
committer | storaskar <storaskar> | Thu Oct 25 19:44:58 2007 +0000 |
tree | 7879e61fd6204fb9cc1fcfd1c024fe537fa02403 | |
parent | a19df0bca7328d1a4aaceccf19ce7036a35930ba [diff] |
Fix compilation error
diff --git a/org.eclipse.epf.diagram.tests/src/org/eclipse/epf/diagram/tests/DiagramUIServiceTest.java b/org.eclipse.epf.diagram.tests/src/org/eclipse/epf/diagram/tests/DiagramUIServiceTest.java index 04cea33..594ceed 100644 --- a/org.eclipse.epf.diagram.tests/src/org/eclipse/epf/diagram/tests/DiagramUIServiceTest.java +++ b/org.eclipse.epf.diagram.tests/src/org/eclipse/epf/diagram/tests/DiagramUIServiceTest.java
@@ -82,7 +82,7 @@ tasks); diagramUIService = new DiagramUIService(); - DiagramManager mgr = DiagramManager.getInstance(cp1); + DiagramManager mgr = DiagramManager.getInstance(cp1, this); Diagram diagram = null; try { Transaction tx = mgr.getEditingDomain().startTransaction(false, @@ -151,7 +151,7 @@ e.printStackTrace(); } finally { if (mgr != null) { - mgr.release(); + mgr.removeConsumer(this); } } }