Inheritance: MsaInflectionFeatureListDlgLauncher
Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="parent"></param>
        public override void Install(DataTree parent)
        {
            CheckDisposed();

            base.Install(parent);

            FeatureSystemInflectionFeatureListDlgLauncher ctrl = (FeatureSystemInflectionFeatureListDlgLauncher)Control;

            m_flid = GetFlid(m_configurationNode, m_obj);
            if (m_flid != 0)
            {
                m_fs = GetFeatureStructureFromMSA(m_obj, m_flid);
            }
            else
            {
                m_fs   = m_obj as IFsFeatStruc;
                m_flid = FsFeatStrucTags.kflidFeatureSpecs;
            }

            ctrl.Initialize(m_propertyTable.GetValue <LcmCache>("cache"),
                            m_fs,
                            m_flid,
                            "Name",
                            ContainingDataTree.PersistenceProvder,
                            Mediator,
                            m_propertyTable,
                            "Name",
                            XmlUtils.GetOptionalAttributeValue(m_configurationNode, "ws", "analysis"));     // TODO: Get better default 'best ws'.
        }
Exemplo n.º 2
0
 /// <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 FeatureSystemInflectionFeatureListDlgLauncher();
 }
		/// <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 FeatureSystemInflectionFeatureListDlgLauncher();
		}