get/set methods for a bunch of variables

Hello All,

If a right click on a member variable on my class and go into the tools menu, I can see an option

"generate r/w property" but If I select a bunch of them then this option disappears!

today if I have to put get set functions for the member variables of my class then I have to

right click on each one of them and go to tools. Why not do all the get set in one shot?

regards,

Abhi.

[447 byte] By [NetBean] at [2007-11-25 16:47:28]
# 1

If you select multiple attributes for a java class node from the explorer,

you can

generate multiple getter/setters for them at one go from the context menu

item

"generate r/w property".

Where are you right clicking the member variable from? The source editor? I

didn't see

this option in the Tools context menu in source editor.

Sumit.

==========================================

Sumit Kishore

ESX Cougar

(408) 875 0158

sumit.kishore@kla-tencor.com

http://sumit-kishore.tripod.com

--Original Message--

From: NetBean [mailto:nospam@nospam.org]

Sent: Thursday, July 18, 2002 2:23 AM

To: nbusers@netbeans.org

Subject: get/set methods for a bunch of variables

Hello All,

If a right click on a member variable on my class and go into the tools

menu, I can see an option

"generate r/w property" but If I select a bunch of them then this option

disappears!

today if I have to put get set functions for the member variables of my

class then I have to

right click on each one of them and go to tools. Why not do all the get set

in one shot?

regards,

Abhi.

Kishore,Sumit at 2007-7-2 23:27:27 > top of Java-index,Archived Forums,Sun ONE Studio 4...