/// <summary> /// /// </summary> /// <param name="parent"></param> public override void Install(DataTree parent) { CheckDisposed(); base.Install(parent); PhonologicalFeatureListDlgLauncher ctrl = (PhonologicalFeatureListDlgLauncher)Control; m_flid = GetFlid(m_configurationNode, m_obj); if (m_flid != 0) { m_fs = GetFeatureStructureFromOwner(m_obj, m_flid); } else { m_fs = m_obj as FsFeatStruc; m_flid = (int)FsFeatStruc.FsFeatStrucTags.kflidFeatureSpecs; } ctrl.Initialize((FdoCache)Mediator.PropertyTable.GetValue("cache"), m_fs, m_flid, "Name", ContainingDataTree.PersistenceProvder, Mediator, "Name", XmlUtils.GetOptionalAttributeValue(m_configurationNode, "ws", "analysis")); // TODO: Get better default 'best ws'. }
/// <summary> /// This method, called once we have a cache and object, is our first chance to /// actually create the embedded control. /// </summary> public override void FinishInit() { CheckDisposed(); Control = new PhonologicalFeatureListDlgLauncher(); }
/// <summary> /// This method, called once we have a cache and object, is our first chance to /// actually create the embedded control. /// </summary> public override void FinishInit() { CheckDisposed(); Control = new PhonologicalFeatureListDlgLauncher(); }