O'Reilly logo

Professional Cairngorm™ by Jeremy Wischusen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 27. Cairngorm Plug-in

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required