Cairngorm Plugin
The Cairngorm Plugin is an Eclipse plugin that augments Flex Builder to provide tooling that improves productivity when developing Cairngorm-based RIAs.
The initial focus of the Cairngorm Plugin is on the Controller. It aims to improve productivity by removing the repetitive action of creating a new Command and associated Event and adding them to the Controller.
It provides 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 Cairngorm. This allows you to modify the templates to support your own code style.
To learn how to use the Cairngorm Plugin please see the Plugin Documentation.
System Requirements
The Cairngorm Plugin has been developed for Flex Builder 3. Please refer to the Flex Builder 3 system requirements.
Installation
Eclipse and Flex Builder
To install the Cairngorm Plugin you will need to have Eclipse and Flex Builder installed.
Firstly, you must install Eclipse. We recommend the Eclipse IDE for Java EE Developers package, which can be downloaded from here.
After you have Eclipse installed you must install the Flex Builder plugins, which can be downloaded from here.
If you are new to Eclipse and want to learn more please see the Eclipse “Getting Started” resources.
Cairngorm Plugin
The Cairngorm Plugin is installed from an Eclipse update site:
- Within Eclipse go to Help > Software Updates > Find and Install…
- Choose Search for new features to install and click Next.
- Create a New Remote Site…
- Enter a Name (e.g. Cairngorm) and the following URL: http://download.macromedia.com/pub/opensource/cairngorm/plugin/
- Follow the installation wizard.
Cairngorm
- Download cairngorm2_2_2beta-bin.zip.
- Extract the ‘cairngorm2_2_2beta-bin.zip’ on your local machine to a folder of your choice.
This is a beta release to enable use of the Cairngorm Plugin. The SWC has been compiled with Flex 3, which required code changes that we have not yet focused on making backward compatible with Flex 2. It also contains a number of bug fixes (see the release notes for details). We can not guarantee that the final release of 2.2.2 will contain these bug fixes and we may decide to support backward compatibility with Flex 2. These decisions will not be made until the Cairngorm Committee has consulted with the community. At this time we do not recommend that you use this SWC in your projects. You can safely use the Cairngorm Plugin with the Cairngorm 2.2.1 SWC, which can be downloaded from here, it only requires the 2.2.2Codegen-beta distribution for the codegen templates that are packaged with Cairngorm.