예제 #1
0
		/// <summary>
		/// Initialize the launcher.
		/// </summary>
		public override void Initialize(LcmCache cache, ICmObject obj, int flid, string fieldName,
			IPersistenceProvider persistProvider, Mediator mediator, PropertyTable propertyTable, string displayNameProperty, string displayWs)
		{
			CheckDisposed();

			base.Initialize(cache, obj, flid, fieldName, persistProvider, mediator, propertyTable, displayNameProperty, displayWs);
			m_PhonologicalFeatureListDlgLauncherView.Init(m_propertyTable.GetValue<LcmCache>("cache"), obj as IFsFeatStruc);
			if (Slice.Object.ClassID == PhPhonemeTags.kClassId)
				m_PhonologicalFeatureListDlgLauncherView.Phoneme = Slice.Object as IPhPhoneme;
		}
        /// <summary>
        /// Initialize the launcher.
        /// </summary>
        /// <param name="cache"></param>
        /// <param name="obj"></param>
        /// <param name="flid"></param>
        /// <param name="fieldName"></param>
        public override void Initialize(FdoCache cache, ICmObject obj, int flid, string fieldName,
                                        IPersistenceProvider persistProvider, Mediator mediator, string displayNameProperty, string displayWs)
        {
            CheckDisposed();

            base.Initialize(cache, obj, flid, fieldName, persistProvider, mediator, displayNameProperty, displayWs);
            m_PhonologicalFeatureListDlgLauncherView.Init(mediator, obj as FsFeatStruc);
            if (Slice.Object.ClassID == PhPhoneme.kclsidPhPhoneme)
            {
                m_PhonologicalFeatureListDlgLauncherView.Phoneme = Slice.Object as IPhPhoneme;
            }
        }