wt.tools.profiler
Class ProfilerWindowHandler

java.lang.Object
  extended byjava.awt.event.WindowAdapter
      extended bywt.tools.profiler.ProfilerWindowHandler
All Implemented Interfaces:
EventListener, WindowFocusListener, WindowListener, WindowStateListener

public class ProfilerWindowHandler
extends WindowAdapter
implements WindowListener

Whenever the main window is closed or user exits the application the windchill server should be forced to stop profiling. This class ensures that profiling is disabled in those situations.


Field Summary
(package private)  ProfilerMainPanel profilerPane
           
 
Constructor Summary
ProfilerWindowHandler(ProfilerMainPanel mainWindow)
           
 
Method Summary
 void windowClosing(WindowEvent e)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.WindowListener
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 

Field Detail

profilerPane

ProfilerMainPanel profilerPane
Constructor Detail

ProfilerWindowHandler

public ProfilerWindowHandler(ProfilerMainPanel mainWindow)
Method Detail

windowClosing

public void windowClosing(WindowEvent e)
Specified by:
windowClosing in interface WindowListener