private void attachFuelLine()
        {
            targetVessel   = compoundPart.target.vessel;
            targetVesselID = targetVessel.id;
            targetID       = compoundPart.target.craftID;

            if (evaWindow == null)
            {
                evaWindow = gameObject.AddComponent <EVATransfer_Window>();
                evaWindow.setup(transferLF, transferLOX, transferMono, transferXen, transferEC, transferOre, transferAll, this);
            }

            evaWindow.activateVessels(vessel, targetVessel);

            Events["dropEVAFuelLine"].active      = false;
            Events["pickupEVAFuelLine"].active    = false;
            Events["cutEVAFuelLine"].active       = true;
            Events["openEVAFuelTransfer"].active  = true;
            Events["closeEVAFuelTransfer"].active = false;

            OnTargetSet(compoundPart.target);

            connectionDistance = (endCap.transform.position - startCap.transform.position).magnitude;

            Events["cutEVAFuelLine"].unfocusedRange       = connectionDistance + 10;
            Events["openEVAFuelTransfer"].unfocusedRange  = connectionDistance + 10;
            Events["closeEVAFuelTransfer"].unfocusedRange = connectionDistance + 10;

            compoundPart.attachState = CompoundPart.AttachState.Detached;
            EVAAttachState           = CompoundPart.AttachState.Attached;
        }