예제 #1
0
 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"));
 }
예제 #2
0
        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;
        }
예제 #3
0
 public AudioSelection(PhraseNode node, IControlWithSelection control, AudioRange audioRange)
     : base(node, control)
 {
     mAudioRange = audioRange;
 }
예제 #4
0
        private int mIndex;  // cursor index in the strip

        public StripIndexSelection(SectionNode node, IControlWithSelection control, int index)
            : base(node, control)
        {
            mIndex = index;
        }
예제 #5
0
 public TextSelection(SectionNode node, IControlWithSelection control, string text)
     : base(node, control)
 {
     mText = text;
 }