public static Element GetAction(string key) { if (factories == null) { LoadFactories(); } iActionFactory actionFactory = (iActionFactory)factories[key]; if (actionFactory == null) { throw new ActionException("Key not defined"); } return(actionFactory.GetAction(key)); }
public static ActionPanel GetActionPanel(Element element) { if (factories == null) { LoadFactories(); } iActionFactory actionFactory = (iActionFactory)factories[element.Key]; if (actionFactory == null) { throw new ActionException("Key not defined"); } return(actionFactory.GetActionPanel(element)); }
public static GraphElement GetGraphAction(string key, XmlElement elementData, SortedList <string, Variable> variables) { if (factories == null) { LoadFactories(); } iActionFactory actionFactory = (iActionFactory)factories[key]; if (actionFactory == null) { throw new ActionException("Key not defined"); } return(actionFactory.GetGraphAction(key, elementData, variables)); }