|
Re: Sharing Event Listener [message #106293 is a reply to message #106279] |
Mon, 12 September 2005 19:59 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
We don't facilitate sharing of event handlers between instances. The
"use existing class" means use an existing handler of same type on same
instance to listen for a different event that the handler type can
handle. For instance, WindowListener has several events, windowClosed,
windowOpened, etc. Now say you were listening on one window for
windowClosed. Now you also want to listen to windowOpened using the same
handler. In this case the use existing class will be enabled because you
are using the same handler for two events that occur on the same type of
handler for the same instance.
We only support the old IBM VisualAge for Java style of sharing event
handlers between instances visually. But that is not what you want here.
You can only do it through the code and not visually.
--
Thanks,
Rich Kulp
|
|
|
Re: Sharing Event Listener [message #610743 is a reply to message #106279] |
Mon, 12 September 2005 19:59 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
We don't facilitate sharing of event handlers between instances. The
"use existing class" means use an existing handler of same type on same
instance to listen for a different event that the handler type can
handle. For instance, WindowListener has several events, windowClosed,
windowOpened, etc. Now say you were listening on one window for
windowClosed. Now you also want to listen to windowOpened using the same
handler. In this case the use existing class will be enabled because you
are using the same handler for two events that occur on the same type of
handler for the same instance.
We only support the old IBM VisualAge for Java style of sharing event
handlers between instances visually. But that is not what you want here.
You can only do it through the code and not visually.
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.03066 seconds