RE: [flexcoders] A great feature for Flex Builder would be getter and setter automation.

2008-06-20 Thread Gregor Kiddie
I believe this is already on the list of most requested features for
Flex Builder 4.

In the meantime, you can use snippets to make your life a little easier.

http://www.insideria.com/2008/04/flex-builder-enhancements-snippets-and-
todo.html

(Sample snippets code for this)

private var _${PROP_NAME};

[Bindable]

public function set ${PROP_NAME}( ${PROP_NAME} : ${PROP_TYPE} ) : void {

  _${PROP_NAME} = ${PROP_NAME};

}

 

public function get ${PROP_NAME}() : ${PROP_TYPE} {

  return _${PROP_NAME};

}

()

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
blocked::http://www.inps.co.uk/ 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED]



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of adrianpomilio
Sent: 20 June 2008 02:26
To: flexcoders@yahoogroups.com
Subject: [flexcoders] A great feature for Flex Builder would be getter
and setter automation.

 

I use eclipse for Java development and there is a great feature where
you highlight your class variables, right click and select 'generate
getters and setters'. What a time saver.

Is there any plugins for Flex Builder that will do this? It is
getting annoying to type in the same basic plumbing for every class.






Re: [flexcoders] A great feature for Flex Builder would be getter and setter automation.

2008-06-20 Thread Tom Chiverton
On Friday 20 Jun 2008, adrianpomilio wrote:
 I use eclipse for Java development and there is a great feature where
 you highlight your class variables, right click and select 'generate
 getters and setters'.  What a time saver.

Yup. It's standard fare in the J2EE IDE world too. Along with 'make (this 
public var) private with public getter and/or setter' etc.

 Is there any plugins for Flex Builder that will do this?

Nope, not seen any, you could vote for/create a bug in Jira though.

 If there isn't then maybe we have a community project ;-)

The trouble is, and this is also true of ColdFusion developers using Eclipse, 
that there is a fairly small cross over of skill between those who can write 
Java and those who use Java-based tools. In CF land, the recent backing from 
RedHat/JBoss and launching of two (!) open source Java CFML engines may help 
attract Java developers who can, but in Flex land I don't see that happening.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/