/**************************************************************/ /* Constructor/ Destructor /**************************************************************/ internal FrmViewAnt(BaseAntProject aAntProject, BaseAnt aCurrentAnt) { fAntProject = aAntProject; fCurrentAnt = aCurrentAnt; InitializeComponent(); // Create the Sort Manager for lvAll new ListViewSortManager(lvAll, new Type[] { typeof(ListViewTextSort), typeof(ListViewTextSort), typeof(ListViewInt32Sort), typeof(ListViewInt32Sort) }); // Create the Sort Manager for lvTargets new ListViewSortManager(lvTargets, new Type[] { typeof(ListViewTextSort), typeof(ListViewInt32Sort), typeof(ListViewInt32Sort) }); // Create the Sort Manager for lvProperties new ListViewSortManager(lvProperties, new Type[] { typeof(ListViewTextSort), typeof(ListViewInt32Sort), typeof(ListViewInt32Sort) }); }
/// <summary> /// View Ant project structure. /// </summary> /// <param name="viewAntMode">Mode</param> /// <param name="project">Project</param> private void ViewAntProjectStructure(ViewAntMode viewAntMode, BaseAntProject project) { if (project == null) { project = GetAntProject(); } if (project != null) { FrmViewAnt _Frm = new FrmViewAnt(project, CurrentAnt); _Frm.ViewAntMode = viewAntMode; _Frm.ShowDialog(); fLastViewAntMode = _Frm.ViewAntMode; } }
/**************************************************************/ /* 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) { }