/// <summary> /// Invokes if the 'Edit -> Edit Alternative Groups'-option in the menu strip was /// clicked. /// /// This will open the corresponding dialog for editing the alternative groups of the /// current variability modl. /// </summary> /// <param name="sender">Sender</param> /// <param name="e">EventArgs</param> private void editAlternativeGroupsToolStripMenuItem_Click(object sender, EventArgs e) { AlternativeGroupDialog form = new AlternativeGroupDialog(null); form.Show(); dataSaved = false; }
/// <summary> /// invokes if the 'Add Alternative Group'-option in the context menu strip was clicked. /// /// This will open a dialog to edit the alternative groupd of the current /// variability model. /// </summary> /// <param name="sender">Sender</param> /// <param name="e">EventArgs</param> private void addAlternativeGroupToolStripMenuItem_Click(object sender, EventArgs e) { ConfigurationOption selected = GlobalState.varModel.getOption(this.currentNode.Text); AlternativeGroupDialog form = new AlternativeGroupDialog(selected); form.Show(); dataSaved = false; }