예제 #1
0
        public ExampleDomainAbstraction(string arg0, string arg2 = "test")
        {
            // BEGIN AUTO-GENERATED INSTANTIATIONS FOR test
            MenuItem XR5000DeleteMenu = new MenuItem("Delete information off device", false)
            {
                InstanceName = "XR5000DeleteMenu"
            };                                                                                                                 /* {"IsRoot":false} */
            MenuItem XR5000ExportMenu = new MenuItem("Put information onto device", false)
            {
                InstanceName = "XR5000ExportMenu"
            };                                                                                                               /* {"IsRoot":false,"Description":"test description\r\n"} */
            MenuItem XR5000ImportMenu = new MenuItem("Get information off device", false)
            {
                InstanceName = "XR5000ImportMenu"
            };                                                                                                              /* {"IsRoot":false} */
            Horizontal XR5000Tools = new Horizontal()
            {
                InstanceName = "XR5000Tools"
            };                                                                      /* {"IsRoot":false} */

            // END AUTO-GENERATED INSTANTIATIONS FOR test

            // BEGIN AUTO-GENERATED WIRING FOR test
            XR5000Connected.WireTo(XR5000ExportMenu, "fanoutList");                                 /* {"SourceType":"DataFlowConnector","SourceIsReference":true,"DestinationType":"MenuItem","DestinationIsReference":false,"Description":""} */
            XR5000Connected.WireTo(stringXR5000Connected, "fanoutList");                            /* {"SourceType":"DataFlowConnector","SourceIsReference":true,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            stringXR5000Connected.WireTo(textDeviceConnected, "output");                            /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"Text","DestinationIsReference":true,"Description":""} */
            XR5000Connected.WireTo(XR5000ImportMenu, "fanoutList");                                 /* {"SourceType":"DataFlowConnector","SourceIsReference":true,"DestinationType":"MenuItem","DestinationIsReference":false,"Description":""} */
            XR5000Connected.WireTo(XR5000DeleteMenu, "fanoutList");                                 /* {"SourceType":"DataFlowConnector","SourceIsReference":true,"DestinationType":"MenuItem","DestinationIsReference":false,"Description":""} */
            XR5000Connected.WireTo(XR5000ImportTool, "fanoutList");                                 /* {"SourceType":"DataFlowConnector","SourceIsReference":true,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000Connected.WireTo(XR5000ExportTool, "fanoutList");                                 /* {"SourceType":"DataFlowConnector","SourceIsReference":true,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000Connected.WireTo(XR5000DeleteTool, "fanoutList");                                 /* {"SourceType":"DataFlowConnector","SourceIsReference":true,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            fileMenu.WireTo(XR5000ImportMenu, "output");                                            /* {"SourceType":"UNDEFINED","SourceIsReference":true,"DestinationType":"MenuItem","DestinationIsReference":false,"Description":""} */
            fileMenu.WireTo(XR5000ExportMenu, "output");                                            /* {"SourceType":"UNDEFINED","SourceIsReference":true,"DestinationType":"MenuItem","DestinationIsReference":false,"Description":""} */
            fileMenu.WireTo(XR5000DeleteMenu, "output");                                            /* {"SourceType":"UNDEFINED","SourceIsReference":true,"DestinationType":"MenuItem","DestinationIsReference":false,"Description":""} */
            XR5000getInfoWizard.WireTo(id_39cc8679a22b46b4aebeef125cd5f0ae, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getInfoWizard.WireTo(id_5ffa0209425b4dcea9e1a3f02ff216ea, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getInfoWizard.WireTo(id_8ea685db14ec42f4bd8bb4a297d16289, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getInfoWizard.WireTo(id_f62a188e32b04fd494e53c0486fd417d, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getInfoWizard.WireTo(id_673d82ee3c3b49e39694cd342c73d4ad, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            id_39cc8679a22b46b4aebeef125cd5f0ae.WireTo(XR5000getSessionWizard, "output");           /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getSessionWizard.WireTo(id_210bf17d3a114bc5a7a19a6ab678dc48, "output");           /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getSessionWizard.WireTo(id_ae94e2df21a4408e8b0bc9a55d2d481e, "output");           /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getSessionWizard.WireTo(id_09bf8feb99e14e8e82def502ce66a0bf, "output");           /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getSessionWizard.WireTo(id_db985bc62bfd412d8db7559b1ffa2ad0, "output");           /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000ImportTool.WireTo(XR5000getInfoWizard, "output");                                 /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000getSessionWizard.WireTo(XR5000getInfoWizard, "output");                           /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000ImportMenu.WireTo(XR5000getInfoWizard, "children");                               /* {"SourceType":"MenuItem","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            id_210bf17d3a114bc5a7a19a6ab678dc48.WireTo(saveUsbSessionsDataToFileBrowser, "output"); /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":true,"Description":""} */
            id_ae94e2df21a4408e8b0bc9a55d2d481e.WireTo(naitLoginWindow, "output");                  /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"PopupWindow","DestinationIsReference":true,"Description":""} */
            id_09bf8feb99e14e8e82def502ce66a0bf.WireTo(nlisLoginWindow, "output");                  /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"PopupWindow","DestinationIsReference":true,"Description":""} */
            id_db985bc62bfd412d8db7559b1ffa2ad0.WireTo(mihubEventConnector, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"EventConnector","DestinationIsReference":true,"Description":""} */
            id_5ffa0209425b4dcea9e1a3f02ff216ea.WireTo(saveUsbLifeDataToFileBrowser, "output");     /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":true,"Description":""} */
            id_8ea685db14ec42f4bd8bb4a297d16289.WireTo(getInformationOffDeviceBrower, "output");    /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"FolderBrowser","DestinationIsReference":true,"Description":""} */
            XR5000ExportMenu.WireTo(XR5000putInfoWizard, "children");                               /* {"SourceType":"MenuItem","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000putInfoWizard.WireTo(id_748496bee52a4661b3699f367afb7904, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000putInfoWizard.WireTo(id_48aaec02f3c245329aa25660a915faf7, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000putInfoWizard.WireTo(id_a2cf0f9732584f008b372e537dd1cefb, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000putInfoWizard.WireTo(id_835f7e3a147544e2997e5e7edeb864a7, "output");              /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            id_748496bee52a4661b3699f367afb7904.WireTo(uploadSessionFromPCToXr5000, "output");      /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":true,"Description":""} */
            id_a2cf0f9732584f008b372e537dd1cefb.WireTo(uploadFavSettingsBrowser, "output");         /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":true,"Description":""} */
            ToolBar.WireTo(XR5000Tools, "output");                                                  /* {"SourceType":"UNDEFINED","SourceIsReference":true,"DestinationType":"Horizontal","DestinationIsReference":false,"Description":""} */
            XR5000Tools.WireTo(XR5000ImportTool, "children");                                       /* {"SourceType":"Horizontal","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000Tools.WireTo(XR5000ExportTool, "children");                                       /* {"SourceType":"Horizontal","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000Tools.WireTo(XR5000DeleteTool, "children");                                       /* {"SourceType":"Horizontal","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000ExportTool.WireTo(XR5000putInfoWizard, "output");                                 /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":false,"Description":""} */
            XR5000DeleteTool.WireTo(Scale5000DeleteSessions, "output");                             /* {"SourceType":"UNDEFINED","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":true,"Description":""} */
            XR5000DeleteMenu.WireTo(Scale5000DeleteSessions, "children");                           /* {"SourceType":"MenuItem","SourceIsReference":false,"DestinationType":"UNDEFINED","DestinationIsReference":true,"Description":""} */
            // END AUTO-GENERATED WIRING FOR test
        }
예제 #2
0
        public NewAbstractionTemplateTab()
        {
            // BEGIN AUTO-GENERATED INSTANTIATIONS FOR NewAbstractionTemplateTab.xmind
            Apply <object, Dictionary <string, string> > id_07422c223a1b49a1888f46a4d02ac46b = new Apply <object, Dictionary <string, string> >()
            {
                InstanceName = "Default", Lambda = t => (t as Tuple <string, Dictionary <string, string> >).Item2
            };
            Button id_208a467b028d482c81197b128b7022a9 = new Button("Preview template")
            {
                InstanceName = "Default"
            };
            Button id_2f9440f0c68a4b308d44568c8ef3b38f = new Button("Clear fields")
            {
                InstanceName = "Default", Margin = new Thickness(5, 0, 0, 0)
            };
            Button id_3090376c0d6a469daa41bcee0ec7d4e1 = new Button("Create Story Abstraction")
            {
                InstanceName = "Default", Margin = new Thickness(5, 0, 0, 0)
            };
            Button id_428f0ba667114e3182465ca8a66d2b53 = new Button("Add")
            {
                InstanceName = "Default", Margin = new Thickness(5, 0, 0, 0)
            };
            Button id_47adba8726544b0c89a6813891af8898 = new Button("Add")
            {
                InstanceName = "Default", Margin = new Thickness(5, 0, 0, 0)
            };
            Button id_7f1eb6fb40c241fbabab8b1905bac7ad = new Button("Create Domain Abstraction")
            {
                InstanceName = "Default", Margin = new Thickness(5, 0, 0, 0)
            };
            Cast <string, object> id_31a2c30a19cf4f16b2be2d708543b374 = new Cast <string, object>()
            {
                InstanceName = "Default"
            };
            Cast <string, object> id_621c2cf749d64980bbb0b6e2d11180d5 = new Cast <string, object>()
            {
                InstanceName = "Default"
            };
            Cast <string, object> id_6a02d97e013846a7ac73170b934c84a3 = new Cast <string, object>()
            {
                InstanceName = "Default"
            };
            Cast <string, object> id_9a2293c11d764a44b694651d1dcd7fc5 = new Cast <string, object>()
            {
                InstanceName = "Default"
            };
            Cast <string, object> id_acc12278de0348eabf94be1432df7afc = new Cast <string, object>()
            {
                InstanceName = "Default"
            };
            Data <object> clearAllObjects = new Data <object>()
            {
                InstanceName = "clearAllObjects", storedData = null
            };
            Data <object> id_df3bcd486adc49768032a6b241c4c404 = new Data <object>()
            {
                InstanceName = "Default"
            };
            Data <object> id_f0fe1e2db08a44c7942351cf25e107e9 = new Data <object>()
            {
                InstanceName = "Default"
            };
            Data <string> clearAllFields = new Data <string>()
            {
                InstanceName = "clearAllFields", storedData = ""
            };
            Data <string> id_5d3449d2c2c441aabaff3476a4b591d9 = new Data <string>()
            {
                InstanceName = "Default", storedData = "<Type>"
            };
            DataFlowConnector <object> abstractionType = new DataFlowConnector <object>()
            {
                InstanceName = "abstractionType"
            };
            DataFlowConnector <object> acceptedPortName = new DataFlowConnector <object>()
            {
                InstanceName = "acceptedPortName"
            };
            DataFlowConnector <object> acceptedPorts = new DataFlowConnector <object>()
            {
                InstanceName = "acceptedPorts"
            };
            DataFlowConnector <object> acceptedPortType = new DataFlowConnector <object>()
            {
                InstanceName = "acceptedPortType"
            };
            DataFlowConnector <object> currentTemplate = new DataFlowConnector <object>()
            {
                InstanceName = "currentTemplate"
            };
            DataFlowConnector <object> id_27530a5332274375ab4d3e97fef55f2e = new DataFlowConnector <object>()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <object> id_27c730697fb545bab6656b32332bf1ae = new DataFlowConnector <object>()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <object> id_56afc3ab53ff41ad916ff5ce94ac94b5 = new DataFlowConnector <object>()
            {
                InstanceName = "Default", Data = ""
            };
            DataFlowConnector <object> id_7c3917f34bbd4750b0afe96c9769b4b3 = new DataFlowConnector <object>()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <object> id_b5c1d8aac9c249d995765672eee104ff = new DataFlowConnector <object>()
            {
                InstanceName = "Default", Data = ""
            };
            DataFlowConnector <object> id_bd93beb7e12f4414aed422969b2eb680 = new DataFlowConnector <object>()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <object> id_d416180698124388bc6969c6c1ff5083 = new DataFlowConnector <object>()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <object> id_e6be42dd421542a58834688de01798e3 = new DataFlowConnector <object>()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <object> id_fcb5a684821e4c2d901d9fe692f9b9d5 = new DataFlowConnector <object>()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <object> implementedPortName = new DataFlowConnector <object>()
            {
                InstanceName = "implementedPortName"
            };
            DataFlowConnector <object> implementedPorts = new DataFlowConnector <object>()
            {
                InstanceName = "implementedPorts"
            };
            DataFlowConnector <object> implementedPortType = new DataFlowConnector <object>()
            {
                InstanceName = "implementedPortType"
            };
            DataFlowConnector <string> id_30f6472d900741b5adcbc7038d02e104 = new DataFlowConnector <string>()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <string> id_5f88698018334b8196b37bbc6f1d3813 = new DataFlowConnector <string>()
            {
                InstanceName = "Default"
            };
            DropDownMenu id_41070129381f46c99cc1bdb95314b10e = new DropDownMenu()
            {
                InstanceName = "Default", Text = "<Type>", Margin = new Thickness(5, 0, 0, 0)
            };
            DropDownMenu id_7b663597f0834037b2d2371b98a11c57 = new DropDownMenu()
            {
                InstanceName = "Default", Text = "<Type>", Margin = new Thickness(5, 0, 0, 0)
            };
            EventConnector id_16eac96a1c0d40d38c24817aaa86f7ef = new EventConnector()
            {
                InstanceName = "Default"
            };
            EventConnector id_55f7680ee50f40d3a536b1b108fadc67 = new EventConnector()
            {
                InstanceName = "Default"
            };
            EventConnector id_95ccf6ab3b634c08867144ab150c61f2 = new EventConnector()
            {
                InstanceName = "Default"
            };
            EventConnector id_b7ec761d38b0456e89c3092f5a32fcd9 = new EventConnector()
            {
                InstanceName = "Default"
            };
            EventConnector id_c5af5b7a03654b4c91d71f513f9781a0 = new EventConnector()
            {
                InstanceName = "Default"
            };
            EventConnector id_ea97ba36a3a747d2b1ccecd727729bf2 = new EventConnector()
            {
                InstanceName = "Default"
            };
            Horizontal id_28b1e7620ecf4fb29fcfd6030079ccdd = new Horizontal()
            {
                InstanceName = "Default", Margin = new Thickness(0, 10, 0, 0), HorizAlignment = HorizontalAlignment.Center
            };
            Horizontal id_8207e49b394e4fe7bdc4827b192d59a2 = new Horizontal()
            {
                InstanceName = "Default", Margin = new Thickness(10), Ratios = new[] { 50, 50 }
            };
            Horizontal id_8d2f6ce98ded4cccbb69743dc52448e4 = new Horizontal()
            {
                InstanceName = "Default", Ratios = new int[] { 20, 30, 30, 10 }, Margin = new Thickness(0, 5, 0, 0)
            };
            Horizontal id_90eb8909776c419482f6a4a934b1cba8 = new Horizontal()
            {
                InstanceName = "Default", Ratios = new int[] { 20, 30, 30, 10 }, Margin = new Thickness(0, 5, 0, 0)
            };
            Horizontal id_9c645b52589e48ec929db7de79f9786e = new Horizontal()
            {
                InstanceName = "Default"
            };
            Horizontal id_ab59660112554fdea2710ad8f05d273a = new Horizontal()
            {
                InstanceName = "Default", Ratios = new int[] { 20, 30, 30, 10 }, Margin = new Thickness(0, 5, 0, 0)
            };
            Horizontal id_e8a6d65090a34eed8f54fcfb7255df52 = new Horizontal()
            {
                InstanceName = "Default"
            };
            JSONWriter <Dictionary <string, string> > id_bf05dd3dae0b4a12b7af06cb4d440a16 = new JSONWriter <Dictionary <string, string> >()
            {
                InstanceName = "Default"
            };
            Operation <object> id_4570bb2ca7214f3d9ae8d6b44926221f = new Operation <object>()
            {
                InstanceName = "Default", Lambda = ops => $"{ops[0]}{ops[1]};"
            };
            Operation <object> id_701aa74cc996426b9ac1420bfd12796f = new Operation <object>()
            {
                InstanceName = "Default", Lambda = ops => { var abstr = ops[0] as string; var impl = ops[1] as string; var prov = ops[2] as string; var template = new Dictionary <string, string>()
                                                            {
                                                                { "AbstractionType", abstr }, { "ImplementedPorts", impl }, { "AcceptedPorts", prov }
                                                            }; return(Tuple.Create(abstr, template)); }
            };
            Operation <object> id_c33c98f980a44503b5ef60ef3abc9432 = new Operation <object>()
            {
                InstanceName = "Default", Lambda = ops => $"{ops[0]} {ops[1]}"
            };
            Operation <object> id_ef98f4365a5949d0b80d4af78b3c95a4 = new Operation <object>()
            {
                InstanceName = "Default", Lambda = ops => $"{ops[0]} {ops[1]}"
            };
            Operation <object> id_f291bd8140f541f3be3b70f083beefb2 = new Operation <object>()
            {
                InstanceName = "Default", Lambda = ops => $"{ops[0]}{ops[1]};"
            };
            Text id_0271a74e9e1f4158bd65e77d8ac7bdf4 = new Text("Implemented ports:")
            {
                InstanceName = "Default", FontSize = 12
            };
            Text id_11f78143b1204a789e1af593eb4ebf08 = new Text("Accepted ports:")
            {
                InstanceName = "Default", FontSize = 12
            };
            Text id_6b4447a304454b40a6c9f6316b39b070 = new Text("Abstraction type:")
            {
                InstanceName = "Default", FontSize = 12
            };
            Text id_8fd52526ee254981ade41557b69e3d87 = new Text("Template Preview:")
            {
                InstanceName = "Default", FontSize = 16, HorizAlignment = HorizontalAlignment.Left
            };
            Text id_b13a37f5399d4c69a931056fe67b59cb = new Text("Template Configuration:")
            {
                InstanceName = "Default", FontSize = 16, HorizAlignment = HorizontalAlignment.Left
            };
            TextBox id_1871cad854c744f385b15dd3332436d0 = new TextBox()
            {
                InstanceName = "Default", Width = 500, Height = 100, Margin = new Thickness(0, 5, 0, 0)
            };
            TextBox id_1919b1cb93d14cb4b52d3b4ed1cdc574 = new TextBox()
            {
                InstanceName = "Default", Margin = new Thickness(5, 0, 0, 0)
            };
            TextBox id_8ee0114af5bc403a935b4c5d249aff93 = new TextBox()
            {
                InstanceName = "Default", Margin = new Thickness(5, 0, 0, 0)
            };
            TextBox id_ff27a98906344620a9507982ceb7f70b = new TextBox()
            {
                InstanceName = "Default", Margin = new Thickness(5, 0, 0, 0)
            };
            Vertical id_bf369ea59a804b90aff271407794fa25 = new Vertical()
            {
                InstanceName = "Default", Margin = new Thickness(10, 0, 0, 0)
            };
            Vertical id_ff333db37192438fbb21e68332fc7589 = new Vertical()
            {
                InstanceName = "Default"
            };

            // END AUTO-GENERATED INSTANTIATIONS FOR NewAbstractionTemplateTab.xmind

            // BEGIN AUTO-GENERATED WIRING FOR NewAbstractionTemplateTab.xmind
            programmingParadigmsFromTemplate.WireTo(id_7b663597f0834037b2d2371b98a11c57, "fanoutList");               // (@DataFlowConnector<List<string>> (programmingParadigmsFromTemplate).fanoutList) -- [IDataFlow<List<string>>] --> (DropDownMenu (id_7b663597f0834037b2d2371b98a11c57).itemsInput)
            programmingParadigmsFromTemplate.WireTo(id_41070129381f46c99cc1bdb95314b10e, "fanoutList");               // (@DataFlowConnector<List<string>> (programmingParadigmsFromTemplate).fanoutList) -- [IDataFlow<List<string>>] --> (DropDownMenu (id_41070129381f46c99cc1bdb95314b10e).itemsInput)
            mainTab.WireTo(id_8207e49b394e4fe7bdc4827b192d59a2, "tabItemList");                                       // (@Tab (mainTab).tabItemList) -- [List<IUI>] --> (Horizontal (id_8207e49b394e4fe7bdc4827b192d59a2).child)
            mainTab.WireTo(id_28b1e7620ecf4fb29fcfd6030079ccdd, "tabItemList");                                       // (@Tab (mainTab).tabItemList) -- [List<IUI>] --> (Horizontal (id_28b1e7620ecf4fb29fcfd6030079ccdd).child)
            id_8207e49b394e4fe7bdc4827b192d59a2.WireTo(id_ff333db37192438fbb21e68332fc7589, "children");              // (Horizontal (id_8207e49b394e4fe7bdc4827b192d59a2).children) -- [IUI] --> (Vertical (id_ff333db37192438fbb21e68332fc7589).child)
            id_8207e49b394e4fe7bdc4827b192d59a2.WireTo(id_bf369ea59a804b90aff271407794fa25, "children");              // (Horizontal (id_8207e49b394e4fe7bdc4827b192d59a2).children) -- [IUI] --> (Vertical (id_bf369ea59a804b90aff271407794fa25).child)
            id_ff333db37192438fbb21e68332fc7589.WireTo(id_b13a37f5399d4c69a931056fe67b59cb, "children");              // (Vertical (id_ff333db37192438fbb21e68332fc7589).children) -- [List<IUI>] --> (Text (id_b13a37f5399d4c69a931056fe67b59cb).ui)
            id_ff333db37192438fbb21e68332fc7589.WireTo(id_90eb8909776c419482f6a4a934b1cba8, "children");              // (Vertical (id_ff333db37192438fbb21e68332fc7589).children) -- [List<IUI>] --> (Horizontal (id_90eb8909776c419482f6a4a934b1cba8).child)
            id_ff333db37192438fbb21e68332fc7589.WireTo(id_ab59660112554fdea2710ad8f05d273a, "children");              // (Vertical (id_ff333db37192438fbb21e68332fc7589).children) -- [List<IUI>] --> (Horizontal (id_ab59660112554fdea2710ad8f05d273a).child)
            id_ff333db37192438fbb21e68332fc7589.WireTo(id_8d2f6ce98ded4cccbb69743dc52448e4, "children");              // (Vertical (id_ff333db37192438fbb21e68332fc7589).children) -- [List<IUI>] --> (Horizontal (id_8d2f6ce98ded4cccbb69743dc52448e4).child)
            id_90eb8909776c419482f6a4a934b1cba8.WireTo(id_6b4447a304454b40a6c9f6316b39b070, "children");              // (Horizontal (id_90eb8909776c419482f6a4a934b1cba8).children) -- [IUI] --> (Text (id_6b4447a304454b40a6c9f6316b39b070).ui)
            id_90eb8909776c419482f6a4a934b1cba8.WireTo(id_ff27a98906344620a9507982ceb7f70b, "children");              // (Horizontal (id_90eb8909776c419482f6a4a934b1cba8).children) -- [IUI] --> (TextBox (id_ff27a98906344620a9507982ceb7f70b).child)
            id_90eb8909776c419482f6a4a934b1cba8.WireTo(id_e8a6d65090a34eed8f54fcfb7255df52, "children");              // (Horizontal (id_90eb8909776c419482f6a4a934b1cba8).children) -- [IUI] --> (Horizontal (id_e8a6d65090a34eed8f54fcfb7255df52).child)
            id_90eb8909776c419482f6a4a934b1cba8.WireTo(id_9c645b52589e48ec929db7de79f9786e, "children");              // (Horizontal (id_90eb8909776c419482f6a4a934b1cba8).children) -- [IUI] --> (Horizontal (id_9c645b52589e48ec929db7de79f9786e).child)
            id_ff27a98906344620a9507982ceb7f70b.WireTo(id_31a2c30a19cf4f16b2be2d708543b374, "textOutput");            // (TextBox (id_ff27a98906344620a9507982ceb7f70b).textOutput) -- [IDataFlow<string>] --> (Cast<string,object> (id_31a2c30a19cf4f16b2be2d708543b374).input)
            id_ff27a98906344620a9507982ceb7f70b.WireTo(id_701aa74cc996426b9ac1420bfd12796f, "eventEnterPressed");     // (TextBox (id_ff27a98906344620a9507982ceb7f70b).eventEnterPressed) -- [IEvent] --> (Operation<object> (id_701aa74cc996426b9ac1420bfd12796f).startOperation)
            id_31a2c30a19cf4f16b2be2d708543b374.WireTo(abstractionType, "output");                                    // (Cast<string,object> (id_31a2c30a19cf4f16b2be2d708543b374).output) -- [IDataFlow<object>] --> (DataFlowConnector<object> (abstractionType).dataInput)
            id_ab59660112554fdea2710ad8f05d273a.WireTo(id_0271a74e9e1f4158bd65e77d8ac7bdf4, "children");              // (Horizontal (id_ab59660112554fdea2710ad8f05d273a).children) -- [IUI] --> (Text (id_0271a74e9e1f4158bd65e77d8ac7bdf4).ui)
            id_ab59660112554fdea2710ad8f05d273a.WireTo(id_7b663597f0834037b2d2371b98a11c57, "children");              // (Horizontal (id_ab59660112554fdea2710ad8f05d273a).children) -- [IUI] --> (DropDownMenu (id_7b663597f0834037b2d2371b98a11c57).child)
            id_ab59660112554fdea2710ad8f05d273a.WireTo(id_1919b1cb93d14cb4b52d3b4ed1cdc574, "children");              // (Horizontal (id_ab59660112554fdea2710ad8f05d273a).children) -- [IUI] --> (TextBox (id_1919b1cb93d14cb4b52d3b4ed1cdc574).child)
            id_ab59660112554fdea2710ad8f05d273a.WireTo(id_47adba8726544b0c89a6813891af8898, "children");              // (Horizontal (id_ab59660112554fdea2710ad8f05d273a).children) -- [IUI] --> (Button (id_47adba8726544b0c89a6813891af8898).child)
            id_7b663597f0834037b2d2371b98a11c57.WireTo(id_acc12278de0348eabf94be1432df7afc, "selectedItem");          // (DropDownMenu (id_7b663597f0834037b2d2371b98a11c57).selectedItem) -- [IDataFlow<string>] --> (Cast<string,object> (id_acc12278de0348eabf94be1432df7afc).input)
            id_acc12278de0348eabf94be1432df7afc.WireTo(implementedPortType, "output");                                // (Cast<string,object> (id_acc12278de0348eabf94be1432df7afc).output) -- [IDataFlow<object>] --> (DataFlowConnector<object> (implementedPortType).dataInput)
            id_1919b1cb93d14cb4b52d3b4ed1cdc574.WireTo(id_9a2293c11d764a44b694651d1dcd7fc5, "textOutput");            // (TextBox (id_1919b1cb93d14cb4b52d3b4ed1cdc574).textOutput) -- [IDataFlow<string>] --> (Cast<string,object> (id_9a2293c11d764a44b694651d1dcd7fc5).input)
            id_1919b1cb93d14cb4b52d3b4ed1cdc574.WireTo(id_95ccf6ab3b634c08867144ab150c61f2, "eventEnterPressed");     // (TextBox (id_1919b1cb93d14cb4b52d3b4ed1cdc574).eventEnterPressed) -- [IEvent] --> (EventConnector (id_95ccf6ab3b634c08867144ab150c61f2).NEEDNAME)
            id_9a2293c11d764a44b694651d1dcd7fc5.WireTo(implementedPortName, "output");                                // (Cast<string,object> (id_9a2293c11d764a44b694651d1dcd7fc5).output) -- [IDataFlow<object>] --> (DataFlowConnector<object> (implementedPortName).dataInput)
            id_47adba8726544b0c89a6813891af8898.WireTo(id_95ccf6ab3b634c08867144ab150c61f2, "eventButtonClicked");    // (Button (id_47adba8726544b0c89a6813891af8898).eventButtonClicked) -- [IEvent] --> (EventConnector (id_95ccf6ab3b634c08867144ab150c61f2).NEEDNAME)
            id_95ccf6ab3b634c08867144ab150c61f2.WireTo(id_ef98f4365a5949d0b80d4af78b3c95a4, "fanoutList");            // (EventConnector (id_95ccf6ab3b634c08867144ab150c61f2).fanoutList) -- [IEvent] --> (Operation<object> (id_ef98f4365a5949d0b80d4af78b3c95a4).startOperation)
            id_95ccf6ab3b634c08867144ab150c61f2.WireTo(id_f291bd8140f541f3be3b70f083beefb2, "fanoutList");            // (EventConnector (id_95ccf6ab3b634c08867144ab150c61f2).fanoutList) -- [IEvent] --> (Operation<object> (id_f291bd8140f541f3be3b70f083beefb2).startOperation)
            id_95ccf6ab3b634c08867144ab150c61f2.WireTo(id_b7ec761d38b0456e89c3092f5a32fcd9, "fanoutList");            // (EventConnector (id_95ccf6ab3b634c08867144ab150c61f2).fanoutList) -- [IEvent] --> (EventConnector (id_b7ec761d38b0456e89c3092f5a32fcd9).NEEDNAME)
            id_ef98f4365a5949d0b80d4af78b3c95a4.WireTo(implementedPortType, "operands");                              // (Operation<object> (id_ef98f4365a5949d0b80d4af78b3c95a4).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (implementedPortType).returnDataB)
            id_ef98f4365a5949d0b80d4af78b3c95a4.WireTo(implementedPortName, "operands");                              // (Operation<object> (id_ef98f4365a5949d0b80d4af78b3c95a4).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (implementedPortName).returnDataB)
            id_ef98f4365a5949d0b80d4af78b3c95a4.WireTo(id_e6be42dd421542a58834688de01798e3, "operationResultOutput"); // (Operation<object> (id_ef98f4365a5949d0b80d4af78b3c95a4).operationResultOutput) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_e6be42dd421542a58834688de01798e3).dataInput)
            id_f291bd8140f541f3be3b70f083beefb2.WireTo(id_56afc3ab53ff41ad916ff5ce94ac94b5, "operands");              // (Operation<object> (id_f291bd8140f541f3be3b70f083beefb2).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (id_56afc3ab53ff41ad916ff5ce94ac94b5).returnDataB)
            id_f291bd8140f541f3be3b70f083beefb2.WireTo(id_e6be42dd421542a58834688de01798e3, "operands");              // (Operation<object> (id_f291bd8140f541f3be3b70f083beefb2).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (id_e6be42dd421542a58834688de01798e3).returnDataB)
            id_f291bd8140f541f3be3b70f083beefb2.WireTo(id_27c730697fb545bab6656b32332bf1ae, "operationResultOutput"); // (Operation<object> (id_f291bd8140f541f3be3b70f083beefb2).operationResultOutput) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_27c730697fb545bab6656b32332bf1ae).dataInput)
            id_27c730697fb545bab6656b32332bf1ae.WireTo(id_56afc3ab53ff41ad916ff5ce94ac94b5, "fanoutList");            // (DataFlowConnector<object> (id_27c730697fb545bab6656b32332bf1ae).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_56afc3ab53ff41ad916ff5ce94ac94b5).dataInput)
            id_27c730697fb545bab6656b32332bf1ae.WireTo(implementedPorts, "fanoutList");                               // (DataFlowConnector<object> (id_27c730697fb545bab6656b32332bf1ae).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (implementedPorts).dataInput)
            id_b7ec761d38b0456e89c3092f5a32fcd9.WireTo(id_701aa74cc996426b9ac1420bfd12796f, "fanoutList");            // (EventConnector (id_b7ec761d38b0456e89c3092f5a32fcd9).fanoutList) -- [IEvent] --> (Operation<object> (id_701aa74cc996426b9ac1420bfd12796f).startOperation)
            id_8d2f6ce98ded4cccbb69743dc52448e4.WireTo(id_11f78143b1204a789e1af593eb4ebf08, "children");              // (Horizontal (id_8d2f6ce98ded4cccbb69743dc52448e4).children) -- [IUI] --> (Text (id_11f78143b1204a789e1af593eb4ebf08).ui)
            id_8d2f6ce98ded4cccbb69743dc52448e4.WireTo(id_41070129381f46c99cc1bdb95314b10e, "children");              // (Horizontal (id_8d2f6ce98ded4cccbb69743dc52448e4).children) -- [IUI] --> (DropDownMenu (id_41070129381f46c99cc1bdb95314b10e).child)
            id_8d2f6ce98ded4cccbb69743dc52448e4.WireTo(id_8ee0114af5bc403a935b4c5d249aff93, "children");              // (Horizontal (id_8d2f6ce98ded4cccbb69743dc52448e4).children) -- [IUI] --> (TextBox (id_8ee0114af5bc403a935b4c5d249aff93).child)
            id_8d2f6ce98ded4cccbb69743dc52448e4.WireTo(id_428f0ba667114e3182465ca8a66d2b53, "children");              // (Horizontal (id_8d2f6ce98ded4cccbb69743dc52448e4).children) -- [IUI] --> (Button (id_428f0ba667114e3182465ca8a66d2b53).child)
            id_41070129381f46c99cc1bdb95314b10e.WireTo(id_621c2cf749d64980bbb0b6e2d11180d5, "selectedItem");          // (DropDownMenu (id_41070129381f46c99cc1bdb95314b10e).selectedItem) -- [IDataFlow<string>] --> (Cast<string,object> (id_621c2cf749d64980bbb0b6e2d11180d5).input)
            id_621c2cf749d64980bbb0b6e2d11180d5.WireTo(acceptedPortType, "output");                                   // (Cast<string,object> (id_621c2cf749d64980bbb0b6e2d11180d5).output) -- [IDataFlow<object>] --> (DataFlowConnector<object> (acceptedPortType).dataInput)
            id_8ee0114af5bc403a935b4c5d249aff93.WireTo(id_6a02d97e013846a7ac73170b934c84a3, "textOutput");            // (TextBox (id_8ee0114af5bc403a935b4c5d249aff93).textOutput) -- [IDataFlow<string>] --> (Cast<string,object> (id_6a02d97e013846a7ac73170b934c84a3).input)
            id_8ee0114af5bc403a935b4c5d249aff93.WireTo(id_55f7680ee50f40d3a536b1b108fadc67, "eventEnterPressed");     // (TextBox (id_8ee0114af5bc403a935b4c5d249aff93).eventEnterPressed) -- [IEvent] --> (EventConnector (id_55f7680ee50f40d3a536b1b108fadc67).NEEDNAME)
            id_6a02d97e013846a7ac73170b934c84a3.WireTo(acceptedPortName, "output");                                   // (Cast<string,object> (id_6a02d97e013846a7ac73170b934c84a3).output) -- [IDataFlow<object>] --> (DataFlowConnector<object> (acceptedPortName).dataInput)
            id_428f0ba667114e3182465ca8a66d2b53.WireTo(id_55f7680ee50f40d3a536b1b108fadc67, "eventButtonClicked");    // (Button (id_428f0ba667114e3182465ca8a66d2b53).eventButtonClicked) -- [IEvent] --> (EventConnector (id_55f7680ee50f40d3a536b1b108fadc67).NEEDNAME)
            id_55f7680ee50f40d3a536b1b108fadc67.WireTo(id_c33c98f980a44503b5ef60ef3abc9432, "fanoutList");            // (EventConnector (id_55f7680ee50f40d3a536b1b108fadc67).fanoutList) -- [IEvent] --> (Operation<object> (id_c33c98f980a44503b5ef60ef3abc9432).startOperation)
            id_55f7680ee50f40d3a536b1b108fadc67.WireTo(id_4570bb2ca7214f3d9ae8d6b44926221f, "fanoutList");            // (EventConnector (id_55f7680ee50f40d3a536b1b108fadc67).fanoutList) -- [IEvent] --> (Operation<object> (id_4570bb2ca7214f3d9ae8d6b44926221f).startOperation)
            id_55f7680ee50f40d3a536b1b108fadc67.WireTo(id_c5af5b7a03654b4c91d71f513f9781a0, "fanoutList");            // (EventConnector (id_55f7680ee50f40d3a536b1b108fadc67).fanoutList) -- [IEvent] --> (EventConnector (id_c5af5b7a03654b4c91d71f513f9781a0).NEEDNAME)
            id_c33c98f980a44503b5ef60ef3abc9432.WireTo(acceptedPortType, "operands");                                 // (Operation<object> (id_c33c98f980a44503b5ef60ef3abc9432).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (acceptedPortType).returnDataB)
            id_c33c98f980a44503b5ef60ef3abc9432.WireTo(acceptedPortName, "operands");                                 // (Operation<object> (id_c33c98f980a44503b5ef60ef3abc9432).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (acceptedPortName).returnDataB)
            id_c33c98f980a44503b5ef60ef3abc9432.WireTo(id_fcb5a684821e4c2d901d9fe692f9b9d5, "operationResultOutput"); // (Operation<object> (id_c33c98f980a44503b5ef60ef3abc9432).operationResultOutput) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_fcb5a684821e4c2d901d9fe692f9b9d5).dataInput)
            id_4570bb2ca7214f3d9ae8d6b44926221f.WireTo(id_b5c1d8aac9c249d995765672eee104ff, "operands");              // (Operation<object> (id_4570bb2ca7214f3d9ae8d6b44926221f).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (id_b5c1d8aac9c249d995765672eee104ff).returnDataB)
            id_4570bb2ca7214f3d9ae8d6b44926221f.WireTo(id_fcb5a684821e4c2d901d9fe692f9b9d5, "operands");              // (Operation<object> (id_4570bb2ca7214f3d9ae8d6b44926221f).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (id_fcb5a684821e4c2d901d9fe692f9b9d5).returnDataB)
            id_4570bb2ca7214f3d9ae8d6b44926221f.WireTo(id_27530a5332274375ab4d3e97fef55f2e, "operationResultOutput"); // (Operation<object> (id_4570bb2ca7214f3d9ae8d6b44926221f).operationResultOutput) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_27530a5332274375ab4d3e97fef55f2e).dataInput)
            id_27530a5332274375ab4d3e97fef55f2e.WireTo(id_b5c1d8aac9c249d995765672eee104ff, "fanoutList");            // (DataFlowConnector<object> (id_27530a5332274375ab4d3e97fef55f2e).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_b5c1d8aac9c249d995765672eee104ff).dataInput)
            id_27530a5332274375ab4d3e97fef55f2e.WireTo(acceptedPorts, "fanoutList");                                  // (DataFlowConnector<object> (id_27530a5332274375ab4d3e97fef55f2e).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (acceptedPorts).dataInput)
            id_c5af5b7a03654b4c91d71f513f9781a0.WireTo(id_701aa74cc996426b9ac1420bfd12796f, "fanoutList");            // (EventConnector (id_c5af5b7a03654b4c91d71f513f9781a0).fanoutList) -- [IEvent] --> (Operation<object> (id_701aa74cc996426b9ac1420bfd12796f).startOperation)
            id_bf369ea59a804b90aff271407794fa25.WireTo(id_8fd52526ee254981ade41557b69e3d87, "children");              // (Vertical (id_bf369ea59a804b90aff271407794fa25).children) -- [List<IUI>] --> (Text (id_8fd52526ee254981ade41557b69e3d87).ui)
            id_bf369ea59a804b90aff271407794fa25.WireTo(id_1871cad854c744f385b15dd3332436d0, "children");              // (Vertical (id_bf369ea59a804b90aff271407794fa25).children) -- [List<IUI>] --> (TextBox (id_1871cad854c744f385b15dd3332436d0).child)
            id_28b1e7620ecf4fb29fcfd6030079ccdd.WireTo(id_208a467b028d482c81197b128b7022a9, "children");              // (Horizontal (id_28b1e7620ecf4fb29fcfd6030079ccdd).children) -- [IUI] --> (Button (id_208a467b028d482c81197b128b7022a9).child)
            id_28b1e7620ecf4fb29fcfd6030079ccdd.WireTo(id_2f9440f0c68a4b308d44568c8ef3b38f, "children");              // (Horizontal (id_28b1e7620ecf4fb29fcfd6030079ccdd).children) -- [IUI] --> (Button (id_2f9440f0c68a4b308d44568c8ef3b38f).child)
            id_28b1e7620ecf4fb29fcfd6030079ccdd.WireTo(id_7f1eb6fb40c241fbabab8b1905bac7ad, "children");              // (Horizontal (id_28b1e7620ecf4fb29fcfd6030079ccdd).children) -- [IUI] --> (Button (id_7f1eb6fb40c241fbabab8b1905bac7ad).child)
            id_28b1e7620ecf4fb29fcfd6030079ccdd.WireTo(id_3090376c0d6a469daa41bcee0ec7d4e1, "children");              // (Horizontal (id_28b1e7620ecf4fb29fcfd6030079ccdd).children) -- [IUI] --> (Button (id_3090376c0d6a469daa41bcee0ec7d4e1).child)
            id_208a467b028d482c81197b128b7022a9.WireTo(id_701aa74cc996426b9ac1420bfd12796f, "eventButtonClicked");    // (Button (id_208a467b028d482c81197b128b7022a9).eventButtonClicked) -- [IEvent] --> (Operation<object> (id_701aa74cc996426b9ac1420bfd12796f).startOperation)
            id_701aa74cc996426b9ac1420bfd12796f.WireTo(abstractionType, "operands");                                  // (Operation<object> (id_701aa74cc996426b9ac1420bfd12796f).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (abstractionType).returnDataB)
            id_701aa74cc996426b9ac1420bfd12796f.WireTo(implementedPorts, "operands");                                 // (Operation<object> (id_701aa74cc996426b9ac1420bfd12796f).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (implementedPorts).returnDataB)
            id_701aa74cc996426b9ac1420bfd12796f.WireTo(acceptedPorts, "operands");                                    // (Operation<object> (id_701aa74cc996426b9ac1420bfd12796f).operands) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (acceptedPorts).returnDataB)
            id_701aa74cc996426b9ac1420bfd12796f.WireTo(currentTemplate, "operationResultOutput");                     // (Operation<object> (id_701aa74cc996426b9ac1420bfd12796f).operationResultOutput) -- [IDataFlow<object>] --> (DataFlowConnector<object> (currentTemplate).dataInput)
            currentTemplate.WireTo(id_07422c223a1b49a1888f46a4d02ac46b, "fanoutList");                                // (DataFlowConnector<object> (currentTemplate).fanoutList) -- [IDataFlow<object>] --> (Apply<object,Dictionary<string,string>> (id_07422c223a1b49a1888f46a4d02ac46b).input)
            id_07422c223a1b49a1888f46a4d02ac46b.WireTo(id_bf05dd3dae0b4a12b7af06cb4d440a16, "output");                // (Apply<object,Dictionary<string,string>> (id_07422c223a1b49a1888f46a4d02ac46b).output) -- [IDataFlow<Dictionary<string,string>>>] --> (JSONWriter<Dictionary<string,string>> (id_bf05dd3dae0b4a12b7af06cb4d440a16).valueInput)
            id_bf05dd3dae0b4a12b7af06cb4d440a16.WireTo(id_1871cad854c744f385b15dd3332436d0, "stringOutput");          // (JSONWriter<Dictionary<string,string>> (id_bf05dd3dae0b4a12b7af06cb4d440a16).stringOutput) -- [IDataFlow<string>] --> (TextBox (id_1871cad854c744f385b15dd3332436d0).textInput)
            id_2f9440f0c68a4b308d44568c8ef3b38f.WireTo(id_ea97ba36a3a747d2b1ccecd727729bf2, "eventButtonClicked");    // (Button (id_2f9440f0c68a4b308d44568c8ef3b38f).eventButtonClicked) -- [IEvent] --> (EventConnector (id_ea97ba36a3a747d2b1ccecd727729bf2).NEEDNAME)
            id_ea97ba36a3a747d2b1ccecd727729bf2.WireTo(clearAllObjects, "fanoutList");                                // (EventConnector (id_ea97ba36a3a747d2b1ccecd727729bf2).fanoutList) -- [IEvent] --> (Data<object> (clearAllObjects).start)
            id_ea97ba36a3a747d2b1ccecd727729bf2.WireTo(clearAllFields, "fanoutList");                                 // (EventConnector (id_ea97ba36a3a747d2b1ccecd727729bf2).fanoutList) -- [IEvent] --> (Data<string> (clearAllFields).start)
            id_ea97ba36a3a747d2b1ccecd727729bf2.WireTo(id_5d3449d2c2c441aabaff3476a4b591d9, "fanoutList");            // (EventConnector (id_ea97ba36a3a747d2b1ccecd727729bf2).fanoutList) -- [IEvent] --> (Data<string> (id_5d3449d2c2c441aabaff3476a4b591d9).start)
            id_ea97ba36a3a747d2b1ccecd727729bf2.WireTo(id_16eac96a1c0d40d38c24817aaa86f7ef, "fanoutList");            // (EventConnector (id_ea97ba36a3a747d2b1ccecd727729bf2).fanoutList) -- [IEvent] --> (EventConnector (id_16eac96a1c0d40d38c24817aaa86f7ef).NEEDNAME)
            clearAllObjects.WireTo(id_bd93beb7e12f4414aed422969b2eb680, "dataOutput");                                // (Data<object> (clearAllObjects).dataOutput) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_bd93beb7e12f4414aed422969b2eb680).dataInput)
            id_bd93beb7e12f4414aed422969b2eb680.WireTo(acceptedPorts, "fanoutList");                                  // (DataFlowConnector<object> (id_bd93beb7e12f4414aed422969b2eb680).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (acceptedPorts).dataInput)
            id_bd93beb7e12f4414aed422969b2eb680.WireTo(implementedPorts, "fanoutList");                               // (DataFlowConnector<object> (id_bd93beb7e12f4414aed422969b2eb680).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (implementedPorts).dataInput)
            id_bd93beb7e12f4414aed422969b2eb680.WireTo(abstractionType, "fanoutList");                                // (DataFlowConnector<object> (id_bd93beb7e12f4414aed422969b2eb680).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (abstractionType).dataInput)
            id_bd93beb7e12f4414aed422969b2eb680.WireTo(id_b5c1d8aac9c249d995765672eee104ff, "fanoutList");            // (DataFlowConnector<object> (id_bd93beb7e12f4414aed422969b2eb680).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_b5c1d8aac9c249d995765672eee104ff).dataInput)
            id_bd93beb7e12f4414aed422969b2eb680.WireTo(id_56afc3ab53ff41ad916ff5ce94ac94b5, "fanoutList");            // (DataFlowConnector<object> (id_bd93beb7e12f4414aed422969b2eb680).fanoutList) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_56afc3ab53ff41ad916ff5ce94ac94b5).dataInput)
            clearAllFields.WireTo(id_5f88698018334b8196b37bbc6f1d3813, "dataOutput");                                 // (Data<string> (clearAllFields).dataOutput) -- [IDataFlow<string>] --> (DataFlowConnector<string> (id_5f88698018334b8196b37bbc6f1d3813).dataInput)
            id_5f88698018334b8196b37bbc6f1d3813.WireTo(id_ff27a98906344620a9507982ceb7f70b, "fanoutList");            // (DataFlowConnector<string> (id_5f88698018334b8196b37bbc6f1d3813).fanoutList) -- [IDataFlow<string>] --> (TextBox (id_ff27a98906344620a9507982ceb7f70b).textInput)
            id_5f88698018334b8196b37bbc6f1d3813.WireTo(id_1919b1cb93d14cb4b52d3b4ed1cdc574, "fanoutList");            // (DataFlowConnector<string> (id_5f88698018334b8196b37bbc6f1d3813).fanoutList) -- [IDataFlow<string>] --> (TextBox (id_1919b1cb93d14cb4b52d3b4ed1cdc574).textInput)
            id_5f88698018334b8196b37bbc6f1d3813.WireTo(id_8ee0114af5bc403a935b4c5d249aff93, "fanoutList");            // (DataFlowConnector<string> (id_5f88698018334b8196b37bbc6f1d3813).fanoutList) -- [IDataFlow<string>] --> (TextBox (id_8ee0114af5bc403a935b4c5d249aff93).textInput)
            id_5d3449d2c2c441aabaff3476a4b591d9.WireTo(id_30f6472d900741b5adcbc7038d02e104, "dataOutput");            // (Data<string> (id_5d3449d2c2c441aabaff3476a4b591d9).dataOutput) -- [IDataFlow<string>] --> (DataFlowConnector<string> (id_30f6472d900741b5adcbc7038d02e104).dataInput)
            id_30f6472d900741b5adcbc7038d02e104.WireTo(id_7b663597f0834037b2d2371b98a11c57, "fanoutList");            // (DataFlowConnector<string> (id_30f6472d900741b5adcbc7038d02e104).fanoutList) -- [IDataFlow<string>] --> (DropDownMenu (id_7b663597f0834037b2d2371b98a11c57).defaultSelectionInput)
            id_30f6472d900741b5adcbc7038d02e104.WireTo(id_41070129381f46c99cc1bdb95314b10e, "fanoutList");            // (DataFlowConnector<string> (id_30f6472d900741b5adcbc7038d02e104).fanoutList) -- [IDataFlow<string>] --> (DropDownMenu (id_41070129381f46c99cc1bdb95314b10e).defaultSelectionInput)
            id_16eac96a1c0d40d38c24817aaa86f7ef.WireTo(id_1871cad854c744f385b15dd3332436d0, "fanoutList");            // (EventConnector (id_16eac96a1c0d40d38c24817aaa86f7ef).fanoutList) -- [IEvent] --> (TextBox (id_1871cad854c744f385b15dd3332436d0).NEEDNAME)
            id_7f1eb6fb40c241fbabab8b1905bac7ad.WireTo(id_df3bcd486adc49768032a6b241c4c404, "eventButtonClicked");    // (Button (id_7f1eb6fb40c241fbabab8b1905bac7ad).eventButtonClicked) -- [IEvent] --> (Data<object> (id_df3bcd486adc49768032a6b241c4c404).start)
            id_df3bcd486adc49768032a6b241c4c404.WireTo(currentTemplate, "inputDataB");                                // (Data<object> (id_df3bcd486adc49768032a6b241c4c404).inputDataB) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (currentTemplate).returnDataB)
            id_df3bcd486adc49768032a6b241c4c404.WireTo(id_7c3917f34bbd4750b0afe96c9769b4b3, "dataOutput");            // (Data<object> (id_df3bcd486adc49768032a6b241c4c404).dataOutput) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_7c3917f34bbd4750b0afe96c9769b4b3).dataInput)
            id_7c3917f34bbd4750b0afe96c9769b4b3.WireTo(abstractionTemplateEntry, "fanoutList");                       // (DataFlowConnector<object> (id_7c3917f34bbd4750b0afe96c9769b4b3).fanoutList) -- [IDataFlow<object>] --> (@Cast<object,Tuple<string,Dictionary<string,string>>> (abstractionTemplateEntry).input)
            id_7c3917f34bbd4750b0afe96c9769b4b3.WireTo(domainAbstractionButtonClicked, "fanoutList");                 // (DataFlowConnector<object> (id_7c3917f34bbd4750b0afe96c9769b4b3).fanoutList) -- [IDataFlow<object>] --> (@ConvertToEvent<object> (domainAbstractionButtonClicked).start)
            id_3090376c0d6a469daa41bcee0ec7d4e1.WireTo(id_f0fe1e2db08a44c7942351cf25e107e9, "eventButtonClicked");    // (Button (id_3090376c0d6a469daa41bcee0ec7d4e1).eventButtonClicked) -- [IEvent] --> (Data<object> (id_f0fe1e2db08a44c7942351cf25e107e9).start)
            id_f0fe1e2db08a44c7942351cf25e107e9.WireTo(currentTemplate, "inputDataB");                                // (Data<object> (id_f0fe1e2db08a44c7942351cf25e107e9).inputDataB) -- [IDataFlowB<object>] --> (DataFlowConnector<object> (currentTemplate).returnDataB)
            id_f0fe1e2db08a44c7942351cf25e107e9.WireTo(id_d416180698124388bc6969c6c1ff5083, "dataOutput");            // (Data<object> (id_f0fe1e2db08a44c7942351cf25e107e9).dataOutput) -- [IDataFlow<object>] --> (DataFlowConnector<object> (id_d416180698124388bc6969c6c1ff5083).dataInput)
            id_d416180698124388bc6969c6c1ff5083.WireTo(abstractionTemplateEntry, "fanoutList");                       // (DataFlowConnector<object> (id_d416180698124388bc6969c6c1ff5083).fanoutList) -- [IDataFlow<object>] --> (@Cast<object,Tuple<string,Dictionary<string,string>>> (abstractionTemplateEntry).input)
            id_d416180698124388bc6969c6c1ff5083.WireTo(storyAbstractionButtonClicked, "fanoutList");                  // (DataFlowConnector<object> (id_d416180698124388bc6969c6c1ff5083).fanoutList) -- [IDataFlow<object>] --> (@ConvertToEvent<object> (storyAbstractionButtonClicked).start)
            // END AUTO-GENERATED WIRING FOR NewAbstractionTemplateTab.xmind
        }
예제 #3
0
        private MainWindow Calculator2ARows()
        {
            var mainWindow = new MainWindow("Calculator");
            // BEGIN AUTO-GENERATED INSTANTIATIONS FOR Calculator2ARows.xmind
            CalculatorRow Row1 = new CalculatorRow()
            {
                InstanceName = "Row1"
            };
            CalculatorRow Row2 = new CalculatorRow()
            {
                InstanceName = "Row2"
            };
            DataFlowConnector <string> labelsConcatenatorConnector = new DataFlowConnector <string>()
            {
                InstanceName = "labelsConcatenatorConnector"
            };
            Horizontal id_24914ab245484fe1b70af8020ca2e831 = new Horizontal()
            {
                InstanceName = "Default", Ratios = new int[] { 1, 2, 2, 1, 3 }, MinWidths = new int[] { 50, 200, 520 }
            };
            StringConcat labelsConcatenator = new StringConcat()
            {
                InstanceName = "labelsConcatenator", Separator = ","
            };
            Text id_39a7a11c94da4b338a92b2235b8e96d1 = new Text("Units")
            {
                InstanceName = "Default", FontSize = 50
            };
            Text id_6be1dbef5dd042ba88554b4482b16079 = new Text("Formula")
            {
                InstanceName = "Default", FontSize = 50
            };
            Text id_93a237ff714b48748a4ba10ede42d2dc = new Text("Description")
            {
                InstanceName = "Default", FontSize = 50
            };
            Text id_96b879e17b4346e4b98484224e65d582 = new Text("Label")
            {
                InstanceName = "Default", FontSize = 50
            };
            Text id_ccc54bcd38e14c10a5ba59d851191cc4 = new Text("Result")
            {
                InstanceName = "Default", FontSize = 50
            };
            Text id_fc0b8f38b3c14f799f605cd54214b503 = new Text("Debug output")
            {
                InstanceName = "Default", FontSize = 50
            };
            Vertical rows = new Vertical()
            {
                InstanceName = "rows"
            };

            // END AUTO-GENERATED INSTANTIATIONS FOR Calculator2ARows.xmind

            // BEGIN AUTO-GENERATED WIRING FOR Calculator2ARows.xmind
            mainWindow.WireTo(rows, "iuiStructure");                                                     // (@MainWindow (mainWindow).iuiStructure) -- [IUI] --> (Vertical (rows).child)
            rows.WireTo(id_24914ab245484fe1b70af8020ca2e831, "children");                                // (Vertical (rows).children) -- [List<IUI>] --> (Horizontal (id_24914ab245484fe1b70af8020ca2e831).child)
            rows.WireTo(Row1, "children");                                                               // (Vertical (rows).children) -- [List<IUI>] --> (CalculatorRow (Row1).child)
            rows.WireTo(Row2, "children");                                                               // (Vertical (rows).children) -- [List<IUI>] --> (CalculatorRow (Row2).child)
            rows.WireTo(id_fc0b8f38b3c14f799f605cd54214b503, "children");                                // (Vertical (rows).children) -- [List<IUI>] --> (Text (id_fc0b8f38b3c14f799f605cd54214b503).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_96b879e17b4346e4b98484224e65d582, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_96b879e17b4346e4b98484224e65d582).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_6be1dbef5dd042ba88554b4482b16079, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_6be1dbef5dd042ba88554b4482b16079).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_ccc54bcd38e14c10a5ba59d851191cc4, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_ccc54bcd38e14c10a5ba59d851191cc4).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_39a7a11c94da4b338a92b2235b8e96d1, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_39a7a11c94da4b338a92b2235b8e96d1).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_93a237ff714b48748a4ba10ede42d2dc, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_93a237ff714b48748a4ba10ede42d2dc).child)
            labelsConcatenator.WireTo(Row1, "inputs");                                                   // (StringConcat (labelsConcatenator).inputs) -- [IDataFlowB<string>] --> (CalculatorRow (Row1).label)
            Row2.WireTo(Row1, "operands");                                                               // (CalculatorRow (Row2).operands) -- [IDataFlowB<double>] --> (CalculatorRow (Row1).result)
            Row1.WireTo(Row1, "operands");                                                               // (CalculatorRow (Row1).operands) -- [IDataFlowB<double>] --> (CalculatorRow (Row1).result)
            labelsConcatenator.WireTo(Row2, "inputs");                                                   // (StringConcat (labelsConcatenator).inputs) -- [IDataFlowB<string>] --> (CalculatorRow (Row2).label)
            Row2.WireTo(Row2, "operands");                                                               // (CalculatorRow (Row2).operands) -- [IDataFlowB<double>] --> (CalculatorRow (Row2).result)
            Row1.WireTo(Row2, "operands");                                                               // (CalculatorRow (Row1).operands) -- [IDataFlowB<double>] --> (CalculatorRow (Row2).result)
            labelsConcatenator.WireTo(labelsConcatenatorConnector, "output");                            // (StringConcat (labelsConcatenator).output) -- [iDataFlow<string>] --> (DataFlowConnector<string> (labelsConcatenatorConnector).input)
            Row2.WireTo(labelsConcatenatorConnector, "labelsCommaSeparated");                            // (CalculatorRow (Row2).labelsCommaSeparated) -- [IDataFlowB<string>] --> (DataFlowConnector<string> (labelsConcatenatorConnector).outputsB)
            Row1.WireTo(labelsConcatenatorConnector, "labelsCommaSeparated");                            // (CalculatorRow (Row1).labelsCommaSeparated) -- [IDataFlowB<string>] --> (DataFlowConnector<string> (labelsConcatenatorConnector).outputsB)
            // END AUTO-GENERATED WIRING FOR Calculator2ARows.xmind
            // Row1.WireInternals();
            // Row2.WireInternals();
            return(mainWindow);
        }
예제 #4
0
            public CalculatorNRows(out MainWindow mw)
            {
                // These Ratios and MinWidths are for the columns of the calculator
                // Label, Formula, TextBook, Result, Units, Description, Format, Digits
                int[] Ratios    = new int[] { 4, 8, 8, 8, 4, 8, 1 };
                int[] MinWidths = new int[] { 50, 100, 100, 100, 50, 50, 57 };  // 57 is just big enough to show the Fmt enum selections
                int   FontSize  = 25;

                // BEGIN AUTO-GENERATED INSTANTIATIONS FOR CalculatorNRows.xmind
                Button id_803db86064414b379608f65bc07098bc = new Button("Add row")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                CalculatorRowFactory id_012306911dbe485c91ecd24bd35b2420 = new CalculatorRowFactory()
                {
                    InstanceName = "Default"
                };
                DataFlowConnector <string> labelsConcatenatorConnector = new DataFlowConnector <string>()
                {
                    InstanceName = "labelsConcatenatorConnector"
                };
                Horizontal id_24914ab245484fe1b70af8020ca2e831 = new Horizontal()
                {
                    InstanceName = "Default", Ratios = Ratios, MinWidths = MinWidths
                };
                Horizontal id_aa2f23f75c79479e88ccf7ed0ed6c2cc = new Horizontal()
                {
                    InstanceName = "Default", Ratios = new int[] { 1, 8 }, MinWidths = new int[] { 50 }
                };
                MainWindow mainWindow = new MainWindow("Reactive Calculator")
                {
                    InstanceName = "mainWindow"
                };
                Multiple MultipleRow = new Multiple(N: 4)
                {
                    InstanceName = "MultipleRow", ConstructorCallbackMethod = (instance) => { ((CalculatorRow)instance).FontSize = FontSize;  ((CalculatorRow)instance).Ratios = Ratios;   ((CalculatorRow)instance).MinWidths = MinWidths; }, WiringMethod = (newInstance) => { _rows.WireTo(newInstance); _labelsConcatenator.WireTo(newInstance, "inputs");   newInstance.WireTo(labelsConcatenatorConnector, "labelsCommaSeparated");  testCalculatorRows.Add((ITestCalculatorRow)newInstance); }, CrossWiringMethod = (instance1, instance2) => { instance2.WireFrom(instance1, "operands"); }, PostWiringInitializeMethod = delegate(object instance) { _rows.AddRows();  ((CalculatorRow)instance).Initialize(); }
                };
                Space id_68d3e779ba0d4f78ad48db2ed468608c = new Space()
                {
                    InstanceName = "Default"
                };
                StringConcat labelsConcatenator = new StringConcat()
                {
                    InstanceName = "labelsConcatenator", Separator = ","
                };
                Text id_39a7a11c94da4b338a92b2235b8e96d1 = new Text("Units")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                Text id_6be1dbef5dd042ba88554b4482b16079 = new Text("Formula")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                Text id_93a237ff714b48748a4ba10ede42d2dc = new Text("Description")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                Text id_96b879e17b4346e4b98484224e65d582 = new Text("Label")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                Text id_a72464a6a1a8426887ca40b886b5567e = new Text("Textbook")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                Text id_ccc54bcd38e14c10a5ba59d851191cc4 = new Text("Result")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                Text id_f9b8d9329de5407b93a1834afeaf5de6 = new Text("Fmt")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                Text id_fc0b8f38b3c14f799f605cd54214b503 = new Text("Reactive Calculator")
                {
                    InstanceName = "Default", FontSize = FontSize
                };
                TextBox id_b84a8eee3a554afaad9fa90ac6b594f9 = new TextBox()
                {
                    InstanceName = "Default", Text = "Title your calculation here", FontSize = 15
                };
                Vertical id_b02d2caea938499b997b9bfcb80fb0e9 = new Vertical()
                {
                    InstanceName = "Default"
                };
                Vertical rows = new Vertical()
                {
                    InstanceName = "rows"
                };

                // END AUTO-GENERATED INSTANTIATIONS FOR CalculatorNRows.xmind

                // BEGIN AUTO-GENERATED WIRING FOR CalculatorNRows.xmind
                mainWindow.WireTo(id_b02d2caea938499b997b9bfcb80fb0e9, "iuiStructure");                      // (MainWindow (mainWindow).iuiStructure) -- [IUI] --> (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).child)
                labelsConcatenator.WireTo(labelsConcatenatorConnector, "output");                            // (StringConcat (labelsConcatenator).output) -- [iDataFlow<string>] --> (DataFlowConnector<string> (labelsConcatenatorConnector).input)
                id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(id_fc0b8f38b3c14f799f605cd54214b503, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (Text (id_fc0b8f38b3c14f799f605cd54214b503).child)
                id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(id_b84a8eee3a554afaad9fa90ac6b594f9, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (TextBox (id_b84a8eee3a554afaad9fa90ac6b594f9).child)
                id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(id_24914ab245484fe1b70af8020ca2e831, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (Horizontal (id_24914ab245484fe1b70af8020ca2e831).child)
                id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(rows, "children");                                // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (Vertical (rows).Child)
                id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(id_aa2f23f75c79479e88ccf7ed0ed6c2cc, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (Horizontal (id_aa2f23f75c79479e88ccf7ed0ed6c2cc).Child)
                id_24914ab245484fe1b70af8020ca2e831.WireTo(id_96b879e17b4346e4b98484224e65d582, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_96b879e17b4346e4b98484224e65d582).child)
                id_24914ab245484fe1b70af8020ca2e831.WireTo(id_6be1dbef5dd042ba88554b4482b16079, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_6be1dbef5dd042ba88554b4482b16079).child)
                id_24914ab245484fe1b70af8020ca2e831.WireTo(id_a72464a6a1a8426887ca40b886b5567e, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_a72464a6a1a8426887ca40b886b5567e).child)
                id_24914ab245484fe1b70af8020ca2e831.WireTo(id_ccc54bcd38e14c10a5ba59d851191cc4, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_ccc54bcd38e14c10a5ba59d851191cc4).child)
                id_24914ab245484fe1b70af8020ca2e831.WireTo(id_39a7a11c94da4b338a92b2235b8e96d1, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_39a7a11c94da4b338a92b2235b8e96d1).child)
                id_24914ab245484fe1b70af8020ca2e831.WireTo(id_93a237ff714b48748a4ba10ede42d2dc, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_93a237ff714b48748a4ba10ede42d2dc).child)
                id_24914ab245484fe1b70af8020ca2e831.WireTo(id_f9b8d9329de5407b93a1834afeaf5de6, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_f9b8d9329de5407b93a1834afeaf5de6).child)
                id_aa2f23f75c79479e88ccf7ed0ed6c2cc.WireTo(id_803db86064414b379608f65bc07098bc, "children"); // (Horizontal (id_aa2f23f75c79479e88ccf7ed0ed6c2cc).children) -- [List<IUI>] --> (Button (id_803db86064414b379608f65bc07098bc).child)
                id_aa2f23f75c79479e88ccf7ed0ed6c2cc.WireTo(id_68d3e779ba0d4f78ad48db2ed468608c, "children"); // (Horizontal (id_aa2f23f75c79479e88ccf7ed0ed6c2cc).children) -- [List<IUI>] --> (Space (id_68d3e779ba0d4f78ad48db2ed468608c).child)
                id_803db86064414b379608f65bc07098bc.WireTo(MultipleRow, "eventButtonClicked");               // (Button (id_803db86064414b379608f65bc07098bc).eventButtonClicked) -- [IEvent] --> (Multiple (MultipleRow).addRow)
                MultipleRow.WireTo(id_012306911dbe485c91ecd24bd35b2420, "factory");                          // (Multiple (MultipleRow).factory) -- [IFactoryMethod] --> (CalculatorRowFactory (id_012306911dbe485c91ecd24bd35b2420).factory)
                // END AUTO-GENERATED WIRING FOR CalculatorNRows.xmind

                // These are used to solve compiler error "Cannot use local variable 'rows' before it is declared" in the lambda functions in the wiring code above if they reference 'rows' and 'labelsConcetenator' instead;
                _rows = rows;
                _labelsConcatenator = labelsConcatenator;  //

                // This tell MultipleRow object to go ahead an create calculator rows (each of which will use the lambdas above to wire into the rest of the application)
                MultipleRow.Generate();


                // these are used for testing the application to set the title and press the button
                title        = id_b84a8eee3a554afaad9fa90ac6b594f9;
                addRowButton = id_803db86064414b379608f65bc07098bc;

                mw = mainWindow;
            }
예제 #5
0
        /*
         *
         *      public void CalculatorNRows()
         *      {
         *          Vertical rows = new Vertical() { InstanceName = "rows" };
         *          StringConcat labelsConcatenator = new StringConcat() { InstanceName = "labelsConcatenator", Separator = "," };
         *          // BEGIN AUTO-GENERATED INSTANTIATIONS FOR CalculatorNRows2.xmind
         *          Button id_803db86064414b379608f65bc07098bc = new Button("Add row") { InstanceName = "Default", FontSize = 25 };
         *          CalculatorRowFactory id_012306911dbe485c91ecd24bd35b2420 = new CalculatorRowFactory() { InstanceName = "Default" };
         *          DataFlowConnector<string> labelsConcatenatorConnector = new DataFlowConnector<string>() { InstanceName = "labelsConcatenatorConnector" };
         *          Horizontal id_24914ab245484fe1b70af8020ca2e831 = new Horizontal() { InstanceName = "Default", Ratios = new int[] { 1, 2, 2, 1, 3 }, MinWidths = new int[] { 50, 200, 520 } };
         *          Horizontal id_aa2f23f75c79479e88ccf7ed0ed6c2cc = new Horizontal() { InstanceName = "Default", Ratios = new int[] { 1, 8 }, MinWidths = new int[] { 50 } };
         *          Multiple MultipleRow = new Multiple(N: 4) { InstanceName = "MultipleRow", WiringMethod = (newInstance) => { rows.WireTo(newInstance); labelsConcatenator.WireTo(newInstance, "inputs"); newInstance.WireTo(labelsConcatenatorConnector, "labelsCommaSeparated"); }, CrossWiringMethod = (instance1, instance2) => { instance2.WireFrom(instance1, "operands"); }, PostWiringInitializeMethod = delegate (object instance) { rows.AddRows(); ((CalculatorRow)instance).Initialize(); } };
         *          Space id_68d3e779ba0d4f78ad48db2ed468608c = new Space() { InstanceName = "Default" };
         *          Text id_39a7a11c94da4b338a92b2235b8e96d1 = new Text("Units") { InstanceName = "Default", FontSize = 25 };
         *          Text id_6be1dbef5dd042ba88554b4482b16079 = new Text("Formula") { InstanceName = "Default", FontSize = 25 };
         *          Text id_93a237ff714b48748a4ba10ede42d2dc = new Text("Description") { InstanceName = "Default", FontSize = 25 };
         *          Text id_96b879e17b4346e4b98484224e65d582 = new Text("Label") { InstanceName = "Default", FontSize = 25 };
         *          Text id_ccc54bcd38e14c10a5ba59d851191cc4 = new Text("Result") { InstanceName = "Default", FontSize = 25 };
         *          Text id_fc0b8f38b3c14f799f605cd54214b503 = new Text("Reactive Calculator") { InstanceName = "Default", FontSize = 25 };
         *          TextBox id_b84a8eee3a554afaad9fa90ac6b594f9 = new TextBox() { InstanceName = "Default", Text = "Title your calculation here", FontSize = 15 };
         *          Vertical id_b02d2caea938499b997b9bfcb80fb0e9 = new Vertical() { InstanceName = "Default" };
         *          // END AUTO-GENERATED INSTANTIATIONS FOR CalculatorNRows2.xmind
         *          // ((CalculatorRow)newInstance).WireInternals();
         *
         *          // BEGIN AUTO-GENERATED WIRING FOR CalculatorNRows2.xmind
         *          mainWindow.WireTo(id_b02d2caea938499b997b9bfcb80fb0e9, "iuiStructure"); // (@MainWindow (mainWindow).iuiStructure) -- [IUI] --> (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).child)
         *          labelsConcatenator.WireTo(labelsConcatenatorConnector, "output"); // (@StringConcat (labelsConcatenator).output) -- [iDataFlow<string>] --> (DataFlowConnector<string> (labelsConcatenatorConnector).input)
         *          id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(id_fc0b8f38b3c14f799f605cd54214b503, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (Text (id_fc0b8f38b3c14f799f605cd54214b503).child)
         *          id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(id_b84a8eee3a554afaad9fa90ac6b594f9, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (TextBox (id_b84a8eee3a554afaad9fa90ac6b594f9).child)
         *          id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(id_24914ab245484fe1b70af8020ca2e831, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (Horizontal (id_24914ab245484fe1b70af8020ca2e831).child)
         *          id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(rows, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (@Vertical (rows).Child)
         *          id_b02d2caea938499b997b9bfcb80fb0e9.WireTo(id_aa2f23f75c79479e88ccf7ed0ed6c2cc, "children"); // (Vertical (id_b02d2caea938499b997b9bfcb80fb0e9).children) -- [List<IUI>] --> (Horizontal (id_aa2f23f75c79479e88ccf7ed0ed6c2cc).Child)
         *          id_24914ab245484fe1b70af8020ca2e831.WireTo(id_96b879e17b4346e4b98484224e65d582, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_96b879e17b4346e4b98484224e65d582).child)
         *          id_24914ab245484fe1b70af8020ca2e831.WireTo(id_6be1dbef5dd042ba88554b4482b16079, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_6be1dbef5dd042ba88554b4482b16079).child)
         *          id_24914ab245484fe1b70af8020ca2e831.WireTo(id_ccc54bcd38e14c10a5ba59d851191cc4, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_ccc54bcd38e14c10a5ba59d851191cc4).child)
         *          id_24914ab245484fe1b70af8020ca2e831.WireTo(id_39a7a11c94da4b338a92b2235b8e96d1, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_39a7a11c94da4b338a92b2235b8e96d1).child)
         *          id_24914ab245484fe1b70af8020ca2e831.WireTo(id_93a237ff714b48748a4ba10ede42d2dc, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_93a237ff714b48748a4ba10ede42d2dc).child)
         *          id_aa2f23f75c79479e88ccf7ed0ed6c2cc.WireTo(id_803db86064414b379608f65bc07098bc, "children"); // (Horizontal (id_aa2f23f75c79479e88ccf7ed0ed6c2cc).children) -- [List<IUI>] --> (Button (id_803db86064414b379608f65bc07098bc).child)
         *          id_aa2f23f75c79479e88ccf7ed0ed6c2cc.WireTo(id_68d3e779ba0d4f78ad48db2ed468608c, "children"); // (Horizontal (id_aa2f23f75c79479e88ccf7ed0ed6c2cc).children) -- [List<IUI>] --> (Space (id_68d3e779ba0d4f78ad48db2ed468608c).child)
         *          id_803db86064414b379608f65bc07098bc.WireTo(MultipleRow, "eventButtonClicked"); // (Button (id_803db86064414b379608f65bc07098bc).eventButtonClicked) -- [IEvent] --> (Multiple (MultipleRow).addRow)
         *          MultipleRow.WireTo(id_012306911dbe485c91ecd24bd35b2420, "factory"); // (Multiple (MultipleRow).factory) -- [IFactoryMethod] --> (CalculatorRowFactory (id_012306911dbe485c91ecd24bd35b2420).factory)
         *          // END AUTO-GENERATED WIRING FOR CalculatorNRows2.xmind
         *          MultipleRow.Generate();
         *      }
         */



        private MainWindow Calculator10Rows()
        {
            MainWindow mainWindow = new MainWindow("Calculator");
            Vertical   rows       = new Vertical()
            {
                InstanceName = "rows"
            };
            StringConcat labelsConcatenator = new StringConcat()
            {
                InstanceName = "labelsConcatenator", Separator = ","
            };
            // BEGIN AUTO-GENERATED INSTANTIATIONS FOR Calculator10Rows.xmind
            CalculatorRowFactory id_012306911dbe485c91ecd24bd35b2420 = new CalculatorRowFactory()
            {
                InstanceName = "Default"
            };
            DataFlowConnector <string> labelsConcatenatorConnector = new DataFlowConnector <string>()
            {
                InstanceName = "labelsConcatenatorConnector"
            };
            Horizontal id_24914ab245484fe1b70af8020ca2e831 = new Horizontal()
            {
                InstanceName = "Default", Ratios = new int[] { 1, 2, 2, 1, 3 }, MinWidths = new int[] { 50, 200, 520 }
            };
            Multiple MultipleRow = new Multiple(N: 10)
            {
                InstanceName = "MultipleRow", WiringMethod = (newInstance) => { rows.WireTo(newInstance); labelsConcatenator.WireTo(newInstance, "inputs"); newInstance.WireTo(labelsConcatenatorConnector, "labelsCommaSeparated"); }, CrossWiringMethod = (instance1, instance2) => { instance2.WireFrom(instance1, "operands"); }
            };
            Text id_39a7a11c94da4b338a92b2235b8e96d1 = new Text("Units")
            {
                InstanceName = "Default", FontSize = 25
            };
            Text id_6be1dbef5dd042ba88554b4482b16079 = new Text("Formula")
            {
                InstanceName = "Default", FontSize = 25
            };
            Text id_93a237ff714b48748a4ba10ede42d2dc = new Text("Description")
            {
                InstanceName = "Default", FontSize = 25
            };
            Text id_96b879e17b4346e4b98484224e65d582 = new Text("Label")
            {
                InstanceName = "Default", FontSize = 25
            };
            Text id_ccc54bcd38e14c10a5ba59d851191cc4 = new Text("Result")
            {
                InstanceName = "Default", FontSize = 25
            };
            Text id_fc0b8f38b3c14f799f605cd54214b503 = new Text("Reactive Calculator")
            {
                InstanceName = "Default", FontSize = 25
            };
            TextBox id_b84a8eee3a554afaad9fa90ac6b594f9 = new TextBox()
            {
                InstanceName = "Default", Text = "Title your calculation here", FontSize = 15
            };

            // END AUTO-GENERATED INSTANTIATIONS FOR Calculator10Rows.xmind

            // BEGIN AUTO-GENERATED WIRING FOR Calculator10Rows.xmind
            mainWindow.WireTo(rows, "iuiStructure");                                                     // (@MainWindow (mainWindow).iuiStructure) -- [IUI] --> (@Vertical (rows).child)
            labelsConcatenator.WireTo(labelsConcatenatorConnector, "output");                            // (@StringConcat (labelsConcatenator).output) -- [iDataFlow<string>] --> (DataFlowConnector<string> (labelsConcatenatorConnector).input)
            rows.WireTo(id_fc0b8f38b3c14f799f605cd54214b503, "children");                                // (@Vertical (rows).children) -- [List<IUI>] --> (Text (id_fc0b8f38b3c14f799f605cd54214b503).child)
            rows.WireTo(id_b84a8eee3a554afaad9fa90ac6b594f9, "children");                                // (@Vertical (rows).children) -- [List<IUI>] --> (TextBox (id_b84a8eee3a554afaad9fa90ac6b594f9).child)
            rows.WireTo(id_24914ab245484fe1b70af8020ca2e831, "children");                                // (@Vertical (rows).children) -- [List<IUI>] --> (Horizontal (id_24914ab245484fe1b70af8020ca2e831).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_96b879e17b4346e4b98484224e65d582, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_96b879e17b4346e4b98484224e65d582).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_6be1dbef5dd042ba88554b4482b16079, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_6be1dbef5dd042ba88554b4482b16079).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_ccc54bcd38e14c10a5ba59d851191cc4, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_ccc54bcd38e14c10a5ba59d851191cc4).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_39a7a11c94da4b338a92b2235b8e96d1, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_39a7a11c94da4b338a92b2235b8e96d1).child)
            id_24914ab245484fe1b70af8020ca2e831.WireTo(id_93a237ff714b48748a4ba10ede42d2dc, "children"); // (Horizontal (id_24914ab245484fe1b70af8020ca2e831).children) -- [List<IUI>] --> (Text (id_93a237ff714b48748a4ba10ede42d2dc).child)
            MultipleRow.WireTo(id_012306911dbe485c91ecd24bd35b2420, "factory");                          // (Multiple (MultipleRow).factory) -- [IFactoryMethod] --> (CalculatorRowFactory (id_012306911dbe485c91ecd24bd35b2420).factory)
            // END AUTO-GENERATED WIRING FOR Calculator10Rows.xmind
            MultipleRow.Generate();
            return(mainWindow);
        }