Пример #1
0
            public override void onSelect(string id, string text)
            {
                EWCreatorWindow EWCreatorWindow = "EWCreatorWindow";

                string split = Util.strreplace(text, "/", " ");

                EWCreatorWindow.navigate(split);
            }
Пример #2
0
            public override void onTabSelected(string text, uint index)
            {
                EWCreatorWindow EWCreatorWindow = "EWCreatorWindow";

                if (this.isAwake())
                {
                    EWCreatorWindow.tab = text;
                    EWCreatorWindow.navigate("");
                }
            }
Пример #3
0
        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);
        }