コード例 #1
0
        public override void Execute(object parameter)
        {
            var parentNode = _elementNode.Parent;

            _builder.EditPanel.EditElement(_elementEditor,
                                           _elementNode.GetNodePath(),
                                           _elementNode.ConfigId,
                                           _elementNode.DocumentId,
                                           _elementNode.Version,
                                           _elementNode.ElementType,
                                           _elementNode.ElementId, () => RefreshNode(parentNode));
        }
コード例 #2
0
        public override void Execute(object parameter)
        {
            dynamic metadataPath = new DynamicWrapper();

            metadataPath.Path = _elementNode.ElementName;

            _builder.EditPanel.EditElement(_elementEditor,
                                           _elementNode.GetNodePath(),
                                           _elementNode.ConfigId,
                                           _elementNode.DocumentId,
                                           _elementNode.Version,
                                           _elementNode.ElementType,
                                           _elementNode.ElementId,
                                           (object)metadataPath,
                                           () => Reconnect(metadataPath));
        }