Esempio n. 1
0
        public override void LoadFromAnalyser(FieldAnalyser analyser)
        {
            var a = analyser as RegexFieldAnalyser;

            dataGridView1.Rows.Clear();
            foreach (var fld in a.Fields)
            {
                dataGridView1.Rows.Add(fld.FieldName, fld.Pattern, fld.Group, fld.Skip);
            }
        }
Esempio n. 2
0
        public override void LoadFromAnalyser(FieldAnalyser analyser)
        {
            var a = analyser as SeparatedFieldsAnalyser;

            tbxColName.Text    = a.ColNameTemplate;
            tbxSeparator.Text  = a.Separator;
            chbIsRegex.Checked = a.IsRegex;
            dataGridView1.Rows.Clear();
            foreach (var fld in a.Fields)
            {
                dataGridView1.Rows.Add(fld.Name, fld.Position.ToString());
            }
        }
Esempio n. 3
0
        public override void LoadFromAnalyser(FieldAnalyser analyser)
        {
            var a = analyser as ScriptAnalyser;

            codeEditor1.Text = a.Code;
        }
Esempio n. 4
0
 public override void LoadFromXml(XmlElement xml)
 {
     base.LoadFromXml(xml);
     FieldAnalyser = Plugin.textio.FieldAnalyser.LoadFromXml(xml.FindElement("FieldAnalyser"));
 }
Esempio n. 5
0
        public override void LoadFromAnalyser(FieldAnalyser analyser)
        {
            var a = analyser as WholeLineAnalyser;

            tbxFieldName.Text = a.FieldName;
        }
Esempio n. 6
0
 public virtual void LoadFromAnalyser(FieldAnalyser analyser)
 {
 }