Exemplo n.º 1
0
        private void ReplaceLibraryGateCommand()
        {
            var dataContext = GetPromptDialogData(PromptDialogModel.Actions.ReplaceLibraryGate);

            if (dataContext.DialogResult)
            {
                PreRunActions("replace library gate instances tool", dataContext.SelectedNetlist);
                var replaceRequest = dataContext.MakeModuleReplaceRequest();
                _toolRunner.ReplaceLibraryGateCommand(replaceRequest);
            }
        }