Esempio n. 1
0
        public void stopWatcher()
        {
            if (classpathWatcher != null)
            {
                classpathWatcher.Dispose();
                classpathWatcher = null;
            }

            if (singleFileWatcher != null)
            {
                singleFileWatcher.Dispose();
                singleFileWatcher = null;
            }

            if (project != null)
            {
                changeState(UIState.Standby);
            }
            else
            {
                changeState(UIState.Disabled);
            }

            ToggleBuildButton.ToolTipText = LocaleHelper.GetString("Label.Start");

            isRunning = false;
        }
Esempio n. 2
0
        public void stopWatcher()
        {
            if (classpathWatcher != null)
            {
                classpathWatcher.Dispose();
                classpathWatcher = null;
            }

            if (singleFileWatcher != null)
            {
                singleFileWatcher.Dispose();
                singleFileWatcher = null;
            }

            if (project != null)
            {
                changeState(UIState.Standby);
            }
            else
            {
                changeState(UIState.Disabled);
            }

            ToggleBuildButton.ToolTipText = LocaleHelper.GetString("Label.Start");

            isRunning = false;
        }