[program-java] Re: Eclipse: List of Commonly Used Features... Part II

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: "'program-java@xxxxxxxxxxxxx'" <program-java@xxxxxxxxxxxxx>
  • Date: Tue, 3 May 2011 16:16:57 -0400

Suzy:

Here are items 1 and two but I don't know where three ever went:

Sorry for taking so long to get back to you but Food Poisoning takes precedence

1. Adding Methods:

Alt + S + R (\Source\Generate Getters and Setters) I find this extremely
helpful when I'm creating a bean / form bean. I first type in all the private
members. Next I evoke the alt + s + r and I'm presented with a window that
lists all the members and a treeview that will allow me to select or deselect
the getters and setters for each. Tab through the dialogue and add or change
the default behaviour at will. Press the Ok button and there you go a fully
generated bean, all accessor methods added properly spelled, arranged by getter
then setter for each member and in the case of a getter on a boolean the name
is prefixed with "is" as in isThisHelpful()..

2. Adding Imports....

CTRL + Shift + O will add the necessary imports fully qualified and as well
delete the ones that are not needed.

3.

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Stanzel, Susan - Kansas 
City, MO
Sent: April 22, 2011 12:30
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Eclipse: List of Commonly Used Features... Part II

Hi Jim C,

I am missing commonly used functions 3 and 4. Would you please send them again?

Susie

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Thursday, March 24, 2011 12:57 PM
To: 'program-java@xxxxxxxxxxxxx'
Subject: [program-java] Eclipse: List of Commonly Used Features... Part II

5. Intellisense...

When dealing with an object, and you want a list of methods or properties 
associated with same.... Press the period key directly after the object name, 
then press the TAB key. A list of items will appear and by using the up and 
down arrows the list will expand. Select the option and press the enter key.

6. List of Applicable Options in a given Context.

CTRL + Space Bar and the TAB Key.

...an example would be if you use the key word "throws" The use of the 
previously mentioned key strokes will list all the exceptions for that given 
context. I don't really know how better to explain it other than what I have 
written.

7.



Other related posts: