public ITreeNode <TObjectBase> CreateFor <TObjectBase>(TObjectBase entity) where TObjectBase : class, IObjectBase { var node = CreateObjectBaseNode(entity); node.ToolTip = _toolTipPartCreator.ToolTipFor(entity); return(node); }
public IEnumerable <ToolTipPart> ToolTipFor(IPKSimBuildingBlock buildingBlock) { if (buildingBlock == null) { return(Enumerable.Empty <ToolTipPart>()); } return(_toolTipPartCreator.ToolTipFor(buildingBlock)); }
private void addParameterNode(ITreeNode node, IParameter parameter, PathElement pathElementDTO) { var representation = new RepresentationInfo { DisplayName = pathElementDTO.DisplayName, IconName = pathElementDTO.IconName }; var parameterNode = _treeNodeFactory.CreateFor(parameter, representation); parameterNode.ToolTip = _toolTipPartCreator.ToolTipFor(_fullPathDisplayResolver.FullPathFor(parameter)); node.AddChild(parameterNode); }
public SuperToolTip ToolTipFor(IPopulationAnalysisField populationAnalysisField) { return(ToolTipFor(_toolTipPartCreator.ToolTipFor(populationAnalysisField))); }
public virtual IEnumerable <ToolTipPart> ToolTipFor(ITreeNode node) { return(_toolTipPartCreator.ToolTipFor(node.TagAsObject)); }