We have already "invested" tens of millions into the F-35 in the belief that this will give us a chunk of the West's next major combat aircraft. BAe is to provide aft fuselage and empennages, horizontal and vertical tails, crew life support and escape systems, EW systems, fuel system, and Flight Control Software. So unless the US cancels the entire programme, BAe will remain in the business of aircraft manufacture for some time.
Wonderful news for BAE but how much of a guarantee is that for the UK?
BAE are only as British as BP. They are an international company that will put the work where it generates the most profit, which may NOT be in the UK.