/// <summary> /// Validates a tool is installed. /// </summary> /// <param name="tool">Tool</param> /// <returns>true if it is, false if not.</returns> public static bool ValidateToolInstalled(BaseTool tool) { if (tool == null) { return false; } if (!tool.Installed) { ShowWarning(String.Format(CultureInfo.InvariantCulture, "{0} is not correctly installed or not found, check your preferences !", tool.GetName())); return false; } return true; }
/**************************************************************/ /* Constructor /**************************************************************/ protected BaseViewAntHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) { fCurrentAnt = aCurrentAnt; fAntProject = aAntProject; }
/**************************************************************/ /* Constructor /**************************************************************/ public ViewAllAntHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) : base (aAntProject, aCurrentAnt) { }
/**************************************************************/ /* Constructor /**************************************************************/ public ViewAntTargetsHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) : base (aAntProject, aCurrentAnt) { }