コード例 #1
0
        internal static bool ShowDownloadPlasticExeWindow(bool isGluonMode)
        {
            if (IsExeAvailable.ForMode(isGluonMode))
            {
                return(false);
            }

            DownloadPlasticExeWindow.ShowWindow(isGluonMode);
            return(true);
        }
コード例 #2
0
        static bool IsPlasticInstalling()
        {
            if (!EditorWindow.HasOpenInstances <DownloadPlasticExeWindow>())
            {
                return(false);
            }

            DownloadPlasticExeWindow window = EditorWindow.
                                              GetWindow <DownloadPlasticExeWindow>(null, false);

            if (window == null)
            {
                return(false);
            }

            return(window.IsPlasticInstalling);
        }
コード例 #3
0
        internal static bool ShowDownloadPlasticExeWindow(
            RepositorySpec repSpec,
            bool isGluonMode,
            string installCloudFrom,
            string installEnterpriseFrom,
            string cancelInstallFrom)
        {
            if (IsExeAvailable.ForMode(isGluonMode))
            {
                return(false);
            }

            DownloadPlasticExeWindow.ShowWindow(
                repSpec,
                isGluonMode,
                installCloudFrom,
                installEnterpriseFrom,
                cancelInstallFrom);

            return(true);
        }