package smart_gs.swingui;

import java.awt.event.WindowEvent;
import java.awt.event.WindowFocusListener;
import java.awt.event.WindowListener;


import smart_gs.smleditor.swingui.GSKeyEventPost;

public class WorkspaceWindowFocusListener implements WindowFocusListener {
	

	@Override
	public void windowGainedFocus(WindowEvent e) {
		WorkspaceWindow window = WorkspaceWindow.getInstance();
		GSKeyEventPost kep = window.getKeyEventPost();
		kep.refresh();		
	}

	@Override
	public void windowLostFocus(WindowEvent e) {
		// TODO Auto-generated method stub
		
	}

}
