}
public void elementPinMousePressed(MouseEvent e, int elementID, int pin)
{
Element sourceElement = (Element)vmobject.getObjectWithID(elementID);
JPin apin = sourceElement.getPin(pin);
if ( (sourceDataType==apin.dataType ||
sourceDataType==ExternalIF.C_VARIANT ||
apin.dataType==ExternalIF.C_VARIANT) &&
((apin.pinIO==JPin.PIN_INPUT || apin.pinIO==JPin.PIN_INPUT_OUTPUT) && apin.draht==null))