/// <summary> /// Get a pointer to the tip text for the list item. If you want tiptext to be same as TTO_DISPLAYTEXT, you can /// E_NOTIMPL this call. /// </summary> /// <param name="index"></param> /// <param name="eTipType"></param> /// <param name="pbstrText"></param> /// <returns></returns> public int GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { ArgumentValidation.CheckForOutOfRangeException(index, 0, _changeList.Count - 1); ppszText = _changeList[(int)index].TooltipText; return(VSConstants.S_OK); }
int IVsSimpleObjectList2.GetTipTextWithOwnership(uint index, VSTREETOOLTIPTYPE eTipType, out string pbstrText) { // TODO: Make use of the tooltip type. if (index >= (uint)children.Count) { throw new ArgumentOutOfRangeException("index"); } pbstrText = children[(int)index].TooltipText; return(VSConstants.S_OK); }
int IVsObjectList2.GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { if (index == NullIndex) { ppszText = this.UniqueName; } else { ppszText = children[(int)index].UniqueName; } return(VSConstants.S_OK); }
int IVsSimpleObjectList2.GetTipTextWithOwnership(uint index, VSTREETOOLTIPTYPE eTipType, out string pbstrText) { if (index >= GetItemCount()) { pbstrText = null; return(VSConstants.E_INVALIDARG); } pbstrText = GetTipText(index, eTipType); return(pbstrText != null ? VSConstants.S_OK : VSConstants.E_NOTIMPL); }
int IVsSimpleObjectList2.GetTipTextWithOwnership(uint index, VSTREETOOLTIPTYPE eTipType, out string pbstrText) { SQObjectLibraryNode node; if (GetChild(index, out node) && node._declaration != null) { pbstrText = node.Name; return(VSConstants.S_OK); } else { pbstrText = Name; return(VSConstants.S_OK);; } }
int IVsLiteTreeList.GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { throw new NotImplementedException(); }
public int GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { return Changes[index].GetTipText(out eTipType, out ppszText); }
protected override string GetTipText(uint index, VSTREETOOLTIPTYPE eTipType) { return(null); }
public int GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { return(Changes[index].GetTipText(out eTipType, out ppszText)); }
protected override string GetTipText(uint index, VSTREETOOLTIPTYPE eTipType) => null;
public override int GetTipText(out VSTREETOOLTIPTYPE eTipType, out string pbstrText) { eTipType = VSTREETOOLTIPTYPE.TIPTYPE_DEFAULT; pbstrText = ""; return VSConstants.S_OK; }
public int GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { ppszText = null; return VSConstants.E_NOTIMPL; }
protected abstract string GetTipText(uint index, VSTREETOOLTIPTYPE eTipType);
public abstract int GetTipText(out VSTREETOOLTIPTYPE eTipType, out string ppszText);
int IVsSimpleObjectList2.GetTipTextWithOwnership(uint index, VSTREETOOLTIPTYPE eTipType, out string pbstrText) { // TODO: Make use of the tooltip type. if (index >= (uint)children.Count) { throw new ArgumentOutOfRangeException("index"); } pbstrText = children[(int)index].TooltipText; return VSConstants.S_OK; }
int IVsObjectList2.GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { if (index == NullIndex) ppszText = this.UniqueName; else ppszText = children[(int)index].UniqueName; return VSConstants.S_OK; }
public int GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { ppszText = null; return(VSConstants.E_NOTIMPL); }
protected override string GetTipText(uint index, VSTREETOOLTIPTYPE eTipType) { var item = _items[(int)index]; return(item.DisplayText); }
/// <summary> /// Returns the tool tip text for the requested tree list item. /// </summary> /// <param name="index"></param> /// <param name="eTipType"></param> /// <param name="pbstrText"></param> /// <returns></returns> public int GetTipTextWithOwnership(uint index, VSTREETOOLTIPTYPE eTipType, out string pbstrText) { pbstrText = children[(int)index].symbolText; return(VSConstants.S_OK); }
public override int GetTipText(out VSTREETOOLTIPTYPE eTipType, out string pbstrText) { throw new NotImplementedException(); }
public sealed override int GetTipText(out VSTREETOOLTIPTYPE eTipType, out string pbstrText) { eTipType = VSTREETOOLTIPTYPE.TIPTYPE_DEFAULT; pbstrText = null; return VSConstants.E_FAIL; }
public override int GetTipText(out VSTREETOOLTIPTYPE eTipType, out string pbstrText) => throw new NotImplementedException();
/// <summary> /// Returns the tool tip text for the requested tree list item. /// </summary> /// <param name="index"></param> /// <param name="eTipType"></param> /// <param name="pbstrText"></param> /// <returns></returns> public int GetTipTextWithOwnership(uint index, VSTREETOOLTIPTYPE eTipType, out string pbstrText) { //Logger.Log("ResultList GetTipTextWithOwnership"); pbstrText = children[(int)index].symbolText; return VSConstants.S_OK; }
int IVsSimplePreviewChangesList.GetTipTextWithOwnership(uint index, VSTREETOOLTIPTYPE eTipType, out string pbstrText) { throw new NotImplementedException(); }
public override int GetTipText(out VSTREETOOLTIPTYPE eTipType, out string pbstrText) { eTipType = VSTREETOOLTIPTYPE.TIPTYPE_DEFAULT; pbstrText = null; return(VSConstants.E_FAIL); }
/// <summary> /// Get a pointer to the tip text for the list item. If you want tiptext to be same as TTO_DISPLAYTEXT, you can /// E_NOTIMPL this call. /// </summary> /// <param name="index"></param> /// <param name="eTipType"></param> /// <param name="pbstrText"></param> /// <returns></returns> public int GetTipText(uint index, VSTREETOOLTIPTYPE eTipType, out string ppszText) { ArgumentValidation.CheckForOutOfRangeException(index, 0, _changeList.Count - 1); ppszText = _changeList[(int)index].TooltipText; return VSConstants.S_OK; }