public test_description_ctrl()
        {
            InitializeComponent();

            aliases a = new aliases("");

            a.on_column_names(new List <string>()
            {
                "thread", "time", "msg", "ctx1", "ctx2", "ctx3"
            });
            description_ctrl1.set_aliases(a);
        }
Exemple #2
0
        protected virtual void on_updated_settings()
        {
            var new_aliases = new aliases(sett_.aliases);

            if (aliases_ != null && aliases_.to_enter_separated_string() == new_aliases.to_enter_separated_string())
            {
                // nothing changed
                return;
            }

            aliases_ = new_aliases;
            if (column_names_.Count > 0)
            {
                aliases_.on_column_names(column_names_);
            }
        }
Exemple #3
0
        protected virtual void on_updated_settings() {
            var new_aliases = new aliases(sett_.get("aliases"));
            if (aliases_ != null && aliases_.to_enter_separated_string() == new_aliases.to_enter_separated_string())
                // nothing changed
                return;

            aliases_ = new_aliases;
            if ( column_names_.Count > 0)
                aliases_.on_column_names(column_names_);
        }