Recipe 3.10 Creating Delegate Methods

     

Recipe 3.10 Creating Delegate Methods

3.10.1 Problem

You want to create a delegate method for a field.

3.10.2 Solution

Select the field's declaration, and then select Source Generate Delegate Methods.

3.10.3 Discussion

When you select Source Generate Delegate Methods, you'll see a list of methods for which the field will create delegates, as shown in Figure 3-13. Selecting various methods and clicking OK creates delegates for those methods and inserts them in your code.

Figure 3-13. Creating delegate methods
figs/ecb_0313.gif



Eclipse Cookbook
Inside XML (Inside (New Riders))
ISBN: 596007108
EAN: 2147483647
Year: 2006
Pages: 232
Authors: Steve Holzner

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net