| looking for JBuilder event style ... ? [message #46387] | 
Sat, 03 July 2004 22:59   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi all, 
 
    Is there anyway that I can set the way the VE generate the event  
code ? I found out the VE used inner class style, is there anyway that I  
can have some thing like JBuilder and 10g style ? 
 
Thanks
 |  
 |  
  | 
 | 
 | 
| Re: looking for JBuilder event style ... ? [message #46848 is a reply to message #46387] | 
Mon, 05 July 2004 00:27   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: bug.off.nastyspam.com 
 
Hi Ivan. 
 
Correct me if I'm wrong - I haven't used JBuilder since I discovered  
Eclipse, but the last version I used (7 or 8) did exactly the same as  
the VE (anonymous inner classes) except that the inner class invoked a  
method in the outer class. 
 
You can do this in Eclipse pretty easily.  Just add a call to a method  
(that doesn't exist yet) from inside the listener's method passing the  
event as a parameter, and hit control-1 to start quickfix, then select  
the option that declares the method in the outer class. 
 
That leaves you with exactly the same as what JBuilder gives you, and is  
a relatively quick and painless way of doing it. 
 
Cheers, 
 
Mark 
 
 
Ivan wrote: 
> Hi all, 
>  
>    Is there anyway that I can set the way the VE generate the event code  
> ? I found out the VE used inner class style, is there anyway that I can  
> have some thing like JBuilder and 10g style ? 
>  
> Thanks 
>
 |  
 |  
  | 
| Re: looking for JBuilder event style ... ? [message #594027 is a reply to message #46387] | 
Sun, 04 July 2004 10:19   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hello Ivan, 
 
Currently there isn't support for generating other event styles with the  
VE.  The VE should be able to parse JBuilder's event style though.  
Making VE more flexible in the code styles that it generates is a  
feature we're planning for future versions. 
 
  - Jeff 
 
Ivan wrote: 
 
> Hi all, 
>  
>    Is there anyway that I can set the way the VE generate the event code  
> ? I found out the VE used inner class style, is there anyway that I can  
> have some thing like JBuilder and 10g style ? 
>  
> Thanks 
>
 |  
 |  
  | 
| Re: looking for JBuilder event style ... ? [message #594035 is a reply to message #46691] | 
Sun, 04 July 2004 13:13   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
ohhh...... but... hey~ thanks~! good to hear bout the future plan~ 
 
Thanks 
 
Jeff Myers wrote: 
 
> Hello Ivan, 
> 
> Currently there isn't support for generating other event styles with  
> the VE.  The VE should be able to parse JBuilder's event style though.  
> Making VE more flexible in the code styles that it generates is a  
> feature we're planning for future versions. 
> 
>  - Jeff 
> 
> Ivan wrote: 
> 
>> Hi all, 
>> 
>>    Is there anyway that I can set the way the VE generate the event  
>> code ? I found out the VE used inner class style, is there anyway  
>> that I can have some thing like JBuilder and 10g style ? 
>> 
>> Thanks 
>>
 |  
 |  
  | 
| Re: looking for JBuilder event style ... ? [message #594113 is a reply to message #46387] | 
Mon, 05 July 2004 00:27   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Ivan. 
 
Correct me if I'm wrong - I haven't used JBuilder since I discovered  
Eclipse, but the last version I used (7 or 8) did exactly the same as  
the VE (anonymous inner classes) except that the inner class invoked a  
method in the outer class. 
 
You can do this in Eclipse pretty easily.  Just add a call to a method  
(that doesn't exist yet) from inside the listener's method passing the  
event as a parameter, and hit control-1 to start quickfix, then select  
the option that declares the method in the outer class. 
 
That leaves you with exactly the same as what JBuilder gives you, and is  
a relatively quick and painless way of doing it. 
 
Cheers, 
 
Mark 
 
 
Ivan wrote: 
> Hi all, 
>  
>    Is there anyway that I can set the way the VE generate the event code  
> ? I found out the VE used inner class style, is there anyway that I can  
> have some thing like JBuilder and 10g style ? 
>  
> Thanks 
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04218 seconds