In this chapter you examine the Cairngorm Eclipse plug-in, including its installation and basic usage. Eclipse is the program that Flex Builder is built on. The basic documentation for this plug-in can be found at http://opensource.adobe.com/wiki/display/cairngorm/Using.
For the most part the instructions in this chapter will follow those outlined in the documentation. However, there are a number of common issues that you may run into when trying to install and use the plug-in, which are not covered in the documentation, but are covered in this chapter.
The Cairngorm plug-in is an Eclipse plug-in that provides additional tooling to improve productivity for developing with Cairngorm. The initial focus of the Cairngorm plug-in is on the Controller. The aim is to improve productivity by removing the repetitive action of creating a new Command and associated Event and adding them to the Controller. This is accomplished by a new class wizard for the following Cairngorm artifacts:
Controller: Creates a new controller.
Command: Creates a new Event and a new Command and adds them to the Controller.
The class templates used for the codegen are externalized and distributed with a specialized version of the Cairngorm SWC. This enables you to modify the templates to support your own code style.