Exemplo n.º 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;
		}
Exemplo n.º 2
0
        /**************************************************************/
        /*                      Constructor
        /**************************************************************/

        protected BaseViewAntHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) {
            fCurrentAnt = aCurrentAnt;
            fAntProject = aAntProject;
        }
Exemplo n.º 3
0
 /**************************************************************/
 /*                      Constructor
 /**************************************************************/
 public ViewAllAntHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) : base (aAntProject, aCurrentAnt) {
 }
Exemplo n.º 4
0
        /**************************************************************/
        /*                      Constructor
        /**************************************************************/

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