Esempio n. 1
0
        /**************************************************************/
        /*                    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)
                                    });
        }
Esempio n. 2
0
		/// <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;
            }
        }
Esempio n. 3
0
        /**************************************************************/
        /*                      Constructor
        /**************************************************************/

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

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