SIL.FieldWorks.IText.InterlinDocForAnalysis.OnDisplayAddWordGlossesToFreeTrans C# (CSharp) Method

OnDisplayAddWordGlossesToFreeTrans() public method

Enable the 'insert word glosses' command
public OnDisplayAddWordGlossesToFreeTrans ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object The command object.
display XCore.UIItemDisplayProperties The display properties.
return bool
		public bool OnDisplayAddWordGlossesToFreeTrans(object commandObject, ref UIItemDisplayProperties display)
		{
			ISegment dummy1;
			int dummy2;
			display.Visible = display.Enabled = CanAddWordGlosses(out dummy1, out dummy2);
			return true;
		}
InterlinDocForAnalysis