updating ModelicaDecorator to the new decorator interface of DiagramDesginer

custom logic to filter connectable endpoints to elements of the same
Modelica domain as the source of the connection