European Union officials are trying to work out how to turn their anxiety about an increasingly hostile world into action.