Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2011-04-19 18:04:50 +0000
committerMartin Fluegge2011-04-19 18:04:50 +0000
commit5f43070587ad5be784224fb7fb4ca27950b2cd17 (patch)
tree2c692db42e9d8c55d47cb62d78e7de6ab85a1ad7 /plugins/org.eclipse.emf.cdo.dawn.ecoretools.diagram.dawn
parent29ddba0e497eed6c214937d052b73cd459bf89d2 (diff)
downloadcdo-5f43070587ad5be784224fb7fb4ca27950b2cd17.tar.gz
cdo-5f43070587ad5be784224fb7fb4ca27950b2cd17.tar.xz
cdo-5f43070587ad5be784224fb7fb4ca27950b2cd17.zip
[333187] [Dawn] Provide integration for Ecore Tools
https://bugs.eclipse.org/bugs/show_bug.cgi?id=333187
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.ecoretools.diagram.dawn')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.ecoretools.diagram.dawn/src/org/eclipse/emf/cdo/dawn/ecoretools/diagram/edit/policies/DawnECoreRootCanonicalEditPolicy.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.ecoretools.diagram.dawn/src/org/eclipse/emf/cdo/dawn/ecoretools/diagram/edit/policies/DawnECoreRootCanonicalEditPolicy.java b/plugins/org.eclipse.emf.cdo.dawn.ecoretools.diagram.dawn/src/org/eclipse/emf/cdo/dawn/ecoretools/diagram/edit/policies/DawnECoreRootCanonicalEditPolicy.java
index 1005cafa6e..c17f5c1565 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.ecoretools.diagram.dawn/src/org/eclipse/emf/cdo/dawn/ecoretools/diagram/edit/policies/DawnECoreRootCanonicalEditPolicy.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.ecoretools.diagram.dawn/src/org/eclipse/emf/cdo/dawn/ecoretools/diagram/edit/policies/DawnECoreRootCanonicalEditPolicy.java
@@ -14,6 +14,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecoretools.diagram.edit.policies.EPackageCanonicalEditPolicy;
import org.eclipse.emf.ecoretools.diagram.part.EcoreDiagramEditorPlugin;
+import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.gmf.runtime.diagram.ui.requests.CreateViewRequest;
import org.eclipse.gmf.runtime.diagram.ui.requests.CreateViewRequest.ViewDescriptor;
import org.eclipse.gmf.runtime.notation.View;
@@ -70,7 +71,7 @@ public class DawnECoreRootCanonicalEditPolicy extends EPackageCanonicalEditPolic
protected void refreshSemantic()
{
deleteOrphanedViews();
- List createdConnectionViews = new LinkedList();
+ List<IAdaptable> createdConnectionViews = new LinkedList<IAdaptable>();
createdConnectionViews.addAll(refreshSemanticConnections());
// createdConnectionViews.addAll(refreshConnections());

Back to the top