* Implementation of a connection EditPart.
*/
public abstract class ElementConnectionEditPart extends AbstractConnectionEditPart implements ModelListener {
protected void createEditPolicies() {
ConnectionEditPolicy connectionEditPolicy = new ConnectionEditPolicy();
connectionEditPolicy.setDefaultElementConnectionFactory(getDefaultElementConnectionFactory());
installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new ConnectionEndpointEditPolicy());
installEditPolicy(EditPolicy.CONNECTION_ROLE, connectionEditPolicy);
installEditPolicy(EditPolicy.CONNECTION_BENDPOINTS_ROLE, new ConnectionBendpointEditPolicy());
}