internal static bool ShowDownloadPlasticExeWindow(bool isGluonMode) { if (IsExeAvailable.ForMode(isGluonMode)) { return(false); } DownloadPlasticExeWindow.ShowWindow(isGluonMode); return(true); }
static bool IsPlasticInstalling() { if (!EditorWindow.HasOpenInstances <DownloadPlasticExeWindow>()) { return(false); } DownloadPlasticExeWindow window = EditorWindow. GetWindow <DownloadPlasticExeWindow>(null, false); if (window == null) { return(false); } return(window.IsPlasticInstalling); }
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); }