public AddEmptyNode(ProjectView.ProjectView view, ObiNode node, ObiNode parent, int index) : base(view, node, parent, index) { mControl = view.Selection.Control; SetDescriptions(Localizer.Message("add_blank_phrase")); }
public IControlWithSelection Control; // control in which it is selected /// <summary> /// Create a new selection object. /// </summary> public NodeSelection(ObiNode node, IControlWithSelection control) { Node = node; Control = control; }
public AudioSelection(PhraseNode node, IControlWithSelection control, AudioRange audioRange) : base(node, control) { mAudioRange = audioRange; }
private int mIndex; // cursor index in the strip public StripIndexSelection(SectionNode node, IControlWithSelection control, int index) : base(node, control) { mIndex = index; }
public TextSelection(SectionNode node, IControlWithSelection control, string text) : base(node, control) { mText = text; }