public void RepaintAllWindows()
        {
            if (toolWindow != null)
            {
                toolWindow.Repaint();
            }

            if (fsmSelectorWindow != null)
            {
                fsmSelectorWindow.Repaint();
            }

            if (stateSelectorWindow != null)
            {
                stateSelectorWindow.Repaint();
            }

            if (actionWindow != null)
            {
                actionWindow.Repaint();
            }

            if (globalEventsWindow != null)
            {
                globalEventsWindow.Repaint();
            }

            if (globalVariablesWindow != null)
            {
                globalVariablesWindow.Repaint();
            }

            if (errorWindow != null)
            {
                errorWindow.Repaint();
            }

            if (timelineWindow != null)
            {
                timelineWindow.Repaint();
            }

            if (logWindow != null)
            {
                logWindow.Repaint();
            }

            if (reportWindow != null)
            {
                reportWindow.Repaint();
            }

            if (fsmTemplateWindow != null)
            {
                fsmTemplateWindow.Repaint();
            }

            Repaint();
        }