Walk to the right, past the gravity panel and turn on the magnetic ceiling using the control panel nearby. There are two large square blocks in this section and our aim from here is to raise the one on the left to the roof, but keep the one on the right glued to the ground.
To do this, we need to return to the gravity panel and turn it on; you should notice that the left block is situated higher in the room than the right hand block, so when you throw the gravity switch wait for the large block above you to rise off the ground a little. When it does, quickly switch it off again. If your timing was good, the left block should be on the ceiling and the right one should be on the ground.
Jump up to the platform beneath the left block, and then again leap across to the central platform above the switch and then once more across to the second block. From here you can climb the ledge on the right.