Summary description for RecordBarListHandler.
Inheritance: RecordBarHandler
		static public RecordBarHandler Create(Mediator mediator, XmlNode toolConfiguration)
		{
			RecordBarHandler handler;
			XmlNode node = toolConfiguration.SelectSingleNode("treeBarHandler");
			if (node == null)
				handler = new RecordBarListHandler();
			else
				handler = (TreeBarHandler)DynamicLoader.CreateObject(node);
			handler.Init(mediator, node);
			return handler;
		}
Example #2
0
        static public RecordBarHandler Create(Mediator mediator, PropertyTable propertyTable, XmlNode toolConfiguration)
        {
            RecordBarHandler handler;
            XmlNode          node = toolConfiguration.SelectSingleNode("treeBarHandler");

            if (node == null)
            {
                handler = new RecordBarListHandler();
            }
            else
            {
                handler = (TreeBarHandler)DynamicLoader.CreateObject(node);
            }
            handler.Init(mediator, propertyTable, node);
            return(handler);
        }
Example #3
0
        static public RecordBarHandler Create(XCore.Mediator mediator, XmlNode toolConfiguration)
        {
            RecordBarHandler handler = null;
            XmlNode          node    = toolConfiguration.SelectSingleNode("treeBarHandler");

            //if (node != null)
            //{
            //    handler = (TreeBarHandler)DynamicLoader.CreateObject(node);
            //    handler.Init(mediator, node);
            //}
            if (node == null)
            {
                handler = new RecordBarListHandler();
            }
            else
            {
                handler = (TreeBarHandler)DynamicLoader.CreateObject(node);
            }
            handler.Init(mediator, node);
            return(handler);
        }