Auto-Generate Getters and Setters in Flex Builder
Posted: December 21st, 2007 | Author: Tiago Bilou | Filed under: Actionscript3, Tutorial | 6 Comments »I've been writing a lot of getters and setters lately (and spending way too much time doing that...), so I googled for some sort of plug-in for Eclipse/Flex Builder and found a great resource called Project Dash Here's a nice script to use with Dash to generate getters and setters for your variables
- Inside FlexBuilder goto Help->Software Updates->Find and Install (if you ran into an error about retrieving "feature.xml" delete the site.xml file in your Flex Builder directory)
- add the remote update url ; update and restart
- when you restart you should see a Scripts menu and a Project in your workplace called Eclipse Monkey Examples
- Create a new file (with a .js extension) in the scripts folder inside the Eclipse Monkey Examples
- Write you monkey script in there (copy and paste the script to generate the getters and setters into the new file)
References:
Post with script to generate Getters and Setters
Purrrfect, just what i needed
I have created few Eclipse Monkey Scripts for generate event handlers.
http://panellabs.net/eclipse-monkey-asctionsript-generate-scripts/
Interestingly was, but there is someone who does not quite agree with the author?
Hi
When i try to connect the url(http://download.eclipse.org/technology/dash/update/) through Flex Builder 3 .It says netwotk error. Though i am able to acess through browser
http://download.eclipse.org/technology/dash/update/.
I have also delete site.xml file.
Any help is appreciated.
Thanks
Rajan
Still …: any help is appreciated.
The update site does not work any more. I think it is archived.