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(); }
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]; }
public void Add(MemberRecordFactory view) { list.Add(view); }
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 (); }
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]; }
public void Add (MemberRecordFactory view) { list.Add (view); }