예제 #1
0
        private void MemberFilterSelectionChanged(object o, EventArgs args)
        {
            TreeSelection selection = (TreeSelection)o;
            TreeModel     model;
            TreeIter      iter;

            //Console.WriteLine ("changed {0}", selection);
            if (selection != null)
            {
                selection.GetSelected(out model, out iter);
                if (model != null)
                {
                    memberView.RecordFactory = factory = recordFactory [Row(iter)];
                }
            }
            RefreshICSelector();
        }
예제 #2
0
        private void SetupFormatters()
        {
            AllRecordFactory all;

            recordFactory     = new MemberRecordFactory [6];
            recordFactory [0] = all = new AllRecordFactory(flags);
            recordFactory [1] = new FieldRecordFactory(flags);
            recordFactory [2] = new PropertyRecordFactory(flags);
            recordFactory [3] = new MethodRecordFactory(flags);
            recordFactory [4] = new ConstructorRecordFactory(flags);
            recordFactory [5] = new EventRecordFactory(flags);
            all.Add(recordFactory [1]);
            all.Add(recordFactory [2]);
            all.Add(recordFactory [3]);
            all.Add(recordFactory [4]);
            all.Add(recordFactory [5]);
            factory = recordFactory [0];
        }
예제 #3
0
 public void Add(MemberRecordFactory view)
 {
     list.Add(view);
 }
예제 #4
0
		private void MemberFilterSelectionChanged (object o, EventArgs args)
		{
			TreeSelection selection = (TreeSelection) o;
			TreeModel model;
			TreeIter iter;

			//Console.WriteLine ("changed {0}", selection);
			if (selection != null) {
				selection.GetSelected (out model, out iter);
				if (model != null) {
					memberView.RecordFactory = factory = recordFactory [Row (iter)];
				}
			}
			RefreshICSelector ();
		}
예제 #5
0
		private void SetupFormatters ()
		{
			AllRecordFactory all;

			recordFactory = new MemberRecordFactory [6];
			recordFactory [0] = all = new AllRecordFactory (flags);
			recordFactory [1] = new FieldRecordFactory (flags);
			recordFactory [2] = new PropertyRecordFactory (flags);
			recordFactory [3] = new MethodRecordFactory (flags);
			recordFactory [4] = new ConstructorRecordFactory (flags);
			recordFactory [5] = new EventRecordFactory (flags);
			all.Add (recordFactory [1]);
			all.Add (recordFactory [2]);
			all.Add (recordFactory [3]);
			all.Add (recordFactory [4]);
			all.Add (recordFactory [5]);
			factory = recordFactory [0];
		}
예제 #6
0
		public void Add (MemberRecordFactory view)
		{
			list.Add (view);
		}