public void OnFocus()
{
// update handlers. these static handlers are erase when window is full-screened and badk to normal window.
modifyMode = ModifyMode.NONE;
NodeGUIUtility.NodeEventHandler = HandleNodeEvent;
ConnectionGUIUtility.ConnectionEventHandler = HandleConnectionEvent;
}