On this connection you will never step foot in Terminal 2. It doesn't have any gates. Terminal 2 is only the location of the check-in counter for people beginning their trip in HK for a small # of airlines.
You will arrive in Terminal 1, you can check-in to your Thai flight at the transfer desk if necessary, and go through the transfer security screening. This all happens within the terminal 1 building. HKIA is one of the most efficient airports on the planet. One hour connections in HK are not a problem as long as the flights arrive close to on time.