Inheritance: InterlinDocRootSiteBase
示例#1
0
 internal UndoRedoApproveAnalysis(InterlinDocForAnalysis interlinDoc, AnalysisOccurrence oldAnnotation,
                                  AnalysisOccurrence newAnnotation)
 {
     m_interlinDoc   = interlinDoc;
     m_oldOccurrence = oldAnnotation;
     m_newOccurrence = newAnnotation;
 }
示例#2
0
 /// <summary>
 /// Create a new one.
 /// </summary>
 /// <param name="cache"></param>
 /// <param name="ss"></param>
 /// <param name="choices"></param>
 /// <param name="mediator"></param>
 public Sandbox(FdoCache cache, Mediator mediator, IVwStylesheet ss,
                InterlinLineChoices choices, AnalysisOccurrence selected, FocusBoxController focusBox)
     : base(cache, mediator, ss, choices)
 {
     FocusBox             = focusBox;
     m_interlinDoc        = focusBox.InterlinDoc;
     m_occurrenceSelected = selected;
     // Finish initialization with occurrence context.
     LoadForWordBundleAnalysis(m_occurrenceSelected.Analysis.Hvo);
 }
示例#3
0
		/// <summary>
		/// Create a new one.
		/// </summary>
		/// <param name="cache"></param>
		/// <param name="ss"></param>
		/// <param name="choices"></param>
		/// <param name="mediator"></param>
		public Sandbox(FdoCache cache, Mediator mediator, IVwStylesheet ss,
			InterlinLineChoices choices, AnalysisOccurrence selected, FocusBoxController focusBox)
			: this(cache, mediator, ss, choices)
		{
			FocusBox = focusBox;
			m_interlinDoc = focusBox.InterlinDoc;
			m_occurrenceSelected = selected;
			// Finish initialization with occurrence context.
			LoadForWordBundleAnalysis(m_occurrenceSelected.Analysis.Hvo);
		}
示例#4
0
        /// -----------------------------------------------------------------------------------
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// -----------------------------------------------------------------------------------
        protected override void Dispose(bool disposing)
        {
            System.Diagnostics.Debug.WriteLineIf(!disposing, "****************** Missing Dispose() call for " + GetType().Name + ". ******************");
            // Must not be run more than once.
            if (IsDisposed)
            {
                return;
            }

            base.Dispose(disposing);

            if (disposing)
            {
            }

            m_interlinDoc = null;
        }
示例#5
0
 internal void SetInterlinDocForTest(InterlinDocForAnalysis mockDoc)
 {
     m_mockInterlinDoc = mockDoc;
 }
			internal UndoRedoApproveAnalysis(InterlinDocForAnalysis interlinDoc, AnalysisOccurrence oldAnnotation,
				AnalysisOccurrence newAnnotation)
			{
				m_interlinDoc = interlinDoc;
				m_cache = m_interlinDoc.Cache;
				m_oldOccurrence = oldAnnotation;
				m_newOccurrence = newAnnotation;
			}
示例#7
0
		/// -----------------------------------------------------------------------------------
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// -----------------------------------------------------------------------------------
		protected override void Dispose( bool disposing )
		{
			System.Diagnostics.Debug.WriteLineIf(!disposing, "****************** Missing Dispose() call for " + GetType().Name + ". ******************");
			// Must not be run more than once.
			if (IsDisposed)
				return;

			base.Dispose( disposing );

			if (disposing)
			{
			}

			m_interlinDoc = null;
		}