コード例 #1
0
		/// <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;
		}
コード例 #2
0
        /**************************************************************/
        /*                      Constructor
        /**************************************************************/

        protected BaseViewAntHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) {
            fCurrentAnt = aCurrentAnt;
            fAntProject = aAntProject;
        }
コード例 #3
0
 /**************************************************************/
 /*                      Constructor
 /**************************************************************/
 public ViewAllAntHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) : base (aAntProject, aCurrentAnt) {
 }
コード例 #4
0
        /**************************************************************/
        /*                      Constructor
        /**************************************************************/

        public ViewAntTargetsHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) : base (aAntProject, aCurrentAnt) {
        }