I resorted to a editor template like this for example with the cursor
landing on the lowercase letter that needs to be fixed.
protected ${return_type} _${variable_name};
/**..eturn ${what}
* Lazy pull synchronization of the binding named ${variable_name} */
public ${return_type} ${variable_name}() {
if ( _${variable_name} == null ) {
_${variable_name} = (${return_type})valueForBinding( "$
{variable_name}" );
}
return _${variable_name};
}
/** param ${variable_name} ${what}
* Sets the value and pushes to parent through binding named $
{variable_name} */
public void set${cursor}${variable_name}(${return_type} $
{variable_name}){
_${variable_name} = ${variable_name};
setValueForBinding( _${variable_name}, "${variable_name}" );
}
On May 5, 2007, at 12:36 PM, Miguel Arroz wrote:
> Hi!
>
> Does anybody know how can I use the Eclipse "Generate getters and
> setters" functionality, but with the getters being generated the
> "Apple way"? IE, without the irritating "get" word on it. I have
> looked everywhere in the configs, and could not find anything useful.
>
> Yours
>
> Miguel Arroz
>
> "We have no sympathy for the lost souls
> We've chosen the path of disgrace
> We give this life to our children
> And teach them to hate this place" -- Apocalyptica, Life Burns!
>
> Miguel Arroz
> http://www.ipragma.com
>
>
This archive was generated by hypermail 2.0.0 : Sat May 05 2007 - 12:58:35 EDT