Arduino IDE to create sketches for Xprotolab

Hi everyone,

I have just recently purchased a Xprotolab that has a ATXMEGA32A4U on it. I've used the Arduino IDE to create sketches for my Arduino Uno and Sparkfun Red boards before, now I would like to use the Arduino IDE to create sketches for the Xprotolab board. Would this be possible? And also, how would I go about doing so?

Im pretty certain that I will need a programmer to flash the HEX file onto the Xprotolab board. My biggest question is can I use Arduino Sketches on other boards that are not listed under Arduino boards?

Thanks