private ITreeNode addClassifiableParameterIdentificationToTree(ITreeNode <IClassification> classificationNode, ClassifiableParameterIdentification classifiableParameterIdentification) { var parameterIdentificationNode = _treeNodeFactory.CreateFor(classifiableParameterIdentification) .WithIcon(ApplicationIcons.ParameterIdentification); _explorerPresenter.AddClassifiableNodeToView(parameterIdentificationNode, classificationNode); return(parameterIdentificationNode); }
public IContextMenu InitializeWith(ClassifiableParameterIdentification dto, IPresenter presenter) { _allMenuItems = ParameterIdentificationContextMenuItems.ContextMenuItemsFor(dto.ParameterIdentification); return(this); }
private ITreeNode addClassifiableParameterIdentificationToParameterIdentificationRootFolder(ClassifiableParameterIdentification classifiableParameterIdentification) { return(_explorerPresenter.AddClassifiableToTree(classifiableParameterIdentification, RootNodeTypes.ParameterIdentificationFolder, addClassifiableParameterIdentificationToTree)); }
public ITreeNode CreateFor(ClassifiableParameterIdentification classifiableParameterIdentification) { return(new ParameterIdentificationNode(classifiableParameterIdentification)); }