public override void onSelect(string id, string text) { EWCreatorWindow EWCreatorWindow = "EWCreatorWindow"; string split = Util.strreplace(text, "/", " "); EWCreatorWindow.navigate(split); }
public override void onTabSelected(string text, uint index) { EWCreatorWindow EWCreatorWindow = "EWCreatorWindow"; if (this.isAwake()) { EWCreatorWindow.tab = text; EWCreatorWindow.navigate(""); } }
public static string genericCreateObject(string className) { EWCreatorWindow EWCreatorWindow = "EWCreatorWindow"; if (!omni.Util.isClass(className)) { omni.Util._warn("createObject( " + className + " ) - Was not a valid class."); return(""); } string cmd = "return new " + className + "();"; string obj = EWCreatorWindow.createObject(cmd); // In case the caller wants it. return(obj); }