To set Eclipse's preferences download the file CPSC170AS11EclipsePref.epf and choose Import from the Eclipse file menu. Under General select Preferences and click Next. In the next window click the Browse button and select the epf file. Finally, click Finish.
To set set Checkstyle's configuration after installing Checkstyle download the file CPSC170AS11CheckstyleConfig.xml and open the Eclipse Preferences window by choosing Preferences from the Eclipse Window menu. Choose Checkstyle from the side bar and click the New button. Select External Configuration for the Type chooser, type in a Name, and click OK. The config file should now appear in the Global Check Configurations list. Select the config you just added, click the Set as Default button, and click OK.