public void initEmbeddedConnections()
{
// handle embedded connections
if (!this.definition.getEmbeddedConnections().isEmpty())
{
IDiagramExplicitConnectionBindingDef embeddedConnDef =
this.definition.getEmbeddedConnections().get( 0 );
this.embeddedConnTemplate = new DiagramEmbeddedConnectionTemplate(embeddedConnDef);
IDiagramConnectionDef connDef = this.diagramEditor.getDiagramConnectionDef(embeddedConnDef.getConnectionId().content());
this.embeddedConnTemplate.init(this, this.modelElement, connDef, Collections.<String,String>emptyMap());
this.embeddedConnTemplate.initialize();
}
}