Exemplo n.º 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();
        }
Exemplo n.º 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];
        }
Exemplo n.º 3
0
 public void Add(MemberRecordFactory view)
 {
     list.Add(view);
 }
Exemplo n.º 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 ();
		}
Exemplo n.º 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];
		}
Exemplo n.º 6
0
		public void Add (MemberRecordFactory view)
		{
			list.Add (view);
		}