Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » looking for JBuilder event style ... ?
looking for JBuilder event style ... ? [message #46387] Sun, 04 July 2004 02:59 Go to next message
Ivan is currently offline IvanFriend
Messages: 149
Registered: July 2009
Senior Member
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 #46691 is a reply to message #46387] Sun, 04 July 2004 14:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.nospam.us.ibm.com

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 #46698 is a reply to message #46691] Sun, 04 July 2004 17:13 Go to previous messageGo to next message
Ivan is currently offline IvanFriend
Messages: 149
Registered: July 2009
Senior Member
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 #46848 is a reply to message #46387] Mon, 05 July 2004 04:27 Go to previous message
Eclipse UserFriend
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 14:19 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
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 17:13 Go to previous message
Ivan is currently offline IvanFriend
Messages: 149
Registered: July 2009
Senior Member
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 04:27 Go to previous message
Mark George is currently offline Mark GeorgeFriend
Messages: 2
Registered: July 2009
Junior Member
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
>
Previous Topic:Error while creating a Visual Class (Swing)
Next Topic:nothing appears on the jframe (problem setvisible)
Goto Forum:
  


Current Time: Wed Jan 15 13:31:12 GMT 2025

Powered by FUDForum. Page generated in 0.27409 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top