/*******************************************************************************
 * Copyright (c) 2011 Bolton University, UK.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the License
 * which accompanies this distribution in the file LICENSE.txt
 *******************************************************************************/
package uk.ac.bolton.archimate.editor.diagram.sketch.editparts;

import uk.ac.bolton.archimate.editor.diagram.editparts.diagram.GroupEditPart;
import uk.ac.bolton.archimate.editor.diagram.sketch.policies.SketchDNDEditPolicy;


/**
 * Sketch Group Edit Part
 * 
 * @author Phillip Beauvoir
 */
public class SketchGroupEditPart extends GroupEditPart {
    
    @Override
    protected void createEditPolicies() {
        super.createEditPolicies();
        
        // Install our own DND policy
        installEditPolicy("DND", new SketchDNDEditPolicy());
    }

}

@@ -458,16 +458,54 @@
 rts;%0D%0A%0D%0A
+import org.eclipse.gef.EditPolicy;%0D%0A%0D%0A
 import u
@@ -575,16 +575,102 @@
 tPart;%0D%0A
+import uk.ac.bolton.archimate.editor.diagram.sketch.policies.SketchConnectionPolicy;%0D%0A
 import u
@@ -974,24 +974,24 @@
 olicies();%0D%0A
-
         %0D%0A  
@@ -984,24 +984,162 @@
 %0D%0A        %0D%0A
+        // Install our own connection policy%0D%0A        installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new SketchConnectionPolicy());%0D%0A%0D%0A
         // I

Fix regression: SketchGroupEditPart needs SketchConnectionPolicy