示例#1
0
        private ITreeNode addClassifiableParameterIdentificationToTree(ITreeNode <IClassification> classificationNode, ClassifiableParameterIdentification classifiableParameterIdentification)
        {
            var parameterIdentificationNode = _treeNodeFactory.CreateFor(classifiableParameterIdentification)
                                              .WithIcon(ApplicationIcons.ParameterIdentification);

            _explorerPresenter.AddClassifiableNodeToView(parameterIdentificationNode, classificationNode);
            return(parameterIdentificationNode);
        }
示例#2
0
 public IContextMenu InitializeWith(ClassifiableParameterIdentification dto, IPresenter presenter)
 {
     _allMenuItems = ParameterIdentificationContextMenuItems.ContextMenuItemsFor(dto.ParameterIdentification);
     return(this);
 }
示例#3
0
 private ITreeNode addClassifiableParameterIdentificationToParameterIdentificationRootFolder(ClassifiableParameterIdentification classifiableParameterIdentification)
 {
     return(_explorerPresenter.AddClassifiableToTree(classifiableParameterIdentification, RootNodeTypes.ParameterIdentificationFolder, addClassifiableParameterIdentificationToTree));
 }
示例#4
0
 public ITreeNode CreateFor(ClassifiableParameterIdentification classifiableParameterIdentification)
 {
     return(new ParameterIdentificationNode(classifiableParameterIdentification));
 }