java - Why is a windowOpened event not fired/captured when my Eclipse plug-in starts? -
i writing eclipse plug-in , 1 of classes implements iwindowlistener. result, have few methods must in class including windowopened(iworkbenchwindow window). understanding of windowopened method should called when eclipse application launched , plug-in starts, have included log statements in method , never gets called.
does know why happening? has experienced similar issue?
it should noted other iwindowlistener methods seem work fine. instance, windowclosed method called when exit eclipse application plug-in running in.
probably because time iwindowlistener registered, window open. remember eclipse plug-ins started lazily; unless you've taken steps have plug-in start early, won't started until first time 1 of classes gets loaded.
Comments
Post a Comment