Ejemplo n.º 1
0
        private void InitializeViewElements()
        {
            dialogManager = new DialogManager("NUnit Project Editor");
            messageDisplay = new MessageDisplay("NUnit Project Editor");

            browseProjectBaseCommand = new ButtonElement(projectBaseBrowseButton);
            editConfigsCommand = new ButtonElement(editConfigsButton);
            browseConfigBaseCommand = new ButtonElement(configBaseBrowseButton);
            addAssemblyCommand = new ButtonElement(addAssemblyButton);
            removeAssemblyCommand = new ButtonElement(removeAssemblyButton);
            browseAssemblyPathCommand = new ButtonElement(assemblyPathBrowseButton);

            projectPath = new TextElement(projectPathLabel);
            projectBase = new TextElement(projectBaseTextBox);
            processModel = new ComboBoxElement(processModelComboBox);
            domainUsage = new ComboBoxElement(domainUsageComboBox);
            runtime = new ComboBoxElement(runtimeComboBox);
            runtimeVersion = new ComboBoxElement(runtimeVersionComboBox);
            activeConfigName = new TextElement(activeConfigLabel);

            configList = new ComboBoxElement(configComboBox);

            applicationBase = new TextElement(applicationBaseTextBox);
            configurationFile = new TextElement(configFileTextBox);
            binPathType = new RadioButtonGroup("BinPathType", autoBinPathRadioButton, manualBinPathRadioButton, noBinPathRadioButton);
            privateBinPath = new TextElement(privateBinPathTextBox);
            assemblyPath = new TextElement(assemblyPathTextBox);
            assemblyList = new ListBoxElement(assemblyListBox);
        }
Ejemplo n.º 2
0
        private void InitializeViewElements()
        {
            dialogManager  = new DialogManager("NUnit Project Editor");
            messageDisplay = new MessageDisplay("NUnit Project Editor");

            browseProjectBaseCommand  = new ButtonElement(projectBaseBrowseButton);
            editConfigsCommand        = new ButtonElement(editConfigsButton);
            browseConfigBaseCommand   = new ButtonElement(configBaseBrowseButton);
            addAssemblyCommand        = new ButtonElement(addAssemblyButton);
            removeAssemblyCommand     = new ButtonElement(removeAssemblyButton);
            browseAssemblyPathCommand = new ButtonElement(assemblyPathBrowseButton);

            projectPath      = new TextElement(projectPathLabel);
            projectBase      = new TextElement(projectBaseTextBox);
            processModel     = new ComboBoxElement(processModelComboBox);
            domainUsage      = new ComboBoxElement(domainUsageComboBox);
            runtime          = new ComboBoxElement(runtimeComboBox);
            runtimeVersion   = new ComboBoxElement(runtimeVersionComboBox);
            activeConfigName = new TextElement(activeConfigLabel);

            configList = new ComboBoxElement(configComboBox);

            applicationBase   = new TextElement(applicationBaseTextBox);
            configurationFile = new TextElement(configFileTextBox);
            binPathType       = new RadioButtonGroup("BinPathType", autoBinPathRadioButton, manualBinPathRadioButton, noBinPathRadioButton);
            privateBinPath    = new TextElement(privateBinPathTextBox);
            assemblyPath      = new TextElement(assemblyPathTextBox);
            assemblyList      = new ListBoxElement(assemblyListBox);
        }
        public ConfigurationEditorDialog()
		{
			InitializeComponent();

            addCommand = new ButtonElement(addButton);
            removeCommand = new ButtonElement(removeButton);
            renameCommand = new ButtonElement(renameButton);
            activeCommand = new ButtonElement(activeButton);

            configList = new ListBoxElement(configListBox);

            messageDisplay = new MessageDisplay("NUnit Configuration Editor");
		}
        public ConfigurationEditorDialog()
        {
            InitializeComponent();

            addCommand    = new ButtonElement(addButton);
            removeCommand = new ButtonElement(removeButton);
            renameCommand = new ButtonElement(renameButton);
            activeCommand = new ButtonElement(activeButton);

            configList = new ListBoxElement(configListBox);

            messageDisplay = new MessageDisplay("NUnit Configuration Editor");
        }
Ejemplo n.º 5
0
 internal void RaiseSelectionChangedEvent(ISelectionList list, List<Guid> added, List<Guid> removed, bool cleared,
     object source)
 {
     if (SelectionChanged != null)
     {
         SelectionChanged(null, new SelectionChangedEventArgs
         {
             Added = added,
             Removed = removed,
             Source = source,
             Cleared = cleared,
             SelectionList = list
         });
     }
 }
Ejemplo n.º 6
0
        public SelectionManager()
        {
            MSelectionLists = new Dictionary<string, ISelectionList>();

            MDefaultSelection = CreateSelectionList("Default");
        }