This class class represents a rule formula control. It is not intended to be used directly. Specific phonological/morphological rules should extend this class. It is not abstract so that it can be modified in Windows Form designer. It is a button launcher with a rule formula view and a rule insertion control. It handles selection, deletion, insertion, and cursor movement for a rule formula. Rules that extend this class override the methods that provide information about the various table cells in the rule and the data contained in each cell.
Inheritance: SIL.FieldWorks.Common.Framework.DetailControls.ButtonLauncher
Ejemplo n.º 1
0
		protected override void Dispose(bool disposing)
		{
			if (IsDisposed)
				return;

			if (disposing)
			{
			}

			m_formulaControl = null;
			m_obj = null;
			m_vc = null;

			base.Dispose(disposing);
		}
Ejemplo n.º 2
0
        protected override void Dispose(bool disposing)
        {
            if (IsDisposed)
            {
                return;
            }

            if (disposing)
            {
            }

            m_formulaControl = null;
            m_obj            = null;
            m_vc             = null;

            base.Dispose(disposing);
        }
Ejemplo n.º 3
0
 public void Init(XCore.Mediator mediator, ICmObject obj, RuleFormulaControl formulaControl,
                  RuleFormulaVc vc, int rootFrag)
 {
     CheckDisposed();
     m_formulaControl = formulaControl;
     Mediator         = mediator;
     Cache            = (FdoCache)mediator.PropertyTable.GetValue("cache");
     m_obj            = obj;
     m_vc             = vc;
     m_rootFrag       = rootFrag;
     if (m_rootb == null)
     {
         MakeRoot();
     }
     else if (m_obj != null)
     {
         m_rootb.SetRootObject(m_obj.Hvo, m_vc, m_rootFrag, FontHeightAdjuster.StyleSheetFromMediator(m_mediator));
         m_rootb.Reconstruct();
     }
 }
Ejemplo n.º 4
0
		public void Init(XCore.Mediator mediator, ICmObject obj, RuleFormulaControl formulaControl,
			RuleFormulaVc vc, int rootFrag)
		{
			CheckDisposed();
			m_formulaControl = formulaControl;
			Mediator = mediator;
			Cache = (FdoCache)mediator.PropertyTable.GetValue("cache");
			m_obj = obj;
			m_vc = vc;
			m_rootFrag = rootFrag;
			if (m_rootb == null)
			{
				MakeRoot();
			}
			else if (m_obj != null)
			{
				m_rootb.SetRootObject(m_obj.Hvo, m_vc, m_rootFrag, FontHeightAdjuster.StyleSheetFromMediator(m_mediator));
				m_rootb.Reconstruct();
			}
		}