diff options
author | marcinzelent <marcin@zelent.net> | 2017-02-17 17:45:00 +0100 |
---|---|---|
committer | marcinzelent <marcin@zelent.net> | 2017-02-17 17:45:00 +0100 |
commit | 2165212bc735886ec76be51eccd0b2aafd685d2d (patch) | |
tree | 6cbc2c0be812c9a75492c28c6f92f684e78adced | |
parent | d050ac1d53239bdb42a1c52db7b0daa2187dba7c (diff) |
Added checking if fields are empty when creating or editing events, added more diagrams, updated use cases, fixed unit test project.
39 files changed, 4215 insertions, 287 deletions
diff --git a/EventMaker/Design/AddEventFDUC.txt b/EventMaker/Design/AddEventFDUC.txt index 370e19f..f91da65 100644 --- a/EventMaker/Design/AddEventFDUC.txt +++ b/EventMaker/Design/AddEventFDUC.txt @@ -8,7 +8,8 @@ Success Guarantee: New event on the list Main Success Scenario: User opens app, presses add button, fills all fields on the page for creating new event and saves the event. Extensions: A. User opens app, presses add button but then he changes mind and presses the back button to return to the main page. -B. The name of event can't be longer than 20 characters. +B. If user tries to add event with empty field show him error message and don't add the event. +C. The name of event can't be longer than 20 characters. Special Requirements: UWP app, serialization to JSON Technology and Data Variations List: None Frequency of Occurence: Based on the will of the user diff --git a/EventMaker/Design/Design.modelproj b/EventMaker/Design/Design.modelproj index 64eab82..11baef0 100644 --- a/EventMaker/Design/Design.modelproj +++ b/EventMaker/Design/Design.modelproj @@ -25,12 +25,41 @@ <Content Include="AddEventFDUC.txt"> <SubType>Content</SubType> </Content> - <Content Include="DeleteEventFDUC.txt"> + <Content Include="RemoveEventFDUC.txt"> <SubType>Content</SubType> </Content> + <Content Include="DesignClassDiagram.classdiagram"> + <SubType>Content</SubType> + </Content> + <Content Include="DesignClassDiagram.classdiagram.layout"> + <SubType>Content</SubType> + <DependentUpon>DesignClassDiagram.classdiagram</DependentUpon> + </Content> + <Content Include="DomainModel.classdiagram"> + <SubType>Content</SubType> + </Content> + <Content Include="DomainModel.classdiagram.layout"> + <SubType>Content</SubType> + <DependentUpon>DomainModel.classdiagram</DependentUpon> + </Content> <Content Include="EditEventFDUC.txt"> <SubType>Content</SubType> </Content> + <Content Include="ModelDefinition\Package1_1602.uml"> + <SubType>Content</SubType> + </Content> + <Content Include="ModelDefinition\Package2_1602.uml"> + <SubType>Content</SubType> + </Content> + <Content Include="ModelDefinition\Package3_1602.uml"> + <SubType>Content</SubType> + </Content> + <Content Include="ModelDefinition\Package_1602.uml"> + <SubType>Content</SubType> + </Content> + <Content Include="ModelDefinition\Package_1603.uml"> + <SubType>Content</SubType> + </Content> <Content Include="System.sequencediagram"> <SubType>Content</SubType> </Content> @@ -38,12 +67,15 @@ <SubType>Content</SubType> <DependentUpon>System.sequencediagram</DependentUpon> </Content> - <Content Include="UMLUseCaseDiagram.usecasediagram"> + <Content Include="TestCases.txt"> + <SubType>Content</SubType> + </Content> + <Content Include="UseCaseDiagram.usecasediagram"> <SubType>Content</SubType> </Content> - <Content Include="UMLUseCaseDiagram.usecasediagram.layout"> + <Content Include="UseCaseDiagram.usecasediagram.layout"> <SubType>Content</SubType> - <DependentUpon>UMLUseCaseDiagram.usecasediagram</DependentUpon> + <DependentUpon>UseCaseDiagram.usecasediagram</DependentUpon> </Content> <Folder Include="ModelDefinition\" /> <Content Include="ModelDefinition\Design.uml"> diff --git a/EventMaker/Design/DesignClassDiagram.classdiagram b/EventMaker/Design/DesignClassDiagram.classdiagram new file mode 100644 index 0000000..266b2af --- /dev/null +++ b/EventMaker/Design/DesignClassDiagram.classdiagram @@ -0,0 +1,1151 @@ +<?xml version="1.0" encoding="utf-8"?> +<logicalClassDesignerModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/ModelStore" xmlns:dm9="http://schemas.microsoft.com/dsltools/SimpleShapesModel" xmlns:dm10="http://schemas.microsoft.com/dsltools/UseCaseModel" dslVersion="1.0.0.0" Id="d21d4508-f335-46da-bf4c-c0ae792820a6" name="DesignClassDiagram" linkedPackageId="e2164c74-db26-47b5-a817-89ed798ecd4c" xmlns="http://schemas.microsoft.com/dsltools/LogicalClassDesigner"> + <profileInstances> + <packageHasProfileInstances Id="c4cbcbb5-784f-4745-b9c1-b5c4dbcce0e8"> + <profileInstance Id="aea6c042-382a-40b8-8cac-51e4b968ea44" name="StandardProfileL2"> + <elementDefinition Id="e34d544e-0fea-4ed6-ac5e-1b74119ac791" /> + </profileInstance> + <elementDefinition Id="0caec977-1f8c-4ba3-a7db-8cc9ad9cc73b" /> + </packageHasProfileInstances> + <packageHasProfileInstances Id="cf71dbed-0cda-466b-9187-30a04af0d494"> + <profileInstance Id="b3e19090-745d-4ca1-b797-069d98caace3" name="StandardProfileL3"> + <elementDefinition Id="532ea607-fb19-44b8-8502-3351b05452be" /> + </profileInstance> + <elementDefinition Id="29349502-908c-4fda-9054-c48619c59ed0" /> + </packageHasProfileInstances> + </profileInstances> + <packagedElements> + <logicalClassDesignerModelHasPackages> + <package Id="f5f26326-7ab1-4ad4-b7f8-aad3ed635f9d" name="View"> + <elementDefinition Id="ad762b77-7cdd-4371-9d1f-432c26f4e17f" /> + <packagedElements> + <packageHasNamedElement> + <class Id="b9eb3894-ef8e-4b17-b7c5-ab2c3d02909e" name="EventPage" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="4884839a-4657-4128-85cc-bedfa8de4dae" /> + <suppliersInternal> + <dependency Id="0838d712-8211-47ca-b4dd-5c9fae8bc01d" name="Command"> + <classMoniker Id="3eda6421-f20d-4c05-9705-45ba766aa1a1" LastKnownName="RelayCommand" /> + <description>Command</description> + <elementDefinition Id="2a8cf7d5-097f-429c-9831-f21cf09ac306" /> + </dependency> + <dependency Id="4cac2fdd-386f-463f-b4ee-0400ac79472d" name="DataContext"> + <classMoniker Id="2c1d19ca-b629-4668-9edb-dbedbe554432" LastKnownName="EventViewModel" /> + <elementDefinition Id="118ed621-2b18-472f-ae94-67ba51f5656a" /> + </dependency> + <dependency Id="f0ea3eb1-7c68-44a4-9731-2c71335744a7"> + <classMoniker Id="a35df6c1-e5b1-4481-aee3-966a4fde77d9" LastKnownName="App" /> + <elementDefinition Id="ee34d582-6d96-478d-99ca-6d689fbe8be3" /> + </dependency> + </suppliersInternal> + <ownedOperationsInternal> + <operation Id="cf8d5aa6-5083-4f44-9f9b-7a812299c3bb" name="EventPage" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="018ea98c-f0ac-4c12-8106-f02b5f62475d" /> + </operation> + <operation Id="bd1dfa8c-5c8f-47c5-beef-d45a4ab134ec" name="SelectEvent" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="059a9fc9-d2db-41ee-ac81-a7202442620f" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="9e7481cc-f554-4406-8a7c-5554905872b5" name="object sender" direction="In" isUnique="false"> + <elementDefinition Id="c778745d-8d89-4ccb-9e52-a82fae32f5ea" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="7936de80-4f38-4738-9a0f-b3508374c6ef" name="RoutedEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="c1937134-3b93-47a4-9c4e-a09663178645" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="bbebbd7c-2870-47fd-999e-906793bdca99" direction="Return"> + <elementDefinition Id="8743372d-de03-4658-bd01-8984c84fb386" /> + <type_NamedElement> + <referencedTypeMoniker Id="09f40315-d54e-4a0c-b0e8-737a0a6a3004" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class Id="44c40227-359c-4071-b0b7-79ebfe190ae9" name="CreateEventPage" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="afde00b4-5808-4a75-aa7a-931f3e8eb5da" /> + <suppliersInternal> + <dependency Id="d7294080-de45-458d-8ce8-e92377c9db79" name="Command"> + <classMoniker Id="3eda6421-f20d-4c05-9705-45ba766aa1a1" LastKnownName="RelayCommand" /> + <elementDefinition Id="e834bde3-712e-4aa8-96c4-b0b835b97d73" /> + </dependency> + <dependency Id="927578da-8ceb-44b5-8eb5-4935204b38ea" name="DataContext"> + <classMoniker Id="2c1d19ca-b629-4668-9edb-dbedbe554432" LastKnownName="EventViewModel" /> + <elementDefinition Id="e9c87ab9-03df-4d35-9b7b-c0b202e37b41" /> + </dependency> + </suppliersInternal> + <ownedAttributesInternal> + <property Id="48a5ae92-5ece-44fd-be6d-1fe8fd159dc7" name="_currentView" visibility="Private" isLeaf="false" isStatic="false" isReadOnly="true" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="58f5987f-857f-4e83-a50c-0e7608b04a82" /> + <type_NamedElement> + <referencedTypeMoniker Id="54154c87-fd4c-48fd-8639-bdfe2e8112de" LastKnownName="SystemNavigationManager" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation Id="5edff378-8f24-447f-93cd-a0b848aa32ae" name="CreateEventPage" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="164890a4-65e6-4102-ad2b-75668d41e4b7" /> + </operation> + <operation Id="6b71c11a-932f-4a82-bc0a-789eb9827222" name="OnBackRequested" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="b204496e-b26b-41e1-b2ad-096465417399" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="a78eb2f1-d6fc-4516-946b-0699a7bb853a" direction="Return"> + <elementDefinition Id="3ea75370-7e0d-4719-a81f-3cdff9ff5c63" /> + <type_NamedElement> + <referencedTypeMoniker Id="243a2adb-7d9d-4775-b791-19c9fbf0d537" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="b1070135-5593-44c1-b763-2b14f059ac45" name="object sender" direction="In" isUnique="false"> + <elementDefinition Id="bb4a7b91-c3c7-4d15-aea4-8322d9f42821" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="e4178a08-8ff1-4afa-84cc-41ed4d0f04e3" name="BackRequestedEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="7b4a4da8-e9b4-4042-b180-5d455b14605e" /> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="5275e056-aaf6-4f9a-a911-4aede0f35989" name="GoToEventPage" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="5142c972-c289-406e-b361-88e719027440" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="1293e596-d88e-4bc1-8a48-a86a1755e0f2" direction="Return"> + <elementDefinition Id="d81ee301-5829-49ea-b76a-65d05a147c1f" /> + <type_NamedElement> + <referencedTypeMoniker Id="cdc99457-30af-4867-a147-92aadaae554d" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="4a5c6c4d-2fbb-469a-ab72-4381b51b3332" name="object sender" direction="In" isUnique="false"> + <elementDefinition Id="1d1ec50e-87de-4597-bf32-b9d1bbed97a0" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="9c788d8f-241d-4232-97ce-7af362dd8d0d" name="RoutedEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="936bc1a2-b880-4c23-8070-640b40db3340" /> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class Id="da550586-d773-4020-8246-dc5ef4440f7e" name="EditEventPage" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="e7da482c-5262-41b8-b90f-5a95e6247815" /> + <suppliersInternal> + <dependency Id="e7916763-b505-45b3-b9b7-4116d7351fb3" name="DataContext"> + <classMoniker Id="2c1d19ca-b629-4668-9edb-dbedbe554432" LastKnownName="EventViewModel" /> + <elementDefinition Id="28a98f6b-2ea3-4cfe-b14f-7236d13a4610" /> + </dependency> + <dependency Id="352857b7-3251-4e33-8bee-631261bde346" name="Command"> + <classMoniker Id="3eda6421-f20d-4c05-9705-45ba766aa1a1" LastKnownName="RelayCommand" /> + <elementDefinition Id="99cfaae8-e791-4e6e-aa11-93f95c1cb8bf" /> + </dependency> + </suppliersInternal> + <ownedAttributesInternal> + <property Id="e9bf8c80-f495-48e6-b1f0-116fda08b9bf" name="_currentView" visibility="Private" isLeaf="false" isStatic="false" isReadOnly="true" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="992a08e9-7d22-46d2-b813-951e93d6e935" /> + <type_NamedElement> + <referencedTypeMoniker Id="fc6a6170-9afd-4795-b6e6-0d075a4db782" LastKnownName="SystemNavigationManager" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation Id="2f26b17b-ac89-427b-b98f-c0d53404f0f5" name="EditEventPage" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="4acb612e-4c3a-40ad-b592-81b6508b49c6" /> + </operation> + <operation Id="ef4a1b6e-5b17-422f-ba5e-63f1c27ecfb2" name="OnBackRequested" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="d6b92d4d-7a76-449d-85f8-0f511cee9272" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="16638c9e-4894-48e3-af28-73de4f5381fc" direction="Return"> + <elementDefinition Id="8c8beb72-40c7-449c-93ae-e9ff57b0f1fb" /> + <type_NamedElement> + <referencedTypeMoniker Id="1e278c52-dccf-499c-b5e2-9b1510e7303e" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="fbbb0a01-10c9-4d92-9706-8d53358e0521" name="object sender" direction="In" isUnique="false"> + <elementDefinition Id="855fb2ef-6fa2-431c-b7fd-45e2072fb969" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="d06598c0-02a5-4a9c-8f4d-31a0f4f63249" name="BackRequestedEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="cab90df5-e70c-4e6d-bdfa-cd9f066f421c" /> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="c371bcfc-fa96-4827-9f61-8a3fb8ab7195" name="GoToEventPage" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="5c3dd8a1-9cc3-411b-a50a-a45b7f6ac4e6" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="d7990de3-5082-438f-8921-78e1b4565f62" direction="Return"> + <elementDefinition Id="6579337c-a6b9-4cf6-acff-388fb78671b5" /> + <type_NamedElement> + <referencedTypeMoniker Id="7ced3a17-6103-4370-ad1f-eb076245b9b7" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="0b0ca4a3-a2a8-4015-a360-80ea716f7580" name="object sender" direction="In" isUnique="false"> + <elementDefinition Id="9252128a-7bb3-48e2-98e8-4300c8b4ab93" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="6aff0f02-b64e-4be0-978c-a5735c9d5dc1" name="RoutedEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="ca0b92a1-1c43-4306-8abb-a4285ad8115c" /> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + </packagedElements> + </package> + </logicalClassDesignerModelHasPackages> + <logicalClassDesignerModelHasPackages> + <package Id="cb86e18d-611d-4ba2-85e6-74299a975c7b" name="ViewModel"> + <elementDefinition Id="358ac318-0f16-4eab-b572-f608c0c29b70" /> + <packagedElements> + <packageHasNamedElement> + <class Id="2c1d19ca-b629-4668-9edb-dbedbe554432" name="EventViewModel" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="96c74342-4a89-464e-8bc5-8f2987f558ba" /> + <suppliersInternal> + <interfaceRealization Id="bdd9822a-8847-4324-884c-eebb89443bfe"> + <interfaceMoniker Id="217dd86f-2d0b-4c37-822c-ff22d7b30fd0" LastKnownName="INotifyPropertyChanged" /> + <elementDefinition Id="941a0eb5-c742-43d0-b79b-41106e40c2d3" /> + </interfaceRealization> + </suppliersInternal> + <targetEnds> + <association Id="aef5ae13-16b3-4e8b-9dca-8682bc68735d" isDerived="false" sourceEndRoleName="EventViewModel" targetEndRoleName="Event" isLeaf="false" isAbstract="false"> + <classMoniker Id="5f9cda63-144f-492f-a6c0-e505c036c229" LastKnownName="Event" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="0af01a95-5abc-477f-979b-a1ddd61e7d1b" name="EventViewModel" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="Shared" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="b5eecb71-fbdf-438c-939b-4c5a841d55dc" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="6b7050a3-9553-4ba0-b990-ac09f5ba292d" name="Event" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="fdf85d6a-6ce0-4f2a-a7f1-f506a75b5b22" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="05873e68-9727-467d-b9fc-10204d832e72" /> + </association> + <association Id="c58994e6-7575-455f-a8dd-b544c95f55ae" isDerived="false" sourceEndRoleName="EventViewModel" targetEndRoleName="EventCatalogSingleton" isLeaf="false" isAbstract="false"> + <classMoniker Id="806a8dff-893d-489d-a626-c06657d0321e" LastKnownName="EventCatalogSingleton" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="2dbbbdba-f78a-445e-b4d6-38ebe5aaf606" name="EventViewModel" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="Shared" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="20e83eb5-9584-43a5-8eaa-9dcebde1e440" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="07b6686a-e368-4639-ba61-a7b40d96f32b" name="EventCatalogSingleton" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="a6803588-09a9-4281-852a-9b642da53973" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="8d655b1c-3526-4dad-9a09-80197b9b663f" /> + </association> + </targetEnds> + <ownedAttributesInternal> + <property Id="b7748dce-47d8-44e8-8d4a-95804d9f2ed6" name="_eventTemplate" visibility="Private" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="7b2cd34a-8716-42f5-b7b6-d79ec396b997" /> + <type_NamedElement> + <referencedTypeMoniker Id="7c11e31b-5a71-41f5-a01b-517c0f903989" LastKnownName="Event" /> + </type_NamedElement> + </property> + <property Id="0a4dd433-9d28-498b-b6d4-59818a461b75" name="_selectedSortValue" visibility="Private" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="2bc23923-a588-4fd8-bf82-449bd55e07f0" /> + <type_NamedElement> + <referencedTypeMoniker Id="d776ef8a-d8bf-4089-afcc-c7e67773cd7c" LastKnownName="string" /> + </type_NamedElement> + </property> + <property Id="c3d24e12-eb94-4078-b10b-0b064f184ad8" name="EventCatalogSingleton" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="27a31b9b-2b35-4488-b68a-1d74ad8df796" /> + <type_NamedElement> + <referencedTypeMoniker Id="dbfed50a-8000-4470-83b8-f7020fd75f1d" LastKnownName="EventCatalogSingleton" /> + </type_NamedElement> + </property> + <property Id="354d44c1-3aca-46f2-82ec-102bbe2963fd" name="SelectedEventIndex" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="a3b51d3b-1751-4ff7-927e-492c1bf58111" /> + <type_NamedElement> + <referencedTypeMoniker Id="25e07790-7bf9-4754-969c-e3a0952d3af6" LastKnownName="int" /> + </type_NamedElement> + </property> + <property Id="215fec21-3c6d-46df-81e9-ff5fde1b65c0" name="SortValues" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="b106db49-b152-4d92-9661-4822a7726e6d" /> + <type_NamedElement> + <referencedTypeMoniker Id="e2414d47-9911-4a03-8a50-28b2400dc0fe" LastKnownName="ObservableCollection<string>" /> + </type_NamedElement> + </property> + <property Id="d2079966-7acd-4ca6-b486-79b674e8e869" name="Date" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="6e3df9ba-ff07-4dd9-8e55-17aeb3dd452a" /> + <type_NamedElement> + <referencedTypeMoniker Id="422d6319-25f6-49a9-8cc6-1b82c0001982" LastKnownName="DateTimeOffset" /> + </type_NamedElement> + </property> + <property Id="306c0f80-b2b6-451a-b7c8-0a85db0e9dce" name="Time" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="d277b9f8-cb41-40ff-9814-950a27734afa" /> + <type_NamedElement> + <referencedTypeMoniker Id="cff4091e-d117-40f4-b696-4ab85f77a1ab" LastKnownName="TimeSpan" /> + </type_NamedElement> + </property> + <property Id="12f61ded-346f-4900-a5cd-77552071926c" name="CreateEventCommand" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="f488f1ab-21e3-421f-a9e4-4f6bb8adb286" /> + <type_NamedElement> + <referencedTypeMoniker Id="b7a2fb56-91df-495a-a94f-652129b49cc8" LastKnownName="ICommand" /> + </type_NamedElement> + </property> + <property Id="89aa58d5-c9b8-4516-9c6e-9927d786799c" name="RemoveEventCommand" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="80cd4b14-bcd3-4705-a30f-bd43872e6a52" /> + <type_NamedElement> + <referencedTypeMoniker Id="b7a2fb56-91df-495a-a94f-652129b49cc8" LastKnownName="ICommand" /> + </type_NamedElement> + </property> + <property Id="6328a3a3-cfc6-4ec8-8c6b-585d5dff9cae" name="UpdateEventCommand" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="f15cd49b-3fd2-4aad-a49a-957d908a8a95" /> + <type_NamedElement> + <referencedTypeMoniker Id="92b908cc-fe2c-4979-adbe-6951a38bef14" LastKnownName="ICommand" /> + </type_NamedElement> + </property> + <property Id="c4e00e12-995a-4345-8287-dab645ea3832" name="LoadEventCommand" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="bba59d6e-37cd-47e2-942c-9a796ba75152" /> + <type_NamedElement> + <referencedTypeMoniker Id="b7a2fb56-91df-495a-a94f-652129b49cc8" LastKnownName="ICommand" /> + </type_NamedElement> + </property> + <property Id="33fc3c10-12df-43ef-892f-566bbdbcd8d3" name="CleanTemplateCommand" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="a72bbf62-4706-4c28-b318-aa335f5f95d3" /> + <type_NamedElement> + <referencedTypeMoniker Id="b7a2fb56-91df-495a-a94f-652129b49cc8" LastKnownName="ICommand" /> + </type_NamedElement> + </property> + <property Id="05e3e109-930a-4b0b-9bf5-7621379a5218" name="EventTemplate" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="b97264d5-9763-4f45-9c81-8bed29451f29" /> + <type_NamedElement> + <referencedTypeMoniker Id="7c11e31b-5a71-41f5-a01b-517c0f903989" LastKnownName="Event" /> + </type_NamedElement> + </property> + <property Id="c382a3d9-bd48-4a14-ba62-9d6b3b158cdb" name="SelectedSortValue" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="15c5442f-10e9-485a-9edf-79018cdfa602" /> + <type_NamedElement> + <referencedTypeMoniker Id="d776ef8a-d8bf-4089-afcc-c7e67773cd7c" LastKnownName="string" /> + </type_NamedElement> + </property> + <property Id="b8d4546e-fa1f-497a-871b-e146fae6ad7b" name="PropertyChanged" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="67fe3c96-c96c-47a9-b9c4-42ed69f2a749" /> + <type_NamedElement> + <referencedTypeMoniker Id="97007484-f30d-4d31-9bfa-081f6d005fab" LastKnownName="PropertyChangedEventHandler" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation Id="94846294-2091-4cad-aa67-6a042f1e6827" name="EventViewModel" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="af6d0ea3-68d3-438f-905f-ad364a2ccfc1" /> + </operation> + <operation Id="8bb806b6-103f-4101-9254-7fd19b0ef960" name="CreateEvent" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="a5be8640-edbd-4823-b2e4-78204ce5ff8c" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="264e4780-00b8-4d72-a548-c5187b49c054" direction="Return"> + <elementDefinition Id="a2d713b1-7c3c-4fe5-9b08-c7e67140cc2a" /> + <type_NamedElement> + <referencedTypeMoniker Id="da9ccde9-4f66-43a7-b730-d0894d57e30d" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="03133318-da6a-4f8e-9a62-cb66366f1e21" name="RemoveEvent" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="f76aba30-5cfa-4c9a-9483-279333e1f587" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="131f17dd-951d-482e-ad7c-c31be5c67dd7" direction="Return"> + <elementDefinition Id="469c3abd-a1bb-45e7-8eac-1b6b7632a5a2" /> + <type_NamedElement> + <referencedTypeMoniker Id="1ce033c9-3d89-4ca9-ad8c-aead68776da6" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="fa1538f8-45ee-4244-9810-4ae4c40a8287" name="LoadEvent" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="3fa1f93f-01dc-4f53-96b9-3a3283d649ae" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="bb997aff-e397-41b0-9d12-863e70a70e41" direction="Return"> + <elementDefinition Id="1b7a646e-2d7a-40a4-b3c8-dd7c51eeca4d" /> + <type_NamedElement> + <referencedTypeMoniker Id="0bfe1b8d-b25c-4966-bf58-39739a3a1356" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="3d520718-1d3d-46a9-aebd-9a79d3c970b0" name="UpdateEvent" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="aa8f95d4-cea2-4ee6-83e7-cb18e01aa24a" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="af61e094-55ef-45d7-beed-b7bdd78cf5bd" direction="Return"> + <elementDefinition Id="114e6649-f4a2-4df7-bc34-8d9389c8b37f" /> + <type_NamedElement> + <referencedTypeMoniker Id="a745595f-3bbe-4d32-9ce3-5b1e6b8ebc5a" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="1c312c86-8a8e-4ba9-9ed4-68eeefb5d48f" name="OnPropertyChanged" visibility="Protected" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="f0bf8b6e-d96f-46c2-9372-cacf58b67f57" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="3f596e57-129c-4813-a1f8-ed4136b836af" direction="Return"> + <elementDefinition Id="c1acf016-7c49-4c6f-87ef-78c38042be8c" /> + <type_NamedElement> + <referencedTypeMoniker Id="53eb79ed-dd33-4944-a0f8-ca5794009cc3" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="b573e38b-daab-499a-84ce-d8c15193ef6a" name="[CallerMemberName] string propertyName" direction="In" isUnique="false"> + <elementDefinition Id="34442ec8-a88c-4500-9d11-5622489cebbf" /> + <defaultValue> + <literalString Id="97137af9-f14e-4c43-a158-6beb466a13cd" value="null"> + <elementDefinition Id="12bb5d6e-f09c-4fb6-bda5-0f682e8dc5e4" /> + </literalString> + </defaultValue> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + </packagedElements> + </package> + </logicalClassDesignerModelHasPackages> + <logicalClassDesignerModelHasPackages> + <package Id="e6dbe588-92b1-4176-a587-a942eb942cd5" name="Common"> + <elementDefinition Id="21ba117d-3182-4e3e-88c0-ffdce54960ca" /> + <packagedElements> + <packageHasNamedElement> + <class Id="3eda6421-f20d-4c05-9705-45ba766aa1a1" name="RelayCommand" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="0f75337a-5b75-4de6-ba6a-5e6463dea3c3" /> + <suppliersInternal> + <dependency Id="df9236b6-ff99-48b3-8986-7685c5443eb5" name="Action"> + <classMoniker Id="2c1d19ca-b629-4668-9edb-dbedbe554432" LastKnownName="EventViewModel" /> + <elementDefinition Id="76f0c407-9343-4f63-a655-8b5bd365ad55" /> + </dependency> + <interfaceRealization Id="112b1642-ca4a-4972-bd63-073533ee25bf"> + <interfaceMoniker Id="2bcf209f-ec94-4997-a2c8-a47692f36ad5" LastKnownName="ICommand" /> + <elementDefinition Id="7a109e49-c6bf-4b52-82ad-5f43f9dbb09f" /> + </interfaceRealization> + </suppliersInternal> + <ownedAttributesInternal> + <property Id="24ae64f1-85c7-42a2-9f0b-7c02072a5f0f" name="_execute" visibility="Private" isLeaf="false" isStatic="false" isReadOnly="true" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="469b2dc5-2327-40fe-9a55-cc5a089c3313" /> + <type_NamedElement> + <referencedTypeMoniker Id="9e2b31d0-623e-4026-94dc-75ab855f9715" LastKnownName="Action" /> + </type_NamedElement> + </property> + <property Id="905b2a46-c974-4cad-9237-a7e65b3d59ad" name="_canExecute" visibility="Private" isLeaf="false" isStatic="false" isReadOnly="true" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="0bc75a53-5f59-42f3-8078-543e1c78e721" /> + <type_NamedElement> + <referencedTypeMoniker Id="4b8815b9-fb48-4d86-b618-68e2ac7d7522" LastKnownName="Func<bool>" /> + </type_NamedElement> + </property> + <property Id="5dc63280-7053-454f-a50b-3898110363cb" name="CanExecuteChanged" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="fa964049-ca1f-4afd-bb5e-e6e37fdfd110" /> + <type_NamedElement> + <referencedTypeMoniker Id="d79157f9-73c4-4f82-872d-6a9dc4864369" LastKnownName="EventHandler" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation Id="951e2266-f7c5-46c4-ae99-e79dc544f8bd" name="RelayCommand" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="70fd65b1-118b-48f1-b602-7dacea2f62cd" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="b31ebbd6-7e99-4956-9848-4ee8f1259a14" name="Action execute" direction="In" isUnique="false"> + <elementDefinition Id="a726bd9e-f3dd-43e4-af18-6d067c2402b3" /> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="6828d3ac-2da3-4a92-8061-a43ea088f805" name="RelayCommand" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="588f4aa2-6e2e-43cc-8b4c-8915066c7b37" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="e6a1aa9b-dffd-4774-9178-06e8a4688822" name="Action execute" direction="In" isUnique="false"> + <elementDefinition Id="bfb093dc-80c0-441c-859d-e6e4a8ef24a2" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="e9c6cf32-899a-407b-93e6-b39ebcfe69cd" name="Func<bool> canExecute" direction="In" isUnique="false"> + <elementDefinition Id="2789f763-3a24-47c5-85a7-92158f8cad35" /> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="470ab3b7-2193-43dc-975e-1e2ae71774b2" name="CanExecute" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="d9cc273d-a6f5-441e-8e0e-ea8e19b4a46c" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="63c5f7c7-cf73-4e00-bc82-493a01845039" name="object parameter" direction="In" isUnique="false"> + <elementDefinition Id="9bc42248-83d7-451c-9bf8-2f795f4b7c25" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="caad8749-c77c-4aa1-86f3-5ebb9d9f983c" direction="Return"> + <elementDefinition Id="05c0c804-173f-4320-b3a1-444beb77841b" /> + <type_NamedElement> + <referencedTypeMoniker Id="31bc54de-2b4d-4fc5-abe4-51f99e9ef223" LastKnownName="bool" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="2f6224d3-6896-4af7-8a45-373d06f650ff" name="Execute" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="f5e17be8-7183-4a31-af83-bdb6c3e8e8e8" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="780e43c4-6d5a-46d9-93a3-a564a8f49140" direction="Return"> + <elementDefinition Id="99657e62-781d-4bae-a449-f8952e4a336f" /> + <type_NamedElement> + <referencedTypeMoniker Id="1e660e1c-c805-4ec6-9cd4-a51cab483bc0" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="975cfb8a-87a4-42fc-8b93-948e09c84fdd" name="object parameter" direction="In" isUnique="false"> + <elementDefinition Id="f763c77f-b67c-4468-bb5f-9ae1520e2772" /> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="281502e2-6cb8-4194-abd2-99825c1beb04" name="RaiseCanExecuteChanged" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="e53bf5e2-5eb9-4262-8d6f-189b76848a21" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="50fd0055-a2a8-4beb-9c5f-9f57c7656172" direction="Return"> + <elementDefinition Id="1d771428-cb9a-45a5-817b-c87554ce1e72" /> + <type_NamedElement> + <referencedTypeMoniker Id="adc055fb-9f4d-4d91-a49d-2398f735b152" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + </packagedElements> + </package> + </logicalClassDesignerModelHasPackages> + <logicalClassDesignerModelHasPackages> + <package Id="eb816a96-5854-4115-a6b2-c8adf90840f2" name="Model"> + <elementDefinition Id="1149720f-a7d8-4f49-981f-3b9d965b1a6f" /> + <packagedElements> + <packageHasNamedElement> + <class Id="5f9cda63-144f-492f-a6c0-e505c036c229" name="Event" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="f4793e81-c0e9-4129-98eb-eb831b6e6fbf" /> + <ownedAttributesInternal> + <property Id="30ee05a3-497c-497b-945d-6ef23867bc06" name="Id" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="f90e3fc7-b4ff-43c6-817b-605eb0a6756c" /> + <type_NamedElement> + <referencedTypeMoniker Id="25e07790-7bf9-4754-969c-e3a0952d3af6" LastKnownName="int" /> + </type_NamedElement> + </property> + <property Id="ec302a92-4dcf-4497-b432-272c990df718" name="DateTime" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="e899dd99-4215-43ac-865b-4689d65d4cfe" /> + <type_NamedElement> + <referencedTypeMoniker Id="195a2e77-e05d-4362-8848-eb7609b9c96f" LastKnownName="DateTime" /> + </type_NamedElement> + </property> + <property Id="7591cf09-1821-4238-b7a0-d7f3a842df0e" name="Name" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="82e054ce-1e7c-455a-9b28-8c6261b64185" /> + <type_NamedElement> + <referencedTypeMoniker Id="d776ef8a-d8bf-4089-afcc-c7e67773cd7c" LastKnownName="string" /> + </type_NamedElement> + </property> + <property Id="96df52f9-5bd1-469a-9597-79a491149e42" name="Description" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="b1e1b65c-c9fd-4222-b987-4947d53b7f05" /> + <type_NamedElement> + <referencedTypeMoniker Id="d776ef8a-d8bf-4089-afcc-c7e67773cd7c" LastKnownName="string" /> + </type_NamedElement> + </property> + <property Id="897a1b7e-bcf8-43fa-a24e-2545bcb9e714" name="Place" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="679f2c14-c3d4-48aa-9646-daa7bc336a88" /> + <type_NamedElement> + <referencedTypeMoniker Id="d776ef8a-d8bf-4089-afcc-c7e67773cd7c" LastKnownName="string" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class Id="806a8dff-893d-489d-a626-c06657d0321e" name="EventCatalogSingleton" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="24efcfc5-a0f2-4786-b119-771df0513a6b" /> + <suppliersInternal> + <dependency Id="7ae4a331-bb28-4fc5-90e9-f87490284f96"> + <classMoniker Id="797d9e77-7bc0-4c63-83d9-450ea49fe368" LastKnownName="PersistencyService" /> + <elementDefinition Id="83aa2473-f9dd-461d-b81f-3d338e5ee5ca" /> + </dependency> + </suppliersInternal> + <targetEnds> + <association Id="5a7ce228-eeb6-4b96-9bcc-e0f984e022a6" isDerived="false" sourceEndRoleName="Events" targetEndRoleName="Event" isLeaf="false" isAbstract="false"> + <classMoniker Id="5f9cda63-144f-492f-a6c0-e505c036c229" LastKnownName="Event" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="eabd5bf6-4588-4d9f-a98b-83606a390173" name="Events" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="Shared" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="e4374eee-5c25-4f69-a114-dfdab90ecb9c" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="7bb02cf7-8516-432c-8eff-bb1a26e9623f" name="Event" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <lowerValueInternal> + <literalString Id="9e09e17a-62ec-4e0e-ba56-7ecee1325064" name="Lower" value="*"> + <elementDefinition Id="741404a8-39f7-45d9-ad7a-ab213a84a008" /> + </literalString> + </lowerValueInternal> + <upperValueInternal> + <literalString Id="7164ee2a-aeb1-4743-8071-a20346866fb2" name="Upper" value="*"> + <elementDefinition Id="1c20934b-c2fa-4e65-8534-581b9a47152a" /> + </literalString> + </upperValueInternal> + <elementDefinition Id="11fbc9a7-b85e-4369-8f8c-66493019b701" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="cbf1ef83-d9c2-4327-b28a-38367aa20ab5" /> + </association> + </targetEnds> + <ownedAttributesInternal> + <property Id="f764cd25-6376-446b-a6a0-8631d2ce39c3" name="_instance" visibility="Private" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="1ab5e608-ac74-4ecd-9e0c-f5825ed2c2ce" /> + <type_NamedElement> + <referencedTypeMoniker Id="c5e030e2-9d26-470c-8ef3-b62048d166c2" LastKnownName="EventCatalogSingleton" /> + </type_NamedElement> + </property> + <property Id="109765b7-2b73-4d1d-9f0e-2b1d1e612596" name="Events" isLeaf="false" isStatic="false" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="d64a250e-6824-4add-a699-dafaef662360" /> + <type_NamedElement> + <referencedTypeMoniker Id="76d57acc-02b8-4840-8549-c342baa22222" LastKnownName="ObservableCollection<Event>" /> + </type_NamedElement> + </property> + <property Id="50a8ec00-8927-41dd-b539-3783d57fabc6" name="Instance" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="178877cb-b0d1-440a-a5bf-7e91e8317f84" /> + <type_NamedElement> + <referencedTypeMoniker Id="7bda78a6-808a-4569-a3bc-fe47a7429e18" LastKnownName="EventCatalogSingleton" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation Id="5533eff0-b521-45c1-95fe-d16571f649b5" name="Add" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="e543534d-3cc5-45b9-8c09-8ed249ebdcb6" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="06106f74-a265-4a1e-8609-58e3ca381a9f" name="Event newName" direction="In" isUnique="false"> + <elementDefinition Id="5a47693b-95f6-4e23-8e4a-4cb19ad981e2" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="6ebca7b2-aa98-4a78-afa3-086bbf1d1cff" direction="Return"> + <elementDefinition Id="0471baa5-b60c-4621-a50d-3451412b842c" /> + <type_NamedElement> + <referencedTypeMoniker Id="4dad4c50-e1f8-427d-8121-897b16fe6234" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="34151935-e690-4568-bf0d-fe588428f893" name="EventCatalogSingleton" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="e12a7f01-3932-4793-b039-ff33a376e31a" /> + </operation> + <operation Id="645e17a5-d0cb-48f3-9452-f8bbfa192514" name="LoadEventsAsync" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="318d9624-8561-417b-8792-07099a0e40a0" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="7a6913d1-85c5-4405-b158-e61d7141fc15" direction="Return"> + <elementDefinition Id="14ef0408-6226-47f9-a114-f44e1628e518" /> + <type_NamedElement> + <referencedTypeMoniker Id="972c27d9-1291-499d-83e3-020c3603c5c0" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="b9f05006-e22f-4488-973a-b9f7e04b77d5" name="Remove" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="012bb727-956b-4528-ba9a-4bec1f2d279f" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="eb0f612c-089c-4881-a912-44b432d0d6ed" name="int index" direction="In" isUnique="false"> + <elementDefinition Id="4420a867-02f9-43cc-965e-73cfb4503876" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="0f33218a-11b3-47c3-8af9-0e9b23cf8f24" direction="Return"> + <elementDefinition Id="65a3329a-9725-4f13-944a-4fee11db5565" /> + <type_NamedElement> + <referencedTypeMoniker Id="9a1ecc9d-a17e-47a7-87e1-902875555728" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="2348fc1c-d48d-4edc-81e5-ac197fd02045" name="Update" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="6cf0a30d-fe5a-4bec-bcc9-387bcc774934" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="7c7dd4db-c3af-4880-8f1b-ca4e44f88a37" name="int index" direction="In" isUnique="false"> + <elementDefinition Id="5995ba30-55dc-48e8-84ba-822d6001785b" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="d7ae5803-3378-4143-a81a-ed3be10422f2" name="Event eventToUpdate" direction="In" isUnique="false"> + <elementDefinition Id="fb46fd95-223e-452a-9413-4f42dca42c34" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="48bac05b-7b5e-401f-9efb-95f7fde9b7c8" direction="Return"> + <elementDefinition Id="d12701dc-1b35-45a6-b90d-90bb1bb99b5e" /> + <type_NamedElement> + <referencedTypeMoniker Id="33e59ee2-63dc-4964-b81f-5c707485f8f0" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="c8e840a5-ff4c-484e-8660-b05401519acd" name="Sort" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="0cfa0581-bbf4-4807-8fad-58170b911dae" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="0132f271-58d4-4179-b7de-47f15f8de6ee" name="string sortValue" direction="In" isUnique="false"> + <elementDefinition Id="108e7dab-64da-48c1-bff3-a2dec58b47c2" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="3cef60ae-385c-45e1-b43d-e5a8e7aba9d0" direction="Return" isUnique="false"> + <elementDefinition Id="abb0490b-d1eb-443f-bfaa-3fd930be540c" /> + <type_NamedElement> + <referencedTypeMoniker Id="4dad4c50-e1f8-427d-8121-897b16fe6234" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + </packagedElements> + </package> + </logicalClassDesignerModelHasPackages> + <logicalClassDesignerModelHasPackages> + <package Id="6451fce6-b675-4bc0-8a82-b19106c1ce4a" name="Persistency"> + <elementDefinition Id="4a8b3df8-0d36-4aab-9255-5551b0dab2a5" /> + <packagedElements> + <packageHasNamedElement> + <class Id="797d9e77-7bc0-4c63-83d9-450ea49fe368" name="PersistencyService" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="e24997b3-5f32-4497-a60f-93999b077d06" /> + <ownedAttributesInternal> + <property Id="dc0732e7-e53f-4f9c-8ac7-35dc0fce0258" name="LocalFolder" visibility="Private" isLeaf="false" isStatic="true" isReadOnly="true" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="a934cefd-2485-4633-897c-b992c41f1833" /> + <type_NamedElement> + <referencedTypeMoniker Id="fa5a7549-e318-4ba0-a500-74c43b5546b2" LastKnownName="StorageFolder" /> + </type_NamedElement> + </property> + <property Id="39f4e066-75ec-4fc6-bd88-1a3eb7ef01e3" name="_eventsFile" visibility="Private" isLeaf="false" isStatic="true" isReadOnly="false" isUnique="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="0f51c818-3fd2-4734-8ea8-67da5279b9cf" /> + <type_NamedElement> + <referencedTypeMoniker Id="4bf932ef-0e10-4e08-8c58-8f854c3a190f" LastKnownName="StorageFile" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation Id="451812ff-1419-4c47-a890-99257a7bb5c7" name="SaveEventsAsJsonAsync" isLeaf="false" isStatic="true" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="4a6345cb-86c9-4667-b13d-bde8415348b6" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="89f643dc-ba27-4dd4-806c-3ae3974f59bb" direction="Return"> + <elementDefinition Id="918a055e-e798-4442-954d-ab0984f843e2" /> + <type_NamedElement> + <referencedTypeMoniker Id="547cae0e-cafc-45a4-a7e8-d8228691c5f0" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="f8d6772e-f7f9-4dde-9fda-d928b532a9ed" name="ObservableCollection<Event> events" direction="In" isUnique="false"> + <elementDefinition Id="94fb9c52-6df8-4bd2-ba8e-2de6be2e185e" /> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="fe626fa8-93dd-4ff9-908d-975725402336" name="LoadEventsFromJsonAsync" isLeaf="false" isStatic="true" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="cafbae54-3a04-45ed-ac50-3dc017f62298" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="75497af3-5d27-465e-bdc9-8e72be9d7f44" direction="Return"> + <elementDefinition Id="c8c0883b-0c9e-4700-af83-fd7fc1ea71bb" /> + <type_NamedElement> + <referencedTypeMoniker Id="248faad3-8959-40ae-8753-24ca3f1d8721" LastKnownName="Task<ObservableCollection<Event>>" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + </packagedElements> + </package> + </logicalClassDesignerModelHasPackages> + <packageHasNamedElement> + <referencedType Id="76d57acc-02b8-4840-8549-c342baa22222" name="ObservableCollection<Event>" isAbstract="false" isLeaf="false" cachedFullName="ObservableCollection<Event>"> + <elementDefinition Id="2e412731-b66b-4fc4-8d45-52ce6c627635" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="c5e030e2-9d26-470c-8ef3-b62048d166c2" name="EventCatalogSingleton" isAbstract="false" isLeaf="false" cachedFullName="Design::Model::EventCatalogSingleton"> + <elementDefinition Id="24efcfc5-a0f2-4786-b119-771df0513a6b" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="7bda78a6-808a-4569-a3bc-fe47a7429e18" name="EventCatalogSingleton" isAbstract="false" isLeaf="false" cachedFullName="Design::Model::EventCatalogSingleton"> + <elementDefinition Id="24efcfc5-a0f2-4786-b119-771df0513a6b" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="4dad4c50-e1f8-427d-8121-897b16fe6234" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="972c27d9-1291-499d-83e3-020c3603c5c0" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="9a1ecc9d-a17e-47a7-87e1-902875555728" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="33e59ee2-63dc-4964-b81f-5c707485f8f0" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="25e07790-7bf9-4754-969c-e3a0952d3af6" name="int" isAbstract="false" isLeaf="false" cachedFullName="int"> + <elementDefinition Id="62c0b824-8a10-4de7-b4a4-b5d4f86ec431" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="195a2e77-e05d-4362-8848-eb7609b9c96f" name="DateTime" isAbstract="false" isLeaf="false" cachedFullName="DateTime"> + <elementDefinition Id="ac176acb-296a-4e27-a26e-a35ea24030a2" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="d776ef8a-d8bf-4089-afcc-c7e67773cd7c" name="string" isAbstract="false" isLeaf="false" cachedFullName="string"> + <elementDefinition Id="4160e1b6-ed26-4d42-97a3-723592634fcb" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="7c11e31b-5a71-41f5-a01b-517c0f903989" name="Event" isAbstract="false" isLeaf="false" cachedFullName="Event"> + <elementDefinition Id="4376f4c1-9e33-419a-ba2f-1180ba42abb1" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="dbfed50a-8000-4470-83b8-f7020fd75f1d" name="EventCatalogSingleton" isAbstract="false" isLeaf="false" cachedFullName="EventCatalogSingleton"> + <elementDefinition Id="270e27b4-8276-469a-9d8a-ba5fed187b8b" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="e2414d47-9911-4a03-8a50-28b2400dc0fe" name="ObservableCollection<string>" isAbstract="false" isLeaf="false" cachedFullName="ObservableCollection<string>"> + <elementDefinition Id="eb4b7df2-69d6-4a94-b6a6-a5c6ea597cd4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="422d6319-25f6-49a9-8cc6-1b82c0001982" name="DateTimeOffset" isAbstract="false" isLeaf="false" cachedFullName="DateTimeOffset"> + <elementDefinition Id="455cf88f-afa1-4dc8-8209-cad105c04605" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="cff4091e-d117-40f4-b696-4ab85f77a1ab" name="TimeSpan" isAbstract="false" isLeaf="false" cachedFullName="TimeSpan"> + <elementDefinition Id="e65ac22a-a34f-4643-aeb9-857973ca419e" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="b7a2fb56-91df-495a-a94f-652129b49cc8" name="ICommand" isAbstract="false" isLeaf="false" cachedFullName="ICommand"> + <elementDefinition Id="14221a4c-6c61-448f-a490-9839c598eb42" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="92b908cc-fe2c-4979-adbe-6951a38bef14" name="ICommand" isAbstract="false" isLeaf="false" cachedFullName="ICommand"> + <elementDefinition Id="14221a4c-6c61-448f-a490-9839c598eb42" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="da9ccde9-4f66-43a7-b730-d0894d57e30d" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="0bfe1b8d-b25c-4966-bf58-39739a3a1356" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="1ce033c9-3d89-4ca9-ad8c-aead68776da6" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="a745595f-3bbe-4d32-9ce3-5b1e6b8ebc5a" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <logicalClassDesignerModelHasTypes> + <Interface Id="217dd86f-2d0b-4c37-822c-ff22d7b30fd0" name="INotifyPropertyChanged" isAbstract="false" isLeaf="false"> + <elementDefinition Id="3b6965fa-e2eb-4c9e-8887-7dbf53077810" /> + </Interface> + </logicalClassDesignerModelHasTypes> + <logicalClassDesignerModelHasTypes> + <Interface Id="2bcf209f-ec94-4997-a2c8-a47692f36ad5" name="ICommand" isAbstract="false" isLeaf="false"> + <elementDefinition Id="2d0aeb46-11c0-4531-a16d-e3abbf18c272" /> + </Interface> + </logicalClassDesignerModelHasTypes> + <packageHasNamedElement> + <referencedType Id="9e2b31d0-623e-4026-94dc-75ab855f9715" name="Action" isAbstract="false" isLeaf="false" cachedFullName="Action"> + <elementDefinition Id="6d22eba6-59d1-4eef-98ab-48e42bfb5a51" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="4b8815b9-fb48-4d86-b618-68e2ac7d7522" name="Func<bool>" isAbstract="false" isLeaf="false" cachedFullName="Func<bool>"> + <elementDefinition Id="3c25f7f6-81b7-4037-9b7a-8190ea684ae7" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="d79157f9-73c4-4f82-872d-6a9dc4864369" name="EventHandler" isAbstract="false" isLeaf="false" cachedFullName="EventHandler"> + <elementDefinition Id="3eed5444-d065-464f-952f-31c4212ee245" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="31bc54de-2b4d-4fc5-abe4-51f99e9ef223" name="bool" isAbstract="false" isLeaf="false" cachedFullName="bool"> + <elementDefinition Id="292fdac6-d6c5-4c4d-9fef-51ad4363b77f" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="1e660e1c-c805-4ec6-9cd4-a51cab483bc0" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="adc055fb-9f4d-4d91-a49d-2398f735b152" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="97007484-f30d-4d31-9bfa-081f6d005fab" name="PropertyChangedEventHandler" isAbstract="false" isLeaf="false" cachedFullName="PropertyChangedEventHandler"> + <elementDefinition Id="31e6f3f0-686b-42b5-9e56-4c54c20cf3d4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="53eb79ed-dd33-4944-a0f8-ca5794009cc3" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="fa5a7549-e318-4ba0-a500-74c43b5546b2" name="StorageFolder" isAbstract="false" isLeaf="false" cachedFullName="StorageFolder"> + <elementDefinition Id="87af12f8-4eb7-4bf4-84b8-a8094548f853" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="4bf932ef-0e10-4e08-8c58-8f854c3a190f" name="StorageFile" isAbstract="false" isLeaf="false" cachedFullName="StorageFile"> + <elementDefinition Id="7c9156c6-e162-4ac6-be32-91a76838ba4c" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="547cae0e-cafc-45a4-a7e8-d8228691c5f0" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="248faad3-8959-40ae-8753-24ca3f1d8721" name="Task<ObservableCollection<Event>>" isAbstract="false" isLeaf="false" cachedFullName="Task<ObservableCollection<Event>>"> + <elementDefinition Id="0d0f8ba7-e48a-485b-95c3-404bb1ce30c4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="54154c87-fd4c-48fd-8639-bdfe2e8112de" name="SystemNavigationManager" isAbstract="false" isLeaf="false" cachedFullName="SystemNavigationManager"> + <elementDefinition Id="0f05b53d-8037-417b-ae46-e2d163fc9815" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="243a2adb-7d9d-4775-b791-19c9fbf0d537" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="cdc99457-30af-4867-a147-92aadaae554d" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="09f40315-d54e-4a0c-b0e8-737a0a6a3004" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="fc6a6170-9afd-4795-b6e6-0d075a4db782" name="SystemNavigationManager" isAbstract="false" isLeaf="false" cachedFullName="SystemNavigationManager"> + <elementDefinition Id="0f05b53d-8037-417b-ae46-e2d163fc9815" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="1e278c52-dccf-499c-b5e2-9b1510e7303e" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="7ced3a17-6103-4370-ad1f-eb076245b9b7" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <logicalClassDesignerModelHasTypes> + <class Id="a35df6c1-e5b1-4481-aee3-966a4fde77d9" name="App" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="76fee8c1-e516-4ce6-8fec-7b707a51576a" /> + <ownedOperationsInternal> + <operation Id="98bb45ba-ec15-467d-a079-fdb0cdd7fbb9" name="App" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="dd5fa978-2f68-474c-a284-e58f3fcb52d8" /> + </operation> + <operation Id="e7cc91fd-78db-481a-a153-8a86f65b6061" name="OnLaunched" visibility="Protected" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="4037040b-3bdd-4194-88b9-ea24a855ee53" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="71305a62-279f-4865-8951-f8364071c019" name="LaunchActivatedEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="b737cf9a-4de9-467f-b0e3-885ffc0f9548" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="67ca3db7-849d-47d8-8e41-ca7943e85bcd" direction="Return"> + <elementDefinition Id="e5435ac0-ea69-429a-a936-1a0567e03d72" /> + <type_NamedElement> + <referencedTypeMoniker Id="08bd6fe6-3222-4d7b-b429-ae54e25b6d45" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="b5867faa-706f-4d6b-b9c7-93cec83cbca1" name="OnNavigationFailed" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="a6a0d249-8da9-4895-a4e0-c53e74e2f1ce" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="ad45c577-2365-409c-8952-f3384b963aaf" name="object sender" direction="In" isUnique="false"> + <elementDefinition Id="9dda3c50-2edc-4c86-b819-022a27c5da62" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="afc65899-d027-4104-ba51-cede077930d9" name="NavigationFailedEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="8ad72a5e-4175-468b-b438-31b9bf326e37" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="5f0acb7d-5154-4c4d-a50a-f3fb0550a9a2" direction="Return"> + <elementDefinition Id="ca93a5f7-e1ea-46b3-a2f7-9525f5764d95" /> + <type_NamedElement> + <referencedTypeMoniker Id="23174b45-2d68-41a9-b8ac-6b60826a5bee" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="2f292491-464c-4adf-bedd-0e88630eaea8" name="OnNavigated" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="467d0dbb-d268-4208-9c51-86a982f19efe" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="37b426d8-445c-4870-a283-67aec1bae38e" name="object sender" direction="In" isUnique="false"> + <elementDefinition Id="7c86c08a-7024-419d-a8ff-ab560b0eacd7" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="e95df65a-f004-4d4f-bff6-2e5d6c771f89" name="NavigationEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="a28e23a1-4a0a-48bb-9bea-b5b1d21d2f99" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="5d69e2f1-12a8-4797-8fb7-be0fd7ddb595" direction="Return"> + <elementDefinition Id="9bc12ce7-8b21-4ab7-9910-acd4d4a2d639" /> + <type_NamedElement> + <referencedTypeMoniker Id="f23514c0-1019-4a6f-91fd-2866369426ef" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation Id="b738ebcc-3486-4c97-b089-c023962a1c76" name="OnSuspending" visibility="Private" isLeaf="false" isStatic="false" isAbstract="false" concurrency="Sequential" isQuery="false"> + <elementDefinition Id="b3a41914-b5a4-4a44-8b18-4047f541ae52" /> + <ownedParameters> + <operationHasOwnedParameters> + <parameter Id="ff493469-67f9-446c-8514-8c6987af7250" name="object sender" direction="In" isUnique="false"> + <elementDefinition Id="14b5e0e0-870d-4b49-8f0e-d8d0791ab571" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="1da6dbc8-8e41-4bb4-92f8-8fc377e27d4f" name="SuspendingEventArgs e" direction="In" isUnique="false"> + <elementDefinition Id="90c29fac-47d5-49e1-918a-28faea7ee28d" /> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter Id="42ab500c-7c68-49c9-a3d4-d9ad95afc699" direction="Return"> + <elementDefinition Id="cf080c14-c2ed-47c8-96aa-fe2f7bace290" /> + <type_NamedElement> + <referencedTypeMoniker Id="ad6e137b-12ad-483a-a19b-eb0af1be9bd3" LastKnownName="void" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </logicalClassDesignerModelHasTypes> + <packageHasNamedElement> + <referencedType Id="08bd6fe6-3222-4d7b-b429-ae54e25b6d45" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="23174b45-2d68-41a9-b8ac-6b60826a5bee" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="f23514c0-1019-4a6f-91fd-2866369426ef" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + <packageHasNamedElement> + <referencedType Id="ad6e137b-12ad-483a-a19b-eb0af1be9bd3" name="void" isAbstract="false" isLeaf="false" cachedFullName="void"> + <elementDefinition Id="841b9595-e179-47bc-844f-2015913066e4" /> + </referencedType> + </packageHasNamedElement> + </packagedElements> + <package Id="e2164c74-db26-47b5-a817-89ed798ecd4c" name="Design"> + <elementDefinition Id="1bc1064b-b630-4768-9d3b-c772ca559686" /> + </package> +</logicalClassDesignerModel>
\ No newline at end of file diff --git a/EventMaker/Design/DesignClassDiagram.classdiagram.layout b/EventMaker/Design/DesignClassDiagram.classdiagram.layout new file mode 100644 index 0000000..8960d0f --- /dev/null +++ b/EventMaker/Design/DesignClassDiagram.classdiagram.layout @@ -0,0 +1,224 @@ +<?xml version="1.0" encoding="utf-8"?> +<logicalClassDesignerDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 16.25, 10.75" name="DesignClassDiagram"> + <logicalClassDesignerModelMoniker Id="d21d4508-f335-46da-bf4c-c0ae792820a6" /> + <nestedChildShapes> + <interfaceShape Id="df72f42d-6f63-4b40-8f3d-c789670788c2" absoluteBounds="1.75, 0.5, 2.125, 0.90234373509883881" hideQualifiedName="false" increaseHeight="0" customColor="207, 223, 191"> + <interfaceMoniker Id="217dd86f-2d0b-4c37-822c-ff22d7b30fd0" LastKnownName="INotifyPropertyChanged" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="bf73e012-5ae4-4982-8fc8-6693ae1a765e" absoluteBounds="1.7649999999999997, 0.89, 2.0949999999999998, 0.2011718675494194" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="9b27b67a-ced3-4738-b44c-93835e5ff535" absoluteBounds="1.7649999999999997, 1.1011718675494193, 2.0949999999999998, 0.2011718675494194" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </interfaceShape> + <interfaceShape Id="8b9c7056-7ed6-4c86-87ab-e445d7fd9f34" absoluteBounds="13.375, 0.75, 1.5, 0.90234373509883881" hideQualifiedName="false" increaseHeight="0" customColor="207, 223, 191"> + <interfaceMoniker Id="2bcf209f-ec94-4997-a2c8-a47692f36ad5" LastKnownName="ICommand" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="9b43837c-1cf8-45e6-80aa-fddd3b10ed1d" absoluteBounds="13.39, 1.1400000000000001, 1.4700000000000002, 0.2011718675494194" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="8bfdf11f-498f-498c-9962-f195a7c0d1d3" absoluteBounds="13.39, 1.3511718675494193, 1.4700000000000002, 0.2011718675494194" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </interfaceShape> + <classShape Id="1d7e5d65-6a7f-4c1d-9a9f-48393ff9a159" absoluteBounds="7.25, 0.5, 4, 1.7031249602635703" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="a35df6c1-e5b1-4481-aee3-966a4fde77d9" LastKnownName="App" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="6785aae7-0622-46d7-80e9-b5bcef2365b7" absoluteBounds="7.2650000000000006, 0.89000000000000012, 3.9699999999999998, 0.2011718675494194" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="8f4ec199-9aa9-43fd-9867-0f8d9b0ae682" absoluteBounds="7.2650000000000006, 1.1011718675494193, 3.9699999999999998, 1.0019530927141507" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + <packageShape Id="a6c1a1e5-5076-4ea3-bb3a-a5ae6210005d" absoluteBounds="7.25, 3.125, 4.125, 5" customColor="255, 249, 230" hideQualifiedName="false"> + <packageMoniker Id="f5f26326-7ab1-4ad4-b7f8-aad3ed635f9d" LastKnownName="View" /> + <nestedChildShapes> + <classShape Id="153ca489-71cf-441c-a1ea-f2f59582e3bf" absoluteBounds="7.375, 3.5, 3.875, 1.2226562251647315" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="b9eb3894-ef8e-4b17-b7c5-ab2c3d02909e" LastKnownName="EventPage" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="0a726a27-f94c-4fcc-92b6-2271f813f1af" absoluteBounds="7.3900000000000006, 3.89, 3.8449999999999998, 0.2011718675494194" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="73b179bb-38d6-48bb-b9ed-76d76340df74" absoluteBounds="7.3900000000000006, 4.10117186754942, 3.8449999999999998, 0.521484357615312" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + <classShape Id="967260aa-a28e-4fdd-96a7-bd037de80b33" absoluteBounds="7.375, 4.875, 3.875, 1.5429687152306237" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="44c40227-359c-4071-b0b7-79ebfe190ae9" LastKnownName="CreateEventPage" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="88d18b43-2d49-408a-a1ad-9518e2310631" absoluteBounds="7.3900000000000006, 5.2650000000000006, 3.8449999999999998, 0.36132811258236563" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="1c8adfbf-ba2b-4ec8-8ba3-4f79b7127c81" absoluteBounds="7.3900000000000006, 5.6363281125823654, 3.8449999999999998, 0.68164060264825821" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + <classShape Id="05dc1121-d0e7-41bf-a912-c8e26a1069a9" absoluteBounds="7.375, 6.5, 3.875, 1.5429687152306237" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="da550586-d773-4020-8246-dc5ef4440f7e" LastKnownName="EditEventPage" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="38ac0b4a-0d59-4448-b876-a997c7a37c99" absoluteBounds="7.3900000000000006, 6.8900000000000006, 3.8449999999999998, 0.36132811258236563" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="f29d518a-a267-40e4-8d2f-329efa05784e" absoluteBounds="7.3900000000000006, 7.2613281125823654, 3.8449999999999998, 0.68164060264825821" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + </nestedChildShapes> + </packageShape> + <dependencyConnector edgePoints="[(9.3125 : 3.5); (9.3125 : 2.20312496026357)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="Black"> + <dependencyMoniker Id="f0ea3eb1-7c68-44a4-9731-2c71335744a7" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="153ca489-71cf-441c-a1ea-f2f59582e3bf" /> + <classShapeMoniker Id="1d7e5d65-6a7f-4c1d-9a9f-48393ff9a159" /> + </nodes> + </dependencyConnector> + <packageShape Id="bf6e3e8b-2df1-4eb3-a7f0-87aab9fbf6f0" absoluteBounds="0.5, 1.75, 4.625, 4.75" customColor="255, 249, 230" hideQualifiedName="false"> + <packageMoniker Id="cb86e18d-611d-4ba2-85e6-74299a975c7b" LastKnownName="ViewModel" /> + <nestedChildShapes> + <classShape Id="d0dbae9c-252b-4084-86e1-808f43862ec9" absoluteBounds="0.625, 2.125, 4.375, 4.2656248807907104" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="2c1d19ca-b629-4668-9edb-dbedbe554432" LastKnownName="EventViewModel" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="51473eb6-13da-4059-b622-aa856186ec19" absoluteBounds="0.64, 2.515, 4.3450000000000006, 2.6035155430436134" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="b564f301-a83a-4fb2-9471-2979fbe81516" absoluteBounds="0.64, 5.1285155430436138, 4.3450000000000006, 1.162109337747097" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + </nestedChildShapes> + </packageShape> + <dependencyConnector edgePoints="[(7.375 : 5.63281244039536); (6.33333333333333 : 5.63281244039535 : JumpStart); (6.16666666666667 : 5.63281244039536 : JumpEnd); (5 : 5.63281244039536)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="Black"> + <dependencyMoniker Id="927578da-8ceb-44b5-8eb5-4935204b38ea" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="967260aa-a28e-4fdd-96a7-bd037de80b33" /> + <classShapeMoniker Id="d0dbae9c-252b-4084-86e1-808f43862ec9" /> + </nodes> + </dependencyConnector> + <dependencyConnector edgePoints="[(7.375 : 4.11132811258237); (5 : 4.11132811258237)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="Black"> + <dependencyMoniker Id="4cac2fdd-386f-463f-b4ee-0400ac79472d" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="153ca489-71cf-441c-a1ea-f2f59582e3bf" /> + <classShapeMoniker Id="d0dbae9c-252b-4084-86e1-808f43862ec9" /> + </nodes> + </dependencyConnector> + <realizationConnector edgePoints="[(2.8125 : 2.125); (2.8125 : 1.40234373509884)]" fixedFrom="NotFixed" fixedTo="NotFixed" customColor="113, 111, 110" showAsLollipop="false"> + <interfaceRealizationMoniker Id="bdd9822a-8847-4324-884c-eebb89443bfe" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="d0dbae9c-252b-4084-86e1-808f43862ec9" /> + <interfaceShapeMoniker Id="df72f42d-6f63-4b40-8f3d-c789670788c2" /> + </nodes> + </realizationConnector> + <dependencyConnector edgePoints="[(7.375 : 7.27148435761531); (6.33333333333333 : 7.27148435761531 : JumpStart); (6.16666666666667 : 7.27148435761531 : JumpEnd); (2.8125 : 7.27148435761531); (2.8125 : 6.39062488079071)]" fixedFrom="NotFixed" fixedTo="NotFixed" customColor="Black"> + <dependencyMoniker Id="e7916763-b505-45b3-b9b7-4116d7351fb3" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="05dc1121-d0e7-41bf-a912-c8e26a1069a9" /> + <classShapeMoniker Id="d0dbae9c-252b-4084-86e1-808f43862ec9" /> + </nodes> + </dependencyConnector> + <packageShape Id="38f7d1eb-a858-44f8-9c20-83c516f44139" absoluteBounds="12.25, 1.75, 3.625, 2.625" customColor="255, 249, 230" hideQualifiedName="false"> + <packageMoniker Id="e6dbe588-92b1-4176-a587-a942eb942cd5" LastKnownName="Common" /> + <nestedChildShapes> + <classShape Id="4e828a58-f82a-4b29-8cb1-63ec440ea019" absoluteBounds="12.375, 2.125, 3.375, 2.1835936953624087" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="3eda6421-f20d-4c05-9705-45ba766aa1a1" LastKnownName="RelayCommand" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="5354e8d3-d7c4-4b44-bcce-264ee5d30bf1" absoluteBounds="12.39, 2.515, 3.3449999999999998, 0.68164060264825832" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="0803db07-d4cd-40b5-853b-b98e57e54df8" absoluteBounds="12.39, 3.2066406026482586, 3.3449999999999998, 1.0019530927141507" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + </nestedChildShapes> + </packageShape> + <realizationConnector edgePoints="[(14.0625 : 2.125); (14.0625 : 1.89234373509884); (14.125 : 1.89234373509884); (14.125 : 1.65234373509884)]" fixedFrom="NotFixed" fixedTo="NotFixed" customColor="113, 111, 110" showAsLollipop="false"> + <interfaceRealizationMoniker Id="112b1642-ca4a-4972-bd63-073533ee25bf" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="4e828a58-f82a-4b29-8cb1-63ec440ea019" /> + <interfaceShapeMoniker Id="8b9c7056-7ed6-4c86-87ab-e445d7fd9f34" /> + </nodes> + </realizationConnector> + <dependencyConnector edgePoints="[(11.25 : 3.9042968476812); (12.375 : 3.9042968476812)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="Black"> + <dependencyMoniker Id="0838d712-8211-47ca-b4dd-5c9fae8bc01d" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="153ca489-71cf-441c-a1ea-f2f59582e3bf" /> + <classShapeMoniker Id="4e828a58-f82a-4b29-8cb1-63ec440ea019" /> + </nodes> + </dependencyConnector> + <dependencyConnector edgePoints="[(11.25 : 5.59375); (13.9635416666667 : 5.59375 : JumpStart); (14.1302083333333 : 5.59375 : JumpEnd); (15.71875 : 5.59375); (15.71875 : 4.30859369536241)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="Black"> + <dependencyMoniker Id="d7294080-de45-458d-8ce8-e92377c9db79" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="967260aa-a28e-4fdd-96a7-bd037de80b33" /> + <classShapeMoniker Id="4e828a58-f82a-4b29-8cb1-63ec440ea019" /> + </nodes> + </dependencyConnector> + <dependencyConnector edgePoints="[(12.375 : 2.66406248013179); (9.39583333333333 : 2.66406248013178 : JumpStart); (9.22916666666667 : 2.66406248013179 : JumpEnd); (5 : 2.66406248013179)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="Black"> + <dependencyMoniker Id="df9236b6-ff99-48b3-8986-7685c5443eb5" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="4e828a58-f82a-4b29-8cb1-63ec440ea019" /> + <classShapeMoniker Id="d0dbae9c-252b-4084-86e1-808f43862ec9" /> + </nodes> + </dependencyConnector> + <dependencyConnector edgePoints="[(11.25 : 7.27148435761531); (14.046875 : 7.27148435761531); (14.046875 : 4.30859369536241)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="Black"> + <dependencyMoniker Id="352857b7-3251-4e33-8bee-631261bde346" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="05dc1121-d0e7-41bf-a912-c8e26a1069a9" /> + <classShapeMoniker Id="4e828a58-f82a-4b29-8cb1-63ec440ea019" /> + </nodes> + </dependencyConnector> + <packageShape Id="1b6923bb-ba4a-478c-98e4-e24b25311319" absoluteBounds="0.5, 7.625, 6.625, 2.875" customColor="255, 249, 230" hideQualifiedName="false"> + <packageMoniker Id="eb816a96-5854-4115-a6b2-c8adf90840f2" LastKnownName="Model" /> + <nestedChildShapes> + <classShape Id="63ca9a09-3f3d-441b-8ad1-c5cc5b46debd" absoluteBounds="5.5, 8.375, 1.5, 1.703124960263569" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="5f9cda63-144f-492f-a6c0-e505c036c229" LastKnownName="Event" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="4c075017-344b-4f28-830c-a44f42db899b" absoluteBounds="5.5150000000000006, 8.765, 1.4700000000000002, 1.0019530927141507" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="4d1db1eb-4325-4bff-9249-69ef77dc103b" absoluteBounds="5.5150000000000006, 9.77695309271415, 1.4700000000000002, 0.20117186754941963" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + <classShape Id="c9c048cd-dc68-483a-be18-baa040c0e246" absoluteBounds="0.625, 8, 3.125, 2.3437499403953552" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="806a8dff-893d-489d-a626-c06657d0321e" LastKnownName="EventCatalogSingleton" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="55f1ef75-a0c7-4249-9bb4-85d8eeaf8061" absoluteBounds="0.63999999999999968, 8.39, 3.0949999999999998, 0.68164060264825832" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="77134cbc-f67c-45e6-8460-a9f6b343295f" absoluteBounds="0.63999999999999968, 9.0816406026482586, 3.0949999999999998, 1.162109337747097" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + </nestedChildShapes> + </packageShape> + <associationConnector edgePoints="[(3.75 : 9.22656248013178); (5.5 : 9.22656248013178)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="1" targetMultiplicity="*"> + <associationMoniker Id="5a7ce228-eeb6-4b96-9bcc-e0f984e022a6" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="c9c048cd-dc68-483a-be18-baa040c0e246" /> + <classShapeMoniker Id="63ca9a09-3f3d-441b-8ad1-c5cc5b46debd" /> + </nodes> + </associationConnector> + <associationConnector edgePoints="[(5 : 4.87207027648886); (6.25 : 4.87207027648886); (6.25 : 8.375)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="1" targetMultiplicity="1"> + <associationMoniker Id="aef5ae13-16b3-4e8b-9dca-8682bc68735d" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="d0dbae9c-252b-4084-86e1-808f43862ec9" /> + <classShapeMoniker Id="63ca9a09-3f3d-441b-8ad1-c5cc5b46debd" /> + </nodes> + </associationConnector> + <associationConnector edgePoints="[(1.65625 : 6.39062488079071); (1.65625 : 8)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="1" targetMultiplicity="1"> + <associationMoniker Id="c58994e6-7575-455f-a8dd-b544c95f55ae" /> + <relativeChildShapes /> + <moveableDecoratorHostShapes> + <moveableDecoratorHostShape manuallyPlaced="true" absoluteBounds="0.75, 6.5, 0.86011642217636108, 0.14800345897674561" shapeFieldName="SourceRoleName" /> + <moveableDecoratorHostShape manuallyPlaced="true" absoluteBounds="1.1875, 7.6875, 1.1668112277984619, 0.14800345897674561" shapeFieldName="TargetRoleName" /> + </moveableDecoratorHostShapes> + <nodes> + <classShapeMoniker Id="d0dbae9c-252b-4084-86e1-808f43862ec9" /> + <classShapeMoniker Id="c9c048cd-dc68-483a-be18-baa040c0e246" /> + </nodes> + </associationConnector> + <packageShape Id="b1561dec-f5ab-4d6d-88b6-4df17bbcfca8" absoluteBounds="7.625, 8.375, 4.125, 2" customColor="255, 249, 230" hideQualifiedName="false"> + <packageMoniker Id="6451fce6-b675-4bc0-8a82-b19106c1ce4a" LastKnownName="Persistency" /> + <nestedChildShapes> + <classShape Id="cdf8606e-fe5e-48ce-a9bd-56757b555db2" absoluteBounds="7.75, 8.75, 3.875, 1.5429687152306233" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="797d9e77-7bc0-4c63-83d9-450ea49fe368" LastKnownName="PersistencyService" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="cc4e9d40-9770-48ab-842a-706dd5de70a3" absoluteBounds="7.7650000000000006, 9.14, 3.8449999999999998, 0.52148435761531187" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="22c07508-e457-48ec-a6e3-d0ef50a97f38" absoluteBounds="7.7650000000000006, 9.6714843576153129, 3.8449999999999998, 0.52148435761531187" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + </nestedChildShapes> + </packageShape> + <dependencyConnector edgePoints="[(3.75 : 10.2167968377471); (7.75 : 10.2167968377471)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="Black"> + <dependencyMoniker Id="7ae4a331-bb28-4fc5-90e9-f87490284f96" /> + <relativeChildShapes /> + <nodes> + <classShapeMoniker Id="c9c048cd-dc68-483a-be18-baa040c0e246" /> + <classShapeMoniker Id="cdf8606e-fe5e-48ce-a9bd-56757b555db2" /> + </nodes> + </dependencyConnector> + </nestedChildShapes> +</logicalClassDesignerDiagram>
\ No newline at end of file diff --git a/EventMaker/Design/DomainModel.classdiagram b/EventMaker/Design/DomainModel.classdiagram new file mode 100644 index 0000000..906ce11 --- /dev/null +++ b/EventMaker/Design/DomainModel.classdiagram @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="utf-8"?> +<logicalClassDesignerModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/ModelStore" xmlns:dm9="http://schemas.microsoft.com/dsltools/SimpleShapesModel" xmlns:dm10="http://schemas.microsoft.com/dsltools/UseCaseModel" dslVersion="1.0.0.0" Id="da92ebc4-11b3-4607-86a9-9d8768995cdc" name="Domain Model" linkedPackageId="b1b003d2-232e-470b-a3ec-c88dde8fa94e" xmlns="http://schemas.microsoft.com/dsltools/LogicalClassDesigner"> + <profileInstances> + <packageHasProfileInstances Id="a42126c1-5a77-405e-af6a-89813351efd7"> + <profileInstance Id="bd45b278-f66d-41f8-baa0-13eb28461500" name="StandardProfileL2"> + <elementDefinition Id="e34d544e-0fea-4ed6-ac5e-1b74119ac791" /> + </profileInstance> + <elementDefinition Id="0caec977-1f8c-4ba3-a7db-8cc9ad9cc73b" /> + </packageHasProfileInstances> + <packageHasProfileInstances Id="8a192d06-54af-4c04-aba2-d4f683a9187a"> + <profileInstance Id="c16bd17a-6e94-4b9c-b938-cdb14518f462" name="StandardProfileL3"> + <elementDefinition Id="532ea607-fb19-44b8-8502-3351b05452be" /> + </profileInstance> + <elementDefinition Id="29349502-908c-4fda-9054-c48619c59ed0" /> + </packageHasProfileInstances> + </profileInstances> + <packagedElements> + <logicalClassDesignerModelHasTypes> + <class Id="5bf836aa-493b-4f5c-9bf7-fd5b5a7ecafa" name="User" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="f2a5c36e-4dda-40b5-be83-a40c9cef4ee5" /> + <targetEnds> + <association Id="6f8b7171-49ac-4da5-8147-537c66a2bba5" isDerived="false" sourceEndRoleName="starts" targetEndRoleName="" isLeaf="false" isAbstract="false"> + <classMoniker Id="294d0b1d-a164-4407-bab8-5f19b1c51beb" LastKnownName="EventMaker" /> + <description>starts</description> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="15543221-3774-4aef-be33-831892a63ea4" name="starts" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="ac6019a6-5640-4614-8695-a63720287784" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="82de2847-46e6-4358-bef8-4472762be358" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="e42e4cc6-c549-4471-b4c0-6e6066facecd" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="fe702c99-6574-4c9f-a9d8-9615ca38f910" /> + </association> + <association Id="5e159ae3-2a52-43a8-8da5-7844debc56ff" isDerived="false" sourceEndRoleName="" targetEndRoleName="adds/removes/edits" isLeaf="false" isAbstract="false"> + <classMoniker Id="72fee327-c0f5-4c5a-b81e-571e365a12cb" LastKnownName="Event" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="b339962b-3d3a-4705-97eb-8a53561c1d02" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="3c5e994e-3c63-46c5-b8ac-c18aaa77e966" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="391a9941-288b-47ff-b543-c50c12a899a5" name="adds/removes/edits" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="0a5ac299-ca98-489f-b1e8-c3baeb109c42" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="6158ade4-4ff5-4005-855f-07f6659d0b32" /> + </association> + </targetEnds> + </class> + </logicalClassDesignerModelHasTypes> + <logicalClassDesignerModelHasTypes> + <class Id="294d0b1d-a164-4407-bab8-5f19b1c51beb" name="EventMaker" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="0521edc5-318b-41cb-85f8-5d2eae684049" /> + <targetEnds> + <association Id="c9f20078-8964-4d12-bb61-e59094a0333b" isDerived="false" sourceEndRoleName="has" targetEndRoleName="" isLeaf="false" isAbstract="false"> + <classMoniker Id="21800e76-32fc-4206-96c8-578ad6a256c6" LastKnownName="Events" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="07f51b80-2fa2-492d-8db8-35a054a0ab6b" name="has" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="3ed704f5-e9c5-4371-a112-5fc1e8e8723b" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="42bf575e-f611-48e4-b7ed-bb8c940c9714" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="16fbcfe4-8f47-4f9b-8a85-82fe44d78336" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="922b9551-133c-4738-a534-96232a6b75e6" /> + </association> + </targetEnds> + </class> + </logicalClassDesignerModelHasTypes> + <logicalClassDesignerModelHasTypes> + <class Id="21800e76-32fc-4206-96c8-578ad6a256c6" name="Events" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="0b05f783-a502-4f77-9cf9-0ec043000cc3" /> + <targetEnds> + <association Id="77fa7ae7-fbd4-4783-abef-b72511a011cf" isDerived="false" sourceEndRoleName="" targetEndRoleName="" isLeaf="false" name="has" isAbstract="false"> + <classMoniker Id="72fee327-c0f5-4c5a-b81e-571e365a12cb" LastKnownName="Event" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="88880c13-70b4-456d-8281-0c1594acc5df" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="23264486-1873-4a15-a42c-cd971e0c343d" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="96d90aae-958d-40a8-81d9-beeca08abf2a" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <lowerValueInternal> + <literalString Id="74cfb4e9-e7c8-45ab-94ad-7753ef1bfec0" name="Lower" value="*"> + <elementDefinition Id="d0e0ad6f-9a1e-446e-bdc9-19fff70067fb" /> + </literalString> + </lowerValueInternal> + <upperValueInternal> + <literalString Id="bb927ed8-5d28-4c69-9f62-923d840e9546" name="Upper" value="*"> + <elementDefinition Id="0a60aa17-b233-45c2-a2ca-1b010c837095" /> + </literalString> + </upperValueInternal> + <elementDefinition Id="442ae296-6221-402b-8164-af5570963311" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="3da8f89b-e45f-4867-9a25-b2651513ef99" /> + </association> + </targetEnds> + </class> + </logicalClassDesignerModelHasTypes> + <logicalClassDesignerModelHasTypes> + <class Id="72fee327-c0f5-4c5a-b81e-571e365a12cb" name="Event" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="760f646f-837b-4a99-aa04-8b3e628b4189" /> + </class> + </logicalClassDesignerModelHasTypes> + </packagedElements> + <package Id="b1b003d2-232e-470b-a3ec-c88dde8fa94e" name="Design"> + <elementDefinition Id="1bc1064b-b630-4768-9d3b-c772ca559686" /> + </package> +</logicalClassDesignerModel>
\ No newline at end of file diff --git a/EventMaker/Design/DomainModel.classdiagram.layout b/EventMaker/Design/DomainModel.classdiagram.layout new file mode 100644 index 0000000..b730ef4 --- /dev/null +++ b/EventMaker/Design/DomainModel.classdiagram.layout @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<logicalClassDesignerDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 11, 8.5" name="Domain Model"> + <logicalClassDesignerModelMoniker Id="da92ebc4-11b3-4607-86a9-9d8768995cdc" /> + <nestedChildShapes> + <classShape Id="7d38143d-7ea2-4cdb-be6c-d71530424090" absoluteBounds="1, 1, 1.5, 0.90234373509883881" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="5bf836aa-493b-4f5c-9bf7-fd5b5a7ecafa" LastKnownName="User" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="112215b2-c78b-445b-90fe-4f2944679f18" absoluteBounds="1.0150000000000001, 1.3900000000000001, 1.4700000000000002, 0.2011718675494194" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="e2c44494-650e-4465-985a-b2a9d2260502" absoluteBounds="1.0150000000000001, 1.6011718675494193, 1.4700000000000002, 0.2011718675494194" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + <classShape Id="32ea47e9-fcdd-45d4-84f5-0e0f2a7947a1" absoluteBounds="3.5, 1, 1.5, 0.90234373509883881" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="294d0b1d-a164-4407-bab8-5f19b1c51beb" LastKnownName="EventMaker" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="37293614-436c-41db-a823-9073c2683ef4" absoluteBounds="3.5149999999999997, 1.3900000000000001, 1.4700000000000002, 0.2011718675494194" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="222afb3d-1e9f-479b-93fc-407c927f5e50" absoluteBounds="3.5149999999999997, 1.6011718675494193, 1.4700000000000002, 0.2011718675494194" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + <associationConnector edgePoints="[(2.5 : 1.45117186754942); (3.5 : 1.45117186754942)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="1" targetMultiplicity="1"> + <associationMoniker Id="6f8b7171-49ac-4da5-8147-537c66a2bba5" /> + <relativeChildShapes /> + <moveableDecoratorHostShapes> + <moveableDecoratorHostShape manuallyPlaced="true" absoluteBounds="2.75, 1.3125, 0.31703916192054749, 0.14800345897674561" shapeFieldName="SourceRoleName" /> + </moveableDecoratorHostShapes> + <nodes> + <classShapeMoniker Id="7d38143d-7ea2-4cdb-be6c-d71530424090" /> + <classShapeMoniker Id="32ea47e9-fcdd-45d4-84f5-0e0f2a7947a1" /> + </nodes> + </associationConnector> + <classShape Id="61052442-8f75-41f5-bb18-1ea43b5be4e0" absoluteBounds="5.75, 1, 1.5, 0.90234373509883881" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="21800e76-32fc-4206-96c8-578ad6a256c6" LastKnownName="Events" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="acb3fd26-8392-4e74-bf57-3298ec01300c" absoluteBounds="5.765, 1.3900000000000001, 1.4700000000000002, 0.2011718675494194" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="f8f5b88c-ee1b-4ea3-8965-d654775c0fae" absoluteBounds="5.765, 1.6011718675494193, 1.4700000000000002, 0.2011718675494194" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + <associationConnector edgePoints="[(5 : 1.45117186754942); (5.75 : 1.45117186754942)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="1" targetMultiplicity="1"> + <associationMoniker Id="c9f20078-8964-4d12-bb61-e59094a0333b" /> + <relativeChildShapes /> + <moveableDecoratorHostShapes> + <moveableDecoratorHostShape manuallyPlaced="true" absoluteBounds="5.25, 1.3125, 0.21195021271705627, 0.14800345897674561" shapeFieldName="SourceRoleName" /> + </moveableDecoratorHostShapes> + <nodes> + <classShapeMoniker Id="32ea47e9-fcdd-45d4-84f5-0e0f2a7947a1" /> + <classShapeMoniker Id="61052442-8f75-41f5-bb18-1ea43b5be4e0" /> + </nodes> + </associationConnector> + <classShape Id="05fdffb4-371a-422e-94fc-5714f85de9bd" absoluteBounds="8.125, 1, 1.5, 0.90234373509883881" hideQualifiedName="false" increaseHeight="0" customColor="181, 193, 223"> + <classMoniker Id="72fee327-c0f5-4c5a-b81e-571e365a12cb" LastKnownName="Event" /> + <nestedChildShapes> + <AttributeElementListCompartment Id="fd8818a6-7412-4af4-83bb-ea9ff2018f80" absoluteBounds="8.14, 1.3900000000000001, 1.4700000000000002, 0.2011718675494194" name="AttributesCompartment" titleTextColor="Black" itemTextColor="Black" /> + <OperationElementListCompartment Id="9ba0d8a6-06d4-4185-98e3-2c61a997b448" absoluteBounds="8.14, 1.6011718675494193, 1.4700000000000002, 0.2011718675494194" name="OperationsCompartment" titleTextColor="Black" itemTextColor="Black" /> + </nestedChildShapes> + </classShape> + <associationConnector edgePoints="[(7.25 : 1.45117186754942); (8.125 : 1.45117186754942)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="1" targetMultiplicity="*"> + <associationMoniker Id="77fa7ae7-fbd4-4783-abef-b72511a011cf" /> + <relativeChildShapes /> + <moveableDecoratorHostShapes> + <moveableDecoratorHostShape manuallyPlaced="true" absoluteBounds="7.5625, 1.3125, 0.21195021271705627, 0.14800345897674561" shapeFieldName="Name" /> + </moveableDecoratorHostShapes> + <nodes> + <classShapeMoniker Id="61052442-8f75-41f5-bb18-1ea43b5be4e0" /> + <classShapeMoniker Id="05fdffb4-371a-422e-94fc-5714f85de9bd" /> + </nodes> + </associationConnector> + <associationConnector edgePoints="[(1.75 : 1.90234373509884); (1.75 : 2.27734373509884); (8.875 : 2.27734373509884); (8.875 : 1.90234373509884)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="1" targetMultiplicity="1"> + <associationMoniker Id="5e159ae3-2a52-43a8-8da5-7844debc56ff" /> + <relativeChildShapes /> + <moveableDecoratorHostShapes> + <moveableDecoratorHostShape manuallyPlaced="true" absoluteBounds="4.5461426079273224, 2.3125, 1.0291159152984619, 0.14800345897674561" shapeFieldName="TargetRoleName" /> + </moveableDecoratorHostShapes> + <nodes> + <classShapeMoniker Id="7d38143d-7ea2-4cdb-be6c-d71530424090" /> + <classShapeMoniker Id="05fdffb4-371a-422e-94fc-5714f85de9bd" /> + </nodes> + </associationConnector> + </nestedChildShapes> +</logicalClassDesignerDiagram>
\ No newline at end of file diff --git a/EventMaker/Design/EditEventFDUC.txt b/EventMaker/Design/EditEventFDUC.txt index 19428eb..daa5441 100644 --- a/EventMaker/Design/EditEventFDUC.txt +++ b/EventMaker/Design/EditEventFDUC.txt @@ -8,7 +8,8 @@ Success Guarantee: Previously created event's information changed Main Success Scenario: User opens app, presses edit button on the chosen event, changes information on the edit page and saves the event. Extensions: A. User opens app, presses edit button on the chosen event but then he changes mind and presses the back button to return to the main page. -B. The name of event can't be longer than 20 characters. +B. If user tries to save event with empty field show him error message and don't update the event. +C. The name of event can't be longer than 20 characters. Special Requirements: UWP app, serialization to JSON Technology and Data Variations List: None Frequency of Occurence: Based on the will of the user diff --git a/EventMaker/Design/ModelDefinition/Design.uml b/EventMaker/Design/ModelDefinition/Design.uml index d42f541..1632783 100644 --- a/EventMaker/Design/ModelDefinition/Design.uml +++ b/EventMaker/Design/ModelDefinition/Design.uml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<modelStoreModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm5="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" +<modelStoreModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" xmlns:dm9="http://schemas.microsoft.com/dsltools/SimpleShapesModel" xmlns:dm10="http://schemas.microsoft.com/dsltools/UseCaseModel" dslVersion="1.0.0.0" Id="1bc1064b-b630-4768-9d3b-c772ca559686" name="Design" xmlns="http://schemas.microsoft.com/dsltools/ModelStore"> @@ -17,28 +17,617 @@ name="StandardProfileL3" /> </packageHasProfileInstances> </profileInstances> + <packagedElements> + <packageHasNamedElement> + <actor + Id="9a643048-d3ee-43a5-ade8-477c72643dca" + name="User" + isAbstract="false" + isLeaf="false"> + <targetEnds> + <association + Id="352efa90-509c-4b98-9b6a-55465e854e93" + isDerived="false" + sourceEndRoleName="User" + targetEndRoleName="Add Event" + isLeaf="false" + isAbstract="false"> + <useCaseMoniker + Id="ac2ca0ad-98b3-4ad7-aca4-3ccced06fac0" + LastKnownName="Add Event" + LastKnownLocation="Design.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="b96544be-acbe-4f03-b77c-c1011f589895" + name="User" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="a6b7c114-636e-4e50-a5e8-65fc5c8bb3f8" + name="Add Event" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" /> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + <association + Id="a297e2b8-0f3a-4dcb-a372-1344237164a0" + isDerived="false" + sourceEndRoleName="User" + targetEndRoleName="Delete Event" + isLeaf="false" + isAbstract="false"> + <useCaseMoniker + Id="34fe9ad6-9476-4810-874d-f0b32a7edcfb" + LastKnownName="Remove Event" + LastKnownLocation="Design.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="6b6ac8ff-16fd-466c-ab1f-630a2275a799" + name="User" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="c73041cd-db96-498d-bb02-7697d74a8753" + name="Delete Event" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" /> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + <association + Id="c288eadc-6e2c-4cbf-b714-71fe71c8adf9" + isDerived="false" + sourceEndRoleName="User" + targetEndRoleName="Edit Event" + isLeaf="false" + isAbstract="false"> + <useCaseMoniker + Id="e2749eb2-68f4-455b-a9fe-1496df4a16d1" + LastKnownName="Edit Event" + LastKnownLocation="Design.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="e1aaf0d0-0531-4478-9c3f-abdf6969ddf6" + name="User" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="b5066fa9-15e7-4f77-b59e-1694b48b54ad" + name="Edit Event" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" /> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + </targetEnds> + </actor> + </packageHasNamedElement> + <packageHasNamedElement> + <subsystem + Id="a3847f80-dd1a-43bb-87eb-7a11b1ee9efd" + name="EventMaker" + isAbstract="false" + isLeaf="false" + isActiveClass="false" /> + </packageHasNamedElement> + <packageHasNamedElement> + <useCase + Id="ac2ca0ad-98b3-4ad7-aca4-3ccced06fac0" + name="Add Event" + isAbstract="false" + isLeaf="false"> + <subjects> + <subsystemMoniker + Id="a3847f80-dd1a-43bb-87eb-7a11b1ee9efd" + LastKnownName="EventMaker" + LastKnownLocation="Design.uml" /> + </subjects> + </useCase> + </packageHasNamedElement> + <packageHasNamedElement> + <useCase + Id="34fe9ad6-9476-4810-874d-f0b32a7edcfb" + name="Remove Event" + isAbstract="false" + isLeaf="false"> + <subjects> + <subsystemMoniker + Id="a3847f80-dd1a-43bb-87eb-7a11b1ee9efd" + LastKnownName="EventMaker" + LastKnownLocation="Design.uml" /> + </subjects> + </useCase> + </packageHasNamedElement> + <packageHasNamedElement> + <useCase + Id="e2749eb2-68f4-455b-a9fe-1496df4a16d1" + name="Edit Event" + isAbstract="false" + isLeaf="false"> + <subjects> + <subsystemMoniker + Id="a3847f80-dd1a-43bb-87eb-7a11b1ee9efd" + LastKnownName="EventMaker" + LastKnownLocation="Design.uml" /> + </subjects> + </useCase> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="f2a5c36e-4dda-40b5-be83-a40c9cef4ee5" + name="User" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <targetEnds> + <association + Id="fe702c99-6574-4c9f-a9d8-9615ca38f910" + isDerived="false" + sourceEndRoleName="starts" + targetEndRoleName="" + isLeaf="false" + isAbstract="false"> + <classMoniker + Id="0521edc5-318b-41cb-85f8-5d2eae684049" + LastKnownName="EventMaker" + LastKnownLocation="Design.uml" /> + <description>starts</description> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="ac6019a6-5640-4614-8695-a63720287784" + name="starts" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="e42e4cc6-c549-4471-b4c0-6e6066facecd" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" /> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + <association + Id="6158ade4-4ff5-4005-855f-07f6659d0b32" + isDerived="false" + sourceEndRoleName="" + targetEndRoleName="adds/removes/edits" + isLeaf="false" + isAbstract="false"> + <classMoniker + Id="760f646f-837b-4a99-aa04-8b3e628b4189" + LastKnownName="Event" + LastKnownLocation="Design.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="3c5e994e-3c63-46c5-b8ac-c18aaa77e966" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="0a5ac299-ca98-489f-b1e8-c3baeb109c42" + name="adds/removes/edits" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" /> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + </targetEnds> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="0521edc5-318b-41cb-85f8-5d2eae684049" + name="EventMaker" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <targetEnds> + <association + Id="922b9551-133c-4738-a534-96232a6b75e6" + isDerived="false" + sourceEndRoleName="has" + targetEndRoleName="" + isLeaf="false" + isAbstract="false"> + <classMoniker + Id="0b05f783-a502-4f77-9cf9-0ec043000cc3" + LastKnownName="Events" + LastKnownLocation="Design.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="3ed704f5-e9c5-4371-a112-5fc1e8e8723b" + name="has" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="16fbcfe4-8f47-4f9b-8a85-82fe44d78336" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" /> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + </targetEnds> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="0b05f783-a502-4f77-9cf9-0ec043000cc3" + name="Events" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <targetEnds> + <association + Id="3da8f89b-e45f-4867-9a25-b2651513ef99" + isDerived="false" + sourceEndRoleName="" + targetEndRoleName="" + isLeaf="false" + name="has" + isAbstract="false"> + <classMoniker + Id="760f646f-837b-4a99-aa04-8b3e628b4189" + LastKnownName="Event" + LastKnownLocation="Design.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="23264486-1873-4a15-a42c-cd971e0c343d" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="442ae296-6221-402b-8164-af5570963311" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <lowerValueInternal> + <literalString + Id="d0e0ad6f-9a1e-446e-bdc9-19fff70067fb" + name="Lower" + value="*" /> + </lowerValueInternal> + <upperValueInternal> + <literalString + Id="0a60aa17-b233-45c2-a2ca-1b010c837095" + name="Upper" + value="*" /> + </upperValueInternal> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + </targetEnds> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="760f646f-837b-4a99-aa04-8b3e628b4189" + name="Event" + isAbstract="false" + isLeaf="false" + isActiveClass="false" /> + </packageHasNamedElement> + <packageHasNamedElement> + <packageMoniker + Id="ad762b77-7cdd-4371-9d1f-432c26f4e17f" + LastKnownName="View" + LastKnownLocation="Package_1602.uml" /> + </packageHasNamedElement> + <packageHasNamedElement> + <packageMoniker + Id="358ac318-0f16-4eab-b572-f608c0c29b70" + LastKnownName="ViewModel" + LastKnownLocation="Package1_1602.uml" /> + </packageHasNamedElement> + <packageHasNamedElement> + <packageMoniker + Id="21ba117d-3182-4e3e-88c0-ffdce54960ca" + LastKnownName="Common" + LastKnownLocation="Package2_1602.uml" /> + </packageHasNamedElement> + <packageHasNamedElement> + <packageMoniker + Id="1149720f-a7d8-4f49-981f-3b9d965b1a6f" + LastKnownName="Model" + LastKnownLocation="Package3_1602.uml" /> + </packageHasNamedElement> + <packageHasNamedElement> + <packageMoniker + Id="4a8b3df8-0d36-4aab-9255-5551b0dab2a5" + LastKnownName="Persistency" + LastKnownLocation="Package_1603.uml" /> + </packageHasNamedElement> + <packageHasNamedElement> + <Interface + Id="3b6965fa-e2eb-4c9e-8887-7dbf53077810" + name="INotifyPropertyChanged" + isAbstract="false" + isLeaf="false" /> + </packageHasNamedElement> + <packageHasNamedElement> + <Interface + Id="2d0aeb46-11c0-4531-a16d-e3abbf18c272" + name="ICommand" + isAbstract="false" + isLeaf="false" /> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="76fee8c1-e516-4ce6-8fec-7b707a51576a" + name="App" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <ownedOperationsInternal> + <operation + Id="dd5fa978-2f68-474c-a284-e58f3fcb52d8" + name="App" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false" /> + <operation + Id="4037040b-3bdd-4194-88b9-ea24a855ee53" + name="OnLaunched" + visibility="Protected" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="b737cf9a-4de9-467f-b0e3-885ffc0f9548" + name="LaunchActivatedEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="e5435ac0-ea69-429a-a936-1a0567e03d72" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="a6a0d249-8da9-4895-a4e0-c53e74e2f1ce" + name="OnNavigationFailed" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="9dda3c50-2edc-4c86-b819-022a27c5da62" + name="object sender" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="8ad72a5e-4175-468b-b438-31b9bf326e37" + name="NavigationFailedEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="ca93a5f7-e1ea-46b3-a2f7-9525f5764d95" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="467d0dbb-d268-4208-9c51-86a982f19efe" + name="OnNavigated" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="7c86c08a-7024-419d-a8ff-ab560b0eacd7" + name="object sender" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="a28e23a1-4a0a-48bb-9bea-b5b1d21d2f99" + name="NavigationEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="9bc12ce7-8b21-4ab7-9910-acd4d4a2d639" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="b3a41914-b5a4-4a44-8b18-4047f541ae52" + name="OnSuspending" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="14b5e0e0-870d-4b49-8f0e-d8d0791ab571" + name="object sender" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="90c29fac-47d5-49e1-918a-28faea7ee28d" + name="SuspendingEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="cf080c14-c2ed-47c8-96aa-fe2f7bace290" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + </packagedElements> <primitiveType Id="220a3521-e091-4221-bae9-3ef9018e845c" name="Integer" isAbstract="false" - isTemplate="false" isLeaf="false" /> <primitiveType Id="8943dc84-709e-4f62-b15a-a3273aa6f165" name="Boolean" isAbstract="false" - isTemplate="false" isLeaf="false" /> <primitiveType Id="59259974-6d55-42c6-b7bd-763d77ac8ef9" name="String" isAbstract="false" - isTemplate="false" isLeaf="false" /> <primitiveType Id="3ab42e7d-4969-445a-b209-471f5cb8209c" name="UnlimitedNatural" isAbstract="false" - isTemplate="false" isLeaf="false" /> -</modelStoreModel> +</modelStoreModel>
\ No newline at end of file diff --git a/EventMaker/Design/ModelDefinition/Package1_1602.uml b/EventMaker/Design/ModelDefinition/Package1_1602.uml new file mode 100644 index 0000000..7aa0135 --- /dev/null +++ b/EventMaker/Design/ModelDefinition/Package1_1602.uml @@ -0,0 +1,558 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" xmlns:dm9="http://schemas.microsoft.com/dsltools/SimpleShapesModel" xmlns:dm10="http://schemas.microsoft.com/dsltools/UseCaseModel" + dslVersion="1.0.0.0" + Id="358ac318-0f16-4eab-b572-f608c0c29b70" + name="ViewModel" xmlns="http://schemas.microsoft.com/dsltools/ModelStore"> + <packagedElements> + <packageHasNamedElement> + <class + Id="96c74342-4a89-464e-8bc5-8f2987f558ba" + name="EventViewModel" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <suppliersInternal> + <interfaceRealization + Id="941a0eb5-c742-43d0-b79b-41106e40c2d3"> + <interfaceMoniker + Id="3b6965fa-e2eb-4c9e-8887-7dbf53077810" + LastKnownName="INotifyPropertyChanged" + LastKnownLocation="Design.uml" /> + </interfaceRealization> + </suppliersInternal> + <targetEnds> + <association + Id="05873e68-9727-467d-b9fc-10204d832e72" + isDerived="false" + sourceEndRoleName="EventViewModel" + targetEndRoleName="Event" + isLeaf="false" + isAbstract="false"> + <classMoniker + Id="f4793e81-c0e9-4129-98eb-eb831b6e6fbf" + LastKnownName="Event" + LastKnownLocation="Package3_1602.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="b5eecb71-fbdf-438c-939b-4c5a841d55dc" + name="EventViewModel" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="Shared" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="fdf85d6a-6ce0-4f2a-a7f1-f506a75b5b22" + name="Event" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" /> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + <association + Id="8d655b1c-3526-4dad-9a09-80197b9b663f" + isDerived="false" + sourceEndRoleName="EventViewModel" + targetEndRoleName="EventCatalogSingleton" + isLeaf="false" + isAbstract="false"> + <classMoniker + Id="24efcfc5-a0f2-4786-b119-771df0513a6b" + LastKnownName="EventCatalogSingleton" + LastKnownLocation="Package3_1602.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="20e83eb5-9584-43a5-8eaa-9dcebde1e440" + name="EventViewModel" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="Shared" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="a6803588-09a9-4281-852a-9b642da53973" + name="EventCatalogSingleton" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false" /> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + </targetEnds> + <ownedAttributesInternal> + <property + Id="7b2cd34a-8716-42f5-b7b6-d79ec396b997" + name="_eventTemplate" + visibility="Private" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="4376f4c1-9e33-419a-ba2f-1180ba42abb1" + LastKnownName="Event" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="2bc23923-a588-4fd8-bf82-449bd55e07f0" + name="_selectedSortValue" + visibility="Private" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="4160e1b6-ed26-4d42-97a3-723592634fcb" + LastKnownName="string" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="27a31b9b-2b35-4488-b68a-1d74ad8df796" + name="EventCatalogSingleton" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="270e27b4-8276-469a-9d8a-ba5fed187b8b" + LastKnownName="EventCatalogSingleton" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="a3b51d3b-1751-4ff7-927e-492c1bf58111" + name="SelectedEventIndex" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="62c0b824-8a10-4de7-b4a4-b5d4f86ec431" + LastKnownName="int" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="b106db49-b152-4d92-9661-4822a7726e6d" + name="SortValues" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="eb4b7df2-69d6-4a94-b6a6-a5c6ea597cd4" + LastKnownName="ObservableCollection<string>" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="6e3df9ba-ff07-4dd9-8e55-17aeb3dd452a" + name="Date" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="455cf88f-afa1-4dc8-8209-cad105c04605" + LastKnownName="DateTimeOffset" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="d277b9f8-cb41-40ff-9814-950a27734afa" + name="Time" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="e65ac22a-a34f-4643-aeb9-857973ca419e" + LastKnownName="TimeSpan" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="f488f1ab-21e3-421f-a9e4-4f6bb8adb286" + name="CreateEventCommand" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="14221a4c-6c61-448f-a490-9839c598eb42" + LastKnownName="ICommand" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="80cd4b14-bcd3-4705-a30f-bd43872e6a52" + name="RemoveEventCommand" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="14221a4c-6c61-448f-a490-9839c598eb42" + LastKnownName="ICommand" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="f15cd49b-3fd2-4aad-a49a-957d908a8a95" + name="UpdateEventCommand" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="14221a4c-6c61-448f-a490-9839c598eb42" + LastKnownName="ICommand" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="bba59d6e-37cd-47e2-942c-9a796ba75152" + name="LoadEventCommand" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="14221a4c-6c61-448f-a490-9839c598eb42" + LastKnownName="ICommand" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="a72bbf62-4706-4c28-b318-aa335f5f95d3" + name="CleanTemplateCommand" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="14221a4c-6c61-448f-a490-9839c598eb42" + LastKnownName="ICommand" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="b97264d5-9763-4f45-9c81-8bed29451f29" + name="EventTemplate" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="4376f4c1-9e33-419a-ba2f-1180ba42abb1" + LastKnownName="Event" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="15c5442f-10e9-485a-9edf-79018cdfa602" + name="SelectedSortValue" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="4160e1b6-ed26-4d42-97a3-723592634fcb" + LastKnownName="string" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="67fe3c96-c96c-47a9-b9c4-42ed69f2a749" + name="PropertyChanged" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="31e6f3f0-686b-42b5-9e56-4c54c20cf3d4" + LastKnownName="PropertyChangedEventHandler" + LastKnownLocation="Package1_1602.uml" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation + Id="af6d0ea3-68d3-438f-905f-ad364a2ccfc1" + name="EventViewModel" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false" /> + <operation + Id="a5be8640-edbd-4823-b2e4-78204ce5ff8c" + name="CreateEvent" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="a2d713b1-7c3c-4fe5-9b08-c7e67140cc2a" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="f76aba30-5cfa-4c9a-9483-279333e1f587" + name="RemoveEvent" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="469c3abd-a1bb-45e7-8eac-1b6b7632a5a2" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="3fa1f93f-01dc-4f53-96b9-3a3283d649ae" + name="LoadEvent" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="1b7a646e-2d7a-40a4-b3c8-dd7c51eeca4d" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="aa8f95d4-cea2-4ee6-83e7-cb18e01aa24a" + name="UpdateEvent" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="114e6649-f4a2-4df7-bc34-8d9389c8b37f" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="f0bf8b6e-d96f-46c2-9372-cacf58b67f57" + name="OnPropertyChanged" + visibility="Protected" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="c1acf016-7c49-4c6f-87ef-78c38042be8c" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="34442ec8-a88c-4500-9d11-5622489cebbf" + name="[CallerMemberName] string propertyName" + direction="In" + isUnique="false"> + <defaultValue> + <literalString + Id="12bb5d6e-f09c-4fb6-bda5-0f682e8dc5e4" + value="null" /> + </defaultValue> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="4376f4c1-9e33-419a-ba2f-1180ba42abb1" + name="Event" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="270e27b4-8276-469a-9d8a-ba5fed187b8b" + name="EventCatalogSingleton" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="eb4b7df2-69d6-4a94-b6a6-a5c6ea597cd4" + name="ObservableCollection<string>" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="455cf88f-afa1-4dc8-8209-cad105c04605" + name="DateTimeOffset" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="e65ac22a-a34f-4643-aeb9-857973ca419e" + name="TimeSpan" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="14221a4c-6c61-448f-a490-9839c598eb42" + name="ICommand" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="31e6f3f0-686b-42b5-9e56-4c54c20cf3d4" + name="PropertyChangedEventHandler" /> + </packageHasNamedElement> + </packagedElements> +</package>
\ No newline at end of file diff --git a/EventMaker/Design/ModelDefinition/Package2_1602.uml b/EventMaker/Design/ModelDefinition/Package2_1602.uml new file mode 100644 index 0000000..a9d7ad0 --- /dev/null +++ b/EventMaker/Design/ModelDefinition/Package2_1602.uml @@ -0,0 +1,239 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" xmlns:dm9="http://schemas.microsoft.com/dsltools/SimpleShapesModel" xmlns:dm10="http://schemas.microsoft.com/dsltools/UseCaseModel" + dslVersion="1.0.0.0" + Id="21ba117d-3182-4e3e-88c0-ffdce54960ca" + name="Common" xmlns="http://schemas.microsoft.com/dsltools/ModelStore"> + <packagedElements> + <packageHasNamedElement> + <class + Id="0f75337a-5b75-4de6-ba6a-5e6463dea3c3" + name="RelayCommand" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <suppliersInternal> + <interfaceRealization + Id="7a109e49-c6bf-4b52-82ad-5f43f9dbb09f"> + <interfaceMoniker + Id="2d0aeb46-11c0-4531-a16d-e3abbf18c272" + LastKnownName="ICommand" + LastKnownLocation="Design.uml" /> + </interfaceRealization> + <dependency + Id="76f0c407-9343-4f63-a655-8b5bd365ad55" + name="Action"> + <classMoniker + Id="96c74342-4a89-464e-8bc5-8f2987f558ba" + LastKnownName="EventViewModel" + LastKnownLocation="Package1_1602.uml" /> + </dependency> + </suppliersInternal> + <ownedAttributesInternal> + <property + Id="469b2dc5-2327-40fe-9a55-cc5a089c3313" + name="_execute" + visibility="Private" + isLeaf="false" + isStatic="false" + isReadOnly="true" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="6d22eba6-59d1-4eef-98ab-48e42bfb5a51" + LastKnownName="Action" + LastKnownLocation="Package2_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="0bc75a53-5f59-42f3-8078-543e1c78e721" + name="_canExecute" + visibility="Private" + isLeaf="false" + isStatic="false" + isReadOnly="true" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="3c25f7f6-81b7-4037-9b7a-8190ea684ae7" + LastKnownName="Func<bool>" + LastKnownLocation="Package2_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="fa964049-ca1f-4afd-bb5e-e6e37fdfd110" + name="CanExecuteChanged" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="3eed5444-d065-464f-952f-31c4212ee245" + LastKnownName="EventHandler" + LastKnownLocation="Package2_1602.uml" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation + Id="70fd65b1-118b-48f1-b602-7dacea2f62cd" + name="RelayCommand" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="a726bd9e-f3dd-43e4-af18-6d067c2402b3" + name="Action execute" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="588f4aa2-6e2e-43cc-8b4c-8915066c7b37" + name="RelayCommand" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="bfb093dc-80c0-441c-859d-e6e4a8ef24a2" + name="Action execute" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="2789f763-3a24-47c5-85a7-92158f8cad35" + name="Func<bool> canExecute" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="d9cc273d-a6f5-441e-8e0e-ea8e19b4a46c" + name="CanExecute" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="9bc42248-83d7-451c-9bf8-2f795f4b7c25" + name="object parameter" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="05c0c804-173f-4320-b3a1-444beb77841b" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="292fdac6-d6c5-4c4d-9fef-51ad4363b77f" + LastKnownName="bool" + LastKnownLocation="Package2_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="f5e17be8-7183-4a31-af83-bdb6c3e8e8e8" + name="Execute" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="99657e62-781d-4bae-a449-f8952e4a336f" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="f763c77f-b67c-4468-bb5f-9ae1520e2772" + name="object parameter" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="e53bf5e2-5eb9-4262-8d6f-189b76848a21" + name="RaiseCanExecuteChanged" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="1d771428-cb9a-45a5-817b-c87554ce1e72" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="6d22eba6-59d1-4eef-98ab-48e42bfb5a51" + name="Action" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="3c25f7f6-81b7-4037-9b7a-8190ea684ae7" + name="Func<bool>" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="3eed5444-d065-464f-952f-31c4212ee245" + name="EventHandler" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="292fdac6-d6c5-4c4d-9fef-51ad4363b77f" + name="bool" /> + </packageHasNamedElement> + </packagedElements> +</package>
\ No newline at end of file diff --git a/EventMaker/Design/ModelDefinition/Package3_1602.uml b/EventMaker/Design/ModelDefinition/Package3_1602.uml new file mode 100644 index 0000000..e4664ab --- /dev/null +++ b/EventMaker/Design/ModelDefinition/Package3_1602.uml @@ -0,0 +1,426 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" xmlns:dm9="http://schemas.microsoft.com/dsltools/SimpleShapesModel" xmlns:dm10="http://schemas.microsoft.com/dsltools/UseCaseModel" + dslVersion="1.0.0.0" + Id="1149720f-a7d8-4f49-981f-3b9d965b1a6f" + name="Model" xmlns="http://schemas.microsoft.com/dsltools/ModelStore"> + <packagedElements> + <packageHasNamedElement> + <class + Id="f4793e81-c0e9-4129-98eb-eb831b6e6fbf" + name="Event" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <ownedAttributesInternal> + <property + Id="f90e3fc7-b4ff-43c6-817b-605eb0a6756c" + name="Id" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="62c0b824-8a10-4de7-b4a4-b5d4f86ec431" + LastKnownName="int" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="e899dd99-4215-43ac-865b-4689d65d4cfe" + name="DateTime" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="ac176acb-296a-4e27-a26e-a35ea24030a2" + LastKnownName="DateTime" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="82e054ce-1e7c-455a-9b28-8c6261b64185" + name="Name" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="4160e1b6-ed26-4d42-97a3-723592634fcb" + LastKnownName="string" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="b1e1b65c-c9fd-4222-b987-4947d53b7f05" + name="Description" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="4160e1b6-ed26-4d42-97a3-723592634fcb" + LastKnownName="string" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="679f2c14-c3d4-48aa-9646-daa7bc336a88" + name="Place" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="4160e1b6-ed26-4d42-97a3-723592634fcb" + LastKnownName="string" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="24efcfc5-a0f2-4786-b119-771df0513a6b" + name="EventCatalogSingleton" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <suppliersInternal> + <dependency + Id="83aa2473-f9dd-461d-b81f-3d338e5ee5ca"> + <classMoniker + Id="e24997b3-5f32-4497-a60f-93999b077d06" + LastKnownName="PersistencyService" + LastKnownLocation="Package_1603.uml" /> + </dependency> + </suppliersInternal> + <targetEnds> + <association + Id="cbf1ef83-d9c2-4327-b28a-38367aa20ab5" + isDerived="false" + sourceEndRoleName="Events" + targetEndRoleName="Event" + isLeaf="false" + isAbstract="false"> + <classMoniker + Id="f4793e81-c0e9-4129-98eb-eb831b6e6fbf" + LastKnownName="Event" + LastKnownLocation="Package3_1602.uml" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd + Id="e4374eee-5c25-4f69-a114-dfdab90ecb9c" + name="Events" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="Shared" + isComposite="false" + isNavigableOwned="false" /> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd + Id="11fbc9a7-b85e-4369-8f8c-66493019b701" + name="Event" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <lowerValueInternal> + <literalString + Id="741404a8-39f7-45d9-ad7a-ab213a84a008" + name="Lower" + value="*" /> + </lowerValueInternal> + <upperValueInternal> + <literalString + Id="1c20934b-c2fa-4e65-8534-581b9a47152a" + name="Upper" + value="*" /> + </upperValueInternal> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + </association> + </targetEnds> + <ownedAttributesInternal> + <property + Id="1ab5e608-ac74-4ecd-9e0c-f5825ed2c2ce" + name="_instance" + visibility="Private" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <classMoniker + Id="24efcfc5-a0f2-4786-b119-771df0513a6b" + LastKnownName="EventCatalogSingleton" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="d64a250e-6824-4add-a699-dafaef662360" + name="Events" + isLeaf="false" + isStatic="false" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="2e412731-b66b-4fc4-8d45-52ce6c627635" + LastKnownName="ObservableCollection<Event>" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + <property + Id="178877cb-b0d1-440a-a5bf-7e91e8317f84" + name="Instance" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <classMoniker + Id="24efcfc5-a0f2-4786-b119-771df0513a6b" + LastKnownName="EventCatalogSingleton" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation + Id="e543534d-3cc5-45b9-8c09-8ed249ebdcb6" + name="Add" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="5a47693b-95f6-4e23-8e4a-4cb19ad981e2" + name="Event newName" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="0471baa5-b60c-4621-a50d-3451412b842c" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="e12a7f01-3932-4793-b039-ff33a376e31a" + name="EventCatalogSingleton" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false" /> + <operation + Id="318d9624-8561-417b-8792-07099a0e40a0" + name="LoadEventsAsync" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="14ef0408-6226-47f9-a114-f44e1628e518" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="012bb727-956b-4528-ba9a-4bec1f2d279f" + name="Remove" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="4420a867-02f9-43cc-965e-73cfb4503876" + name="int index" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="65a3329a-9725-4f13-944a-4fee11db5565" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="6cf0a30d-fe5a-4bec-bcc9-387bcc774934" + name="Update" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="5995ba30-55dc-48e8-84ba-822d6001785b" + name="int index" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="fb46fd95-223e-452a-9413-4f42dca42c34" + name="Event eventToUpdate" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="d12701dc-1b35-45a6-b90d-90bb1bb99b5e" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="0cfa0581-bbf4-4807-8fad-58170b911dae" + name="Sort" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="108e7dab-64da-48c1-bff3-a2dec58b47c2" + name="string sortValue" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="abb0490b-d1eb-443f-bfaa-3fd930be540c" + direction="Return" + isUnique="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="2e412731-b66b-4fc4-8d45-52ce6c627635" + name="ObservableCollection<Event>" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="841b9595-e179-47bc-844f-2015913066e4" + name="void" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="62c0b824-8a10-4de7-b4a4-b5d4f86ec431" + name="int" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="ac176acb-296a-4e27-a26e-a35ea24030a2" + name="DateTime" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="4160e1b6-ed26-4d42-97a3-723592634fcb" + name="string" /> + </packageHasNamedElement> + </packagedElements> +</package>
\ No newline at end of file diff --git a/EventMaker/Design/ModelDefinition/Package_1602.uml b/EventMaker/Design/ModelDefinition/Package_1602.uml new file mode 100644 index 0000000..60d4e52 --- /dev/null +++ b/EventMaker/Design/ModelDefinition/Package_1602.uml @@ -0,0 +1,396 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" xmlns:dm9="http://schemas.microsoft.com/dsltools/SimpleShapesModel" xmlns:dm10="http://schemas.microsoft.com/dsltools/UseCaseModel" + dslVersion="1.0.0.0" + Id="ad762b77-7cdd-4371-9d1f-432c26f4e17f" + name="View" xmlns="http://schemas.microsoft.com/dsltools/ModelStore"> + <packagedElements> + <packageHasNamedElement> + <class + Id="4884839a-4657-4128-85cc-bedfa8de4dae" + name="EventPage" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <suppliersInternal> + <dependency + Id="2a8cf7d5-097f-429c-9831-f21cf09ac306" + name="Command"> + <classMoniker + Id="0f75337a-5b75-4de6-ba6a-5e6463dea3c3" + LastKnownName="RelayCommand" + LastKnownLocation="Package2_1602.uml" /> + <description>Command</description> + </dependency> + <dependency + Id="118ed621-2b18-472f-ae94-67ba51f5656a" + name="DataContext"> + <classMoniker + Id="96c74342-4a89-464e-8bc5-8f2987f558ba" + LastKnownName="EventViewModel" + LastKnownLocation="Package1_1602.uml" /> + </dependency> + <dependency + Id="ee34d582-6d96-478d-99ca-6d689fbe8be3"> + <classMoniker + Id="76fee8c1-e516-4ce6-8fec-7b707a51576a" + LastKnownName="App" + LastKnownLocation="Design.uml" /> + </dependency> + </suppliersInternal> + <ownedOperationsInternal> + <operation + Id="018ea98c-f0ac-4c12-8106-f02b5f62475d" + name="EventPage" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false" /> + <operation + Id="059a9fc9-d2db-41ee-ac81-a7202442620f" + name="SelectEvent" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="c778745d-8d89-4ccb-9e52-a82fae32f5ea" + name="object sender" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="c1937134-3b93-47a4-9c4e-a09663178645" + name="RoutedEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="8743372d-de03-4658-bd01-8984c84fb386" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="afde00b4-5808-4a75-aa7a-931f3e8eb5da" + name="CreateEventPage" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <suppliersInternal> + <dependency + Id="e834bde3-712e-4aa8-96c4-b0b835b97d73" + name="Command"> + <classMoniker + Id="0f75337a-5b75-4de6-ba6a-5e6463dea3c3" + LastKnownName="RelayCommand" + LastKnownLocation="Package2_1602.uml" /> + </dependency> + <dependency + Id="e9c87ab9-03df-4d35-9b7b-c0b202e37b41" + name="DataContext"> + <classMoniker + Id="96c74342-4a89-464e-8bc5-8f2987f558ba" + LastKnownName="EventViewModel" + LastKnownLocation="Package1_1602.uml" /> + </dependency> + </suppliersInternal> + <ownedAttributesInternal> + <property + Id="58f5987f-857f-4e83-a50c-0e7608b04a82" + name="_currentView" + visibility="Private" + isLeaf="false" + isStatic="false" + isReadOnly="true" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="0f05b53d-8037-417b-ae46-e2d163fc9815" + LastKnownName="SystemNavigationManager" + LastKnownLocation="Package_1602.uml" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation + Id="164890a4-65e6-4102-ad2b-75668d41e4b7" + name="CreateEventPage" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false" /> + <operation + Id="b204496e-b26b-41e1-b2ad-096465417399" + name="OnBackRequested" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="3ea75370-7e0d-4719-a81f-3cdff9ff5c63" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="bb4a7b91-c3c7-4d15-aea4-8322d9f42821" + name="object sender" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="7b4a4da8-e9b4-4042-b180-5d455b14605e" + name="BackRequestedEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="5142c972-c289-406e-b361-88e719027440" + name="GoToEventPage" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="d81ee301-5829-49ea-b76a-65d05a147c1f" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="1d1ec50e-87de-4597-bf32-b9d1bbed97a0" + name="object sender" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="936bc1a2-b880-4c23-8070-640b40db3340" + name="RoutedEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="6e416163-6bc9-45d7-b9db-fb6b07a376e0" + name="EditEventPage" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <suppliersInternal> + <dependency + Id="df3dc418-d845-47d2-8694-62dbc936161b" + name="Command"> + <classMoniker + Id="0f75337a-5b75-4de6-ba6a-5e6463dea3c3" + LastKnownName="RelayCommand" + LastKnownLocation="Package2_1602.uml" /> + </dependency> + <dependency + Id="692d7a8f-a010-45dc-9283-82c5af586301" + name="DataContext"> + <classMoniker + Id="96c74342-4a89-464e-8bc5-8f2987f558ba" + LastKnownName="EventViewModel" + LastKnownLocation="Package1_1602.uml" /> + </dependency> + </suppliersInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="98d2e86d-ade1-4c7b-9784-bf7490e303be" + name="SystemManager" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="0f05b53d-8037-417b-ae46-e2d163fc9815" + name="SystemNavigationManager" /> + </packageHasNamedElement> + <packageHasNamedElement> + <class + Id="e7da482c-5262-41b8-b90f-5a95e6247815" + name="EditEventPage" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <suppliersInternal> + <dependency + Id="28a98f6b-2ea3-4cfe-b14f-7236d13a4610" + name="DataContext"> + <classMoniker + Id="96c74342-4a89-464e-8bc5-8f2987f558ba" + LastKnownName="EventViewModel" + LastKnownLocation="Package1_1602.uml" /> + </dependency> + <dependency + Id="99cfaae8-e791-4e6e-aa11-93f95c1cb8bf" + name="Command"> + <classMoniker + Id="0f75337a-5b75-4de6-ba6a-5e6463dea3c3" + LastKnownName="RelayCommand" + LastKnownLocation="Package2_1602.uml" /> + </dependency> + </suppliersInternal> + <ownedAttributesInternal> + <property + Id="992a08e9-7d22-46d2-b813-951e93d6e935" + name="_currentView" + visibility="Private" + isLeaf="false" + isStatic="false" + isReadOnly="true" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="0f05b53d-8037-417b-ae46-e2d163fc9815" + LastKnownName="SystemNavigationManager" + LastKnownLocation="Package_1602.uml" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation + Id="4acb612e-4c3a-40ad-b592-81b6508b49c6" + name="EditEventPage" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false" /> + <operation + Id="d6b92d4d-7a76-449d-85f8-0f511cee9272" + name="OnBackRequested" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="8c8beb72-40c7-449c-93ae-e9ff57b0f1fb" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="855fb2ef-6fa2-431c-b7fd-45e2072fb969" + name="object sender" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="cab90df5-e70c-4e6d-bdfa-cd9f066f421c" + name="BackRequestedEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="5c3dd8a1-9cc3-411b-a50a-a45b7f6ac4e6" + name="GoToEventPage" + visibility="Private" + isLeaf="false" + isStatic="false" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="6579337c-a6b9-4cf6-acff-388fb78671b5" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="9252128a-7bb3-48e2-98e8-4300c8b4ab93" + name="object sender" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="ca0b92a1-1c43-4306-8abb-a4285ad8115c" + name="RoutedEventArgs e" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + </packagedElements> +</package>
\ No newline at end of file diff --git a/EventMaker/Design/ModelDefinition/Package_1603.uml b/EventMaker/Design/ModelDefinition/Package_1603.uml new file mode 100644 index 0000000..bf1e3ef --- /dev/null +++ b/EventMaker/Design/ModelDefinition/Package_1603.uml @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" xmlns:dm9="http://schemas.microsoft.com/dsltools/SimpleShapesModel" xmlns:dm10="http://schemas.microsoft.com/dsltools/UseCaseModel" + dslVersion="1.0.0.0" + Id="4a8b3df8-0d36-4aab-9255-5551b0dab2a5" + name="Persistency" xmlns="http://schemas.microsoft.com/dsltools/ModelStore"> + <packagedElements> + <packageHasNamedElement> + <class + Id="e24997b3-5f32-4497-a60f-93999b077d06" + name="PersistencyService" + isAbstract="false" + isLeaf="false" + isActiveClass="false"> + <ownedAttributesInternal> + <property + Id="a934cefd-2485-4633-897c-b992c41f1833" + name="LocalFolder" + visibility="Private" + isLeaf="false" + isStatic="true" + isReadOnly="true" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="87af12f8-4eb7-4bf4-84b8-a8094548f853" + LastKnownName="StorageFolder" + LastKnownLocation="Package_1603.uml" /> + </type_NamedElement> + </property> + <property + Id="0f51c818-3fd2-4734-8ea8-67da5279b9cf" + name="_eventsFile" + visibility="Private" + isLeaf="false" + isStatic="true" + isReadOnly="false" + isUnique="false" + isDerived="false" + isDerivedUnion="false" + aggregation="None" + isComposite="false"> + <type_NamedElement> + <undefinedTypeMoniker + Id="7c9156c6-e162-4ac6-be32-91a76838ba4c" + LastKnownName="StorageFile" + LastKnownLocation="Package_1603.uml" /> + </type_NamedElement> + </property> + </ownedAttributesInternal> + <ownedOperationsInternal> + <operation + Id="4a6345cb-86c9-4667-b13d-bde8415348b6" + name="SaveEventsAsJsonAsync" + isLeaf="false" + isStatic="true" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="918a055e-e798-4442-954d-ab0984f843e2" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="841b9595-e179-47bc-844f-2015913066e4" + LastKnownName="void" + LastKnownLocation="Package3_1602.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + <operationHasOwnedParameters> + <parameter + Id="94fb9c52-6df8-4bd2-ba8e-2de6be2e185e" + name="ObservableCollection<Event> events" + direction="In" + isUnique="false" /> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + <operation + Id="cafbae54-3a04-45ed-ac50-3dc017f62298" + name="LoadEventsFromJsonAsync" + isLeaf="false" + isStatic="true" + isAbstract="false" + concurrency="Sequential" + isQuery="false"> + <ownedParameters> + <operationHasOwnedParameters> + <parameter + Id="c8c0883b-0c9e-4700-af83-fd7fc1ea71bb" + direction="Return"> + <type_NamedElement> + <undefinedTypeMoniker + Id="0d0f8ba7-e48a-485b-95c3-404bb1ce30c4" + LastKnownName="Task<ObservableCollection<Event>>" + LastKnownLocation="Package_1603.uml" /> + </type_NamedElement> + </parameter> + </operationHasOwnedParameters> + </ownedParameters> + </operation> + </ownedOperationsInternal> + </class> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="f0acb2e3-284e-41d1-8930-989ffbb34dda" + name="SorageFolder" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="87af12f8-4eb7-4bf4-84b8-a8094548f853" + name="StorageFolder" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="7c9156c6-e162-4ac6-be32-91a76838ba4c" + name="StorageFile" /> + </packageHasNamedElement> + <packageHasNamedElement> + <undefinedType + Id="0d0f8ba7-e48a-485b-95c3-404bb1ce30c4" + name="Task<ObservableCollection<Event>>" /> + </packageHasNamedElement> + </packagedElements> +</package>
\ No newline at end of file diff --git a/EventMaker/Design/DeleteEventFDUC.txt b/EventMaker/Design/RemoveEventFDUC.txt index 14bcab4..6a00ab0 100644 --- a/EventMaker/Design/DeleteEventFDUC.txt +++ b/EventMaker/Design/RemoveEventFDUC.txt @@ -1,11 +1,11 @@ -Use case name: Delete event +Use case name: Remove event Scope: EventMaker -Level: Deleting event from the list +Level: Remove event from the list Primary Actor: User -Stakeholders and Interests: Teachers, deleting events functionality +Stakeholders and Interests: Teachers, removing events functionality Preconditions: App started successfuly, there is at least one event on the list -Success Guarantee: Deleted event not present on the list -Main Success Scenario: User opens app and presses delete button on the chosen event. +Success Guarantee: Removed event not present on the list +Main Success Scenario: User opens app and presses remove button on the chosen event. Extensions: None Special Requirements: UWP app, serialization to JSON Technology and Data Variations List: None diff --git a/EventMaker/Design/TestCases.txt b/EventMaker/Design/TestCases.txt new file mode 100644 index 0000000..4a7f3a9 --- /dev/null +++ b/EventMaker/Design/TestCases.txt @@ -0,0 +1,4 @@ +Test Scenario: Adding event with empty property +Tests Steps: User opens app, presses add button, gets taken to the page for creating events, tries to add event without filling one or more fields. +Expected Result: User is being prevented from adding the event. +Actual Result: User successfully adds the event with some empty properties.
\ No newline at end of file diff --git a/EventMaker/Design/UMLUseCaseDiagram.usecasediagram b/EventMaker/Design/UMLUseCaseDiagram.usecasediagram deleted file mode 100644 index b31b724..0000000 --- a/EventMaker/Design/UMLUseCaseDiagram.usecasediagram +++ /dev/null @@ -1,114 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<useCaseModelRoot xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/ModelStore" xmlns:dm9="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" xmlns:dm10="http://schemas.microsoft.com/VisualStudio/TeamArchitect/SequenceDesigner" xmlns:dm11="http://schemas.microsoft.com/dsltools/SimpleShapesModel" dslVersion="1.0.0.0" Id="bab289a7-8f10-419e-a8ab-cd204a7e9959" name="UMLUseCaseDiagram" linkedPackageId="1a04c5a4-683a-4356-91c3-055ae8aec645" xmlns="http://schemas.microsoft.com/dsltools/UseCaseModel"> - <ownedCommentsInternal> - <comment Id="d591e90a-e9a7-4039-a147-987125e2c92b"> - <elementDefinition Id="9293df92-f883-40a3-8fbc-74bbca8dc44d" /> - <body>Add event: -User opens app, presses add button, fills all fields and saves event.</body> - </comment> - <comment Id="562a957e-f230-4e5b-b06a-41f28dcf660c"> - <elementDefinition Id="5db3d44c-773e-4d00-b247-8bf178308783" /> - <body>Remove event: -User opens app and presses delete button on the chosen event.</body> - </comment> - <comment Id="18d57b2f-0936-4ac9-abc6-b96f26985a8c"> - <elementDefinition Id="701e8cb2-0312-409c-8da7-ae473db4854d" /> - <body>Edit event: -User opens app, presses edit button on the chosen event, changes information and saves.</body> - </comment> - </ownedCommentsInternal> - <profileInstances> - <packageHasProfileInstances Id="eafa6a70-c3d6-4d80-aeca-159f9cd46168"> - <profileInstance Id="81ed0536-367a-4947-8ed2-9ffce8367747" name="StandardProfileL2"> - <elementDefinition Id="e34d544e-0fea-4ed6-ac5e-1b74119ac791" /> - </profileInstance> - <elementDefinition Id="0caec977-1f8c-4ba3-a7db-8cc9ad9cc73b" /> - </packageHasProfileInstances> - <packageHasProfileInstances Id="f55a1ff2-aedc-41d4-9ad7-b12fe2588f65"> - <profileInstance Id="a75660a7-8058-410e-addc-e09d05c2cef6" name="StandardProfileL3"> - <elementDefinition Id="532ea607-fb19-44b8-8502-3351b05452be" /> - </profileInstance> - <elementDefinition Id="29349502-908c-4fda-9054-c48619c59ed0" /> - </packageHasProfileInstances> - </profileInstances> - <packagedElements> - <useCaseModelRootHasTypes> - <actor Id="9b5803ff-a4f5-4c2b-86c0-b1afc25bf515" name="User" isAbstract="false" isLeaf="false"> - <elementDefinition Id="fcf7dc08-dda0-4c1f-b9ad-e2c956165ec9" /> - <targetEnds> - <association Id="ab052909-9799-4f47-ae13-33de2c13bf36" isDerived="false" sourceEndRoleName="User" targetEndRoleName="Add event" isLeaf="false" isAbstract="false"> - <useCaseMoniker Id="b699158a-d41f-492e-a051-636e7b5c3ea6" LastKnownName="Add event" /> - <relationshipOwnedElementsInternal> - <associationHasOwnedEnds> - <memberEnd Id="ffdabbfc-aa79-45d3-a36d-6b590347505a" name="User" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> - <elementDefinition Id="24793798-8293-44fc-9008-ec4dae3f15de" /> - </memberEnd> - </associationHasOwnedEnds> - <associationHasOwnedEnds> - <memberEnd Id="e5c77693-fba3-4bb3-9315-62369fd92ce2" name="Add event" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> - <elementDefinition Id="98c4d5a2-b53a-4d19-91fb-e9aa00587de8" /> - </memberEnd> - </associationHasOwnedEnds> - </relationshipOwnedElementsInternal> - <elementDefinition Id="63cd088f-5871-4f32-8958-eb2ebac370e0" /> - </association> - <association Id="58f08717-ffe3-4bd3-97f8-03f938bd8633" isDerived="false" sourceEndRoleName="User" targetEndRoleName="Remove event" isLeaf="false" isAbstract="false"> - <useCaseMoniker Id="22a589e9-562e-437a-830b-bf1771947133" LastKnownName="Remove event" /> - <relationshipOwnedElementsInternal> - <associationHasOwnedEnds> - <memberEnd Id="df948a78-9576-4df6-b7aa-4bdfcbac93f7" name="User" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> - <elementDefinition Id="6fbb1294-814b-4c26-a704-d5c0668b3531" /> - </memberEnd> - </associationHasOwnedEnds> - <associationHasOwnedEnds> - <memberEnd Id="0ef3eef9-fb63-4d00-ac19-cc18fee59c9e" name="Remove event" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> - <elementDefinition Id="625b6eaf-5e61-469e-be6d-b3eafc904e74" /> - </memberEnd> - </associationHasOwnedEnds> - </relationshipOwnedElementsInternal> - <elementDefinition Id="504378cd-6a85-44e4-9ef7-ad86f117b8eb" /> - </association> - <association Id="3cd53beb-dd29-4c3c-8752-69ed52e214aa" isDerived="false" sourceEndRoleName="User" targetEndRoleName="Edit event" isLeaf="false" isAbstract="false"> - <useCaseMoniker Id="4aac58f2-b409-43ae-8e14-405c0b37779c" LastKnownName="Edit event" /> - <relationshipOwnedElementsInternal> - <associationHasOwnedEnds> - <memberEnd Id="d1161322-03c9-41d2-969e-1117ef421792" name="User" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> - <elementDefinition Id="cb008134-05e3-4e85-b9eb-de799a381dab" /> - </memberEnd> - </associationHasOwnedEnds> - <associationHasOwnedEnds> - <memberEnd Id="24fc863b-7a87-4ffd-99e3-c8fec9ab56e8" name="Edit event" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> - <elementDefinition Id="d62dc740-6e0a-48c0-8159-2843753b01a0" /> - </memberEnd> - </associationHasOwnedEnds> - </relationshipOwnedElementsInternal> - <elementDefinition Id="3ef740cb-0dd1-4a2f-b414-99b930ab581b" /> - </association> - </targetEnds> - </actor> - </useCaseModelRootHasTypes> - <useCaseModelRootHasTypes> - <useCase Id="b699158a-d41f-492e-a051-636e7b5c3ea6" name="Add event" isAbstract="false" isLeaf="false"> - <elementDefinition Id="a70ed261-2dd9-4323-9145-90093c30e6a1" /> - </useCase> - </useCaseModelRootHasTypes> - <useCaseModelRootHasTypes> - <useCase Id="22a589e9-562e-437a-830b-bf1771947133" name="Remove event" isAbstract="false" isLeaf="false"> - <elementDefinition Id="c211d32a-537f-4933-9b62-fb17833c3b90" /> - </useCase> - </useCaseModelRootHasTypes> - <useCaseModelRootHasTypes> - <useCase Id="4aac58f2-b409-43ae-8e14-405c0b37779c" name="Edit event" isAbstract="false" isLeaf="false"> - <elementDefinition Id="1bbad049-d644-4522-8bb5-f7e7b5e86258" /> - </useCase> - </useCaseModelRootHasTypes> - <useCaseModelRootHasTypes> - <subsystem Id="20dcb16e-cc8a-4357-8e43-245985d55717" name="EventMaker" isAbstract="false" isLeaf="false" isActiveClass="false"> - <elementDefinition Id="0c6d6969-5861-4ca8-b584-9ed600cd2abf" /> - </subsystem> - </useCaseModelRootHasTypes> - </packagedElements> - <package Id="1a04c5a4-683a-4356-91c3-055ae8aec645" name="SSD for Feb 14"> - <elementDefinition Id="7e21a63e-11dc-4785-89d3-4c89b087f81c" /> - </package> -</useCaseModelRoot>
\ No newline at end of file diff --git a/EventMaker/Design/UMLUseCaseDiagram.usecasediagram.layout b/EventMaker/Design/UMLUseCaseDiagram.usecasediagram.layout deleted file mode 100644 index 5077712..0000000 --- a/EventMaker/Design/UMLUseCaseDiagram.usecasediagram.layout +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<useCaseDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 11, 8.5" name="UMLUseCaseDiagram"> - <useCaseModelRootMoniker Id="bab289a7-8f10-419e-a8ab-cd204a7e9959" /> - <nestedChildShapes> - <actorShape Id="e8878111-46d2-484e-bce9-20e76bdca654" absoluteBounds="1.5, 1.875, 0.5, 0.5" isReference="false" heightOffset="0"> - <actorMoniker Id="9b5803ff-a4f5-4c2b-86c0-b1afc25bf515" LastKnownName="User" /> - <relativeChildShapes /> - </actorShape> - <useCaseShape Id="57716ac5-eca3-48c7-8dad-2653aadca669" absoluteBounds="3.375, 1.125, 1.125, 0.5" customColor="238, 237, 131" heightOffset="0"> - <useCaseMoniker Id="b699158a-d41f-492e-a051-636e7b5c3ea6" LastKnownName="Add event" /> - <relativeChildShapes /> - </useCaseShape> - <useCaseAssociationConnector edgePoints="[(2 : 2.03928571428571); (3.49212248124555 : 1.52770086357296)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="" targetMultiplicity=""> - <associationMoniker Id="ab052909-9799-4f47-ae13-33de2c13bf36" /> - <relativeChildShapes /> - <nodes> - <actorShapeMoniker Id="e8878111-46d2-484e-bce9-20e76bdca654" /> - <useCaseShapeMoniker Id="57716ac5-eca3-48c7-8dad-2653aadca669" /> - </nodes> - </useCaseAssociationConnector> - <useCaseShape Id="5260369d-d169-455a-a8a5-4439f2556bd7" absoluteBounds="3.375, 1.875, 1.125, 0.5" customColor="238, 237, 131" heightOffset="0"> - <useCaseMoniker Id="22a589e9-562e-437a-830b-bf1771947133" LastKnownName="Remove event" /> - <relativeChildShapes /> - </useCaseShape> - <useCaseAssociationConnector edgePoints="[(2 : 2.125); (3.375 : 2.125)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="" targetMultiplicity=""> - <associationMoniker Id="58f08717-ffe3-4bd3-97f8-03f938bd8633" /> - <relativeChildShapes /> - <nodes> - <actorShapeMoniker Id="e8878111-46d2-484e-bce9-20e76bdca654" /> - <useCaseShapeMoniker Id="5260369d-d169-455a-a8a5-4439f2556bd7" /> - </nodes> - </useCaseAssociationConnector> - <useCaseShape Id="5009e05d-d949-40ec-8c5b-4e7d86c184dd" absoluteBounds="3.375, 2.625, 1.125, 0.5" customColor="238, 237, 131" heightOffset="0"> - <useCaseMoniker Id="4aac58f2-b409-43ae-8e14-405c0b37779c" LastKnownName="Edit event" /> - <relativeChildShapes /> - </useCaseShape> - <useCaseAssociationConnector edgePoints="[(2 : 2.21071428571429); (3.49212248124555 : 2.72229913642704)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="" targetMultiplicity=""> - <associationMoniker Id="3cd53beb-dd29-4c3c-8752-69ed52e214aa" /> - <relativeChildShapes /> - <nodes> - <actorShapeMoniker Id="e8878111-46d2-484e-bce9-20e76bdca654" /> - <useCaseShapeMoniker Id="5009e05d-d949-40ec-8c5b-4e7d86c184dd" /> - </nodes> - </useCaseAssociationConnector> - <commentShape Id="e7e88417-4fd8-46a1-ae12-7e83da02536b" absoluteBounds="6.375, 0.75, 1.25, 0.875" customColor="251, 247, 200"> - <commentMoniker Id="d591e90a-e9a7-4039-a147-987125e2c92b" /> - <relativeChildShapes /> - </commentShape> - <commentShape Id="5c2f3d30-b334-491f-a8fe-3a3594343bed" absoluteBounds="6.375, 1.75, 1.25, 0.875" customColor="251, 247, 200"> - <commentMoniker Id="562a957e-f230-4e5b-b06a-41f28dcf660c" /> - <relativeChildShapes /> - </commentShape> - <commentShape Id="0ca04d2f-86d6-4a8f-a883-c9743db7e895" absoluteBounds="6.375, 2.75, 1.25, 1" customColor="251, 247, 200"> - <commentMoniker Id="18d57b2f-0936-4ac9-abc6-b96f26985a8c" /> - <relativeChildShapes /> - </commentShape> - <SubsystemShape Id="8a66fe50-d951-42a1-a1fa-42195cb47bd7" absoluteBounds="2.5, 0.875, 3, 2.5" customColor="Transparent"> - <subsystemMoniker Id="20dcb16e-cc8a-4357-8e43-245985d55717" LastKnownName="EventMaker" /> - </SubsystemShape> - </nestedChildShapes> -</useCaseDiagram>
\ No newline at end of file diff --git a/EventMaker/Design/UseCaseDiagram.usecasediagram b/EventMaker/Design/UseCaseDiagram.usecasediagram new file mode 100644 index 0000000..f2f8cbd --- /dev/null +++ b/EventMaker/Design/UseCaseDiagram.usecasediagram @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="utf-8"?> +<useCaseModelRoot xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm5="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/ModelStore" xmlns:dm9="http://schemas.microsoft.com/dsltools/LogicalClassDesigner" xmlns:dm10="http://schemas.microsoft.com/dsltools/SimpleShapesModel" dslVersion="1.0.0.0" Id="3509cc25-427e-4a79-b273-7537d04104ed" name="UseCaseDiagram" linkedPackageId="f13fe214-2007-4182-8bbc-4653c8768da6" xmlns="http://schemas.microsoft.com/dsltools/UseCaseModel"> + <profileInstances> + <packageHasProfileInstances Id="2d551b2b-f47f-4deb-bc73-f9479510bef4"> + <profileInstance Id="ce02bd3c-63d9-4805-bf16-04d28c2e3a90" name="StandardProfileL2"> + <elementDefinition Id="e34d544e-0fea-4ed6-ac5e-1b74119ac791" /> + </profileInstance> + <elementDefinition Id="0caec977-1f8c-4ba3-a7db-8cc9ad9cc73b" /> + </packageHasProfileInstances> + <packageHasProfileInstances Id="7fd1ce3f-c6cf-4f3b-bcb1-6db902bebf08"> + <profileInstance Id="61b2e908-7c05-45d1-9e65-d42a4fafc187" name="StandardProfileL3"> + <elementDefinition Id="532ea607-fb19-44b8-8502-3351b05452be" /> + </profileInstance> + <elementDefinition Id="29349502-908c-4fda-9054-c48619c59ed0" /> + </packageHasProfileInstances> + </profileInstances> + <packagedElements> + <useCaseModelRootHasTypes> + <actor Id="2f1e3987-0b63-4137-8d06-d7dfdd6c678c" name="User" isAbstract="false" isLeaf="false"> + <elementDefinition Id="9a643048-d3ee-43a5-ade8-477c72643dca" /> + <targetEnds> + <association Id="87fe49fc-c415-47f8-a6f1-04f25d40eff7" isDerived="false" sourceEndRoleName="User" targetEndRoleName="Add Event" isLeaf="false" isAbstract="false"> + <useCaseMoniker Id="9375dfdb-573d-42d0-a6d2-51d0ee372380" LastKnownName="Add Event" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="6e8cd144-0c04-4a0f-bb8a-daf07effd889" name="User" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="b96544be-acbe-4f03-b77c-c1011f589895" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="717d064f-159d-4e89-a68c-2fdc01a2a5fb" name="Add Event" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="a6b7c114-636e-4e50-a5e8-65fc5c8bb3f8" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="352efa90-509c-4b98-9b6a-55465e854e93" /> + </association> + <association Id="18df7472-4029-4c99-8f74-319b82f6ce9f" isDerived="false" sourceEndRoleName="User" targetEndRoleName="Delete Event" isLeaf="false" isAbstract="false"> + <useCaseMoniker Id="f66cfc27-4cd6-45bd-a56a-4defbf2c2c2d" LastKnownName="Remove Event" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="9b07b502-c03a-41bc-bce8-79c3aa89b843" name="User" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="6b6ac8ff-16fd-466c-ab1f-630a2275a799" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="132717d3-f39c-433f-87e0-7815a40aa904" name="Delete Event" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="c73041cd-db96-498d-bb02-7697d74a8753" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="a297e2b8-0f3a-4dcb-a372-1344237164a0" /> + </association> + <association Id="67db3de4-64dd-40d3-a624-71c6921d1253" isDerived="false" sourceEndRoleName="User" targetEndRoleName="Edit Event" isLeaf="false" isAbstract="false"> + <useCaseMoniker Id="b93354b8-da10-4c60-9bf5-6cdb571d86d4" LastKnownName="Edit Event" /> + <relationshipOwnedElementsInternal> + <associationHasOwnedEnds> + <memberEnd Id="994c05a1-6fc5-4db9-aec1-eae3064feac6" name="User" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false" isNavigableOwned="false"> + <elementDefinition Id="e1aaf0d0-0531-4478-9c3f-abdf6969ddf6" /> + </memberEnd> + </associationHasOwnedEnds> + <associationHasOwnedEnds> + <memberEnd Id="5aa7e30d-e1fd-4a1d-9f02-1fc6ee0057f9" name="Edit Event" isLeaf="false" isStatic="false" isReadOnly="false" isDerived="false" isDerivedUnion="false" aggregation="None" isComposite="false"> + <elementDefinition Id="b5066fa9-15e7-4f77-b59e-1694b48b54ad" /> + </memberEnd> + </associationHasOwnedEnds> + </relationshipOwnedElementsInternal> + <elementDefinition Id="c288eadc-6e2c-4cbf-b714-71fe71c8adf9" /> + </association> + </targetEnds> + </actor> + </useCaseModelRootHasTypes> + <useCaseModelRootHasTypes> + <subsystem Id="d17c6939-93fc-4b10-be5b-77e11658ee77" name="EventMaker" isAbstract="false" isLeaf="false" isActiveClass="false"> + <elementDefinition Id="a3847f80-dd1a-43bb-87eb-7a11b1ee9efd" /> + </subsystem> + </useCaseModelRootHasTypes> + <packageHasNamedElement> + <useCase Id="9375dfdb-573d-42d0-a6d2-51d0ee372380" name="Add Event" isAbstract="false" isLeaf="false"> + <elementDefinition Id="ac2ca0ad-98b3-4ad7-aca4-3ccced06fac0" /> + <subjects> + <subsystemMoniker Id="d17c6939-93fc-4b10-be5b-77e11658ee77" LastKnownName="EventMaker" /> + </subjects> + </useCase> + </packageHasNamedElement> + <packageHasNamedElement> + <useCase Id="f66cfc27-4cd6-45bd-a56a-4defbf2c2c2d" name="Remove Event" isAbstract="false" isLeaf="false"> + <elementDefinition Id="34fe9ad6-9476-4810-874d-f0b32a7edcfb" /> + <subjects> + <subsystemMoniker Id="d17c6939-93fc-4b10-be5b-77e11658ee77" LastKnownName="EventMaker" /> + </subjects> + </useCase> + </packageHasNamedElement> + <packageHasNamedElement> + <useCase Id="b93354b8-da10-4c60-9bf5-6cdb571d86d4" name="Edit Event" isAbstract="false" isLeaf="false"> + <elementDefinition Id="e2749eb2-68f4-455b-a9fe-1496df4a16d1" /> + <subjects> + <subsystemMoniker Id="d17c6939-93fc-4b10-be5b-77e11658ee77" LastKnownName="EventMaker" /> + </subjects> + </useCase> + </packageHasNamedElement> + </packagedElements> + <package Id="f13fe214-2007-4182-8bbc-4653c8768da6" name="Design"> + <elementDefinition Id="1bc1064b-b630-4768-9d3b-c772ca559686" /> + </package> +</useCaseModelRoot>
\ No newline at end of file diff --git a/EventMaker/Design/UseCaseDiagram.usecasediagram.layout b/EventMaker/Design/UseCaseDiagram.usecasediagram.layout new file mode 100644 index 0000000..2ff49b7 --- /dev/null +++ b/EventMaker/Design/UseCaseDiagram.usecasediagram.layout @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<useCaseDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 11, 8.5" name="UseCaseDiagram"> + <useCaseModelRootMoniker Id="3509cc25-427e-4a79-b273-7537d04104ed" /> + <nestedChildShapes> + <actorShape Id="933e3502-5127-44dd-8a50-860a5fc266c4" absoluteBounds="2.875, 2.375, 0.5, 0.5" isReference="false" heightOffset="0"> + <actorMoniker Id="2f1e3987-0b63-4137-8d06-d7dfdd6c678c" LastKnownName="User" /> + <relativeChildShapes /> + </actorShape> + <SubsystemShape Id="590822a5-d45a-4d45-81ca-d666c0f5060d" absoluteBounds="3.75, 1.125, 3, 2.75" customColor="White"> + <subsystemMoniker Id="d17c6939-93fc-4b10-be5b-77e11658ee77" LastKnownName="EventMaker" /> + <nestedChildShapes> + <useCaseShape Id="6be3d42d-cafc-418f-ac8f-7be1e4341e36" absoluteBounds="4.625, 1.625, 1, 0.5" customColor="238, 237, 131" heightOffset="0"> + <useCaseMoniker Id="9375dfdb-573d-42d0-a6d2-51d0ee372380" LastKnownName="Add Event" /> + <relativeChildShapes /> + </useCaseShape> + <useCaseShape Id="c213b7c8-fddb-4e06-beea-f3379520ff92" absoluteBounds="4.625, 2.25, 1, 0.5" customColor="238, 237, 131" heightOffset="0"> + <useCaseMoniker Id="f66cfc27-4cd6-45bd-a56a-4defbf2c2c2d" LastKnownName="Remove Event" /> + <relativeChildShapes /> + </useCaseShape> + <useCaseShape Id="1ac26ba6-9f6c-4017-a805-8824e4062468" absoluteBounds="4.625, 2.875, 1, 0.5" customColor="238, 237, 131" heightOffset="0"> + <useCaseMoniker Id="b93354b8-da10-4c60-9bf5-6cdb571d86d4" LastKnownName="Edit Event" /> + <relativeChildShapes /> + </useCaseShape> + </nestedChildShapes> + </SubsystemShape> + <useCaseAssociationConnector edgePoints="[(3.375 : 2.53125); (4.725 : 2.025)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="" targetMultiplicity=""> + <associationMoniker Id="87fe49fc-c415-47f8-a6f1-04f25d40eff7" /> + <relativeChildShapes /> + <nodes> + <actorShapeMoniker Id="933e3502-5127-44dd-8a50-860a5fc266c4" /> + <useCaseShapeMoniker Id="6be3d42d-cafc-418f-ac8f-7be1e4341e36" /> + </nodes> + </useCaseAssociationConnector> + <useCaseAssociationConnector edgePoints="[(3.375 : 2.609375); (4.62886106164317 : 2.5310086836473)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="" targetMultiplicity=""> + <associationMoniker Id="18df7472-4029-4c99-8f74-319b82f6ce9f" /> + <relativeChildShapes /> + <nodes> + <actorShapeMoniker Id="933e3502-5127-44dd-8a50-860a5fc266c4" /> + <useCaseShapeMoniker Id="c213b7c8-fddb-4e06-beea-f3379520ff92" /> + </nodes> + </useCaseAssociationConnector> + <useCaseAssociationConnector edgePoints="[(3.375 : 2.6875); (4.67778640450004 : 3.01319660112501)]" fixedFrom="Algorithm" fixedTo="Algorithm" customColor="113, 111, 110" sourceMultiplicity="" targetMultiplicity=""> + <associationMoniker Id="67db3de4-64dd-40d3-a624-71c6921d1253" /> + <relativeChildShapes /> + <nodes> + <actorShapeMoniker Id="933e3502-5127-44dd-8a50-860a5fc266c4" /> + <useCaseShapeMoniker Id="1ac26ba6-9f6c-4017-a805-8824e4062468" /> + </nodes> + </useCaseAssociationConnector> + </nestedChildShapes> +</useCaseDiagram>
\ No newline at end of file diff --git a/EventMaker/EventMaker/EventMaker.csproj b/EventMaker/EventMaker/EventMaker.csproj index 7972536..cd8ab4e 100644 --- a/EventMaker/EventMaker/EventMaker.csproj +++ b/EventMaker/EventMaker/EventMaker.csproj @@ -107,9 +107,6 @@ <Compile Include="View\EditEventPage.xaml.cs"> <DependentUpon>EditEventPage.xaml</DependentUpon> </Compile> - <Compile Include="View\EventItem.xaml.cs"> - <DependentUpon>EventItem.xaml</DependentUpon> - </Compile> <Compile Include="View\EventPage.xaml.cs"> <DependentUpon>EventPage.xaml</DependentUpon> </Compile> @@ -144,10 +141,6 @@ <SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator> </Page> - <Page Include="View\EventItem.xaml"> - <SubType>Designer</SubType> - <Generator>MSBuild:Compile</Generator> - </Page> <Page Include="View\EventPage.xaml"> <SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator> diff --git a/EventMaker/EventMaker/Model/EventCatalogSingleton.cs b/EventMaker/EventMaker/Model/EventCatalogSingleton.cs index 9c8713b..cf40fd0 100644 --- a/EventMaker/EventMaker/Model/EventCatalogSingleton.cs +++ b/EventMaker/EventMaker/Model/EventCatalogSingleton.cs @@ -1,14 +1,11 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.Linq.Expressions; +using System.Collections.ObjectModel; namespace EventMaker.Model { public class EventCatalogSingleton { private static EventCatalogSingleton _instance; + public ObservableCollection<Event> Events { get; set; } private EventCatalogSingleton() { @@ -30,7 +27,7 @@ namespace EventMaker.Model Events.Add(newEvent); Persistency.PersistencyService.SaveEventsAsJsonAsync(Events); } - public async void LoadEventsAsync() + private async void LoadEventsAsync() { Events = await Persistency.PersistencyService.LoadEventsFromJsonAsync() ?? new ObservableCollection<Event>(); } @@ -141,8 +138,5 @@ namespace EventMaker.Model } } - - - public ObservableCollection<Event> Events { get; set; } } } diff --git a/EventMaker/EventMaker/View/CreateEventPage.xaml b/EventMaker/EventMaker/View/CreateEventPage.xaml index e736e9e..d42a6d7 100644 --- a/EventMaker/EventMaker/View/CreateEventPage.xaml +++ b/EventMaker/EventMaker/View/CreateEventPage.xaml @@ -12,7 +12,7 @@ </Page.DataContext> <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> - <StackPanel MaxWidth="600"> + <StackPanel x:Name="EventForm" MaxWidth="600"> <StackPanel.Resources> <Style BasedOn="{StaticResource TextBoxStyle}" TargetType="TextBox" /> </StackPanel.Resources> @@ -28,6 +28,7 @@ <TextBox MinHeight="64" MaxHeight="320" + BorderBrush="#FF7A7A7A" PlaceholderText="Description" Text="{Binding EventTemplate.Description, Mode=TwoWay}" TextWrapping="Wrap" /> @@ -43,6 +44,7 @@ </StackPanel> <TextBox PlaceholderText="Place" Text="{Binding EventTemplate.Place, Mode=TwoWay}" /> <Button + x:Name="AddButton" Width="84" Height="32" Margin="0,0,10,0" diff --git a/EventMaker/EventMaker/View/CreateEventPage.xaml.cs b/EventMaker/EventMaker/View/CreateEventPage.xaml.cs index 9035ff9..e6c4ece 100644 --- a/EventMaker/EventMaker/View/CreateEventPage.xaml.cs +++ b/EventMaker/EventMaker/View/CreateEventPage.xaml.cs @@ -1,27 +1,43 @@ -using Windows.UI.Core; +using Windows.UI; +using Windows.UI.Core; using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Media; namespace EventMaker.View { public sealed partial class CreateEventPage { - SystemNavigationManager currentView = SystemNavigationManager.GetForCurrentView(); + private readonly SystemNavigationManager _currentView = SystemNavigationManager.GetForCurrentView(); public CreateEventPage() { InitializeComponent(); - currentView.BackRequested += OnBackRequested; - currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; + _currentView.BackRequested += OnBackRequested; + _currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; } private void OnBackRequested(object sender, BackRequestedEventArgs e) { Frame.Navigate(typeof(EventPage)); - currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; + _currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; } private void GoToEventPage(object sender, RoutedEventArgs e) { - Frame.Navigate(typeof(EventPage)); - currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; + bool allFilled = true; + foreach (var control in EventForm.Children) + { + if (control is TextBox && string.IsNullOrWhiteSpace(((TextBox)control).Text)) + { + ((TextBox) control).BorderBrush = new SolidColorBrush(Colors.Red); + allFilled = false; + } + else if(control is TextBox)((TextBox)control).BorderBrush = new SolidColorBrush(Color.FromArgb(255,122,122,122)); + } + if (allFilled) + { + Frame.Navigate(typeof(EventPage)); + _currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; + } } } } diff --git a/EventMaker/EventMaker/View/EditEventPage.xaml b/EventMaker/EventMaker/View/EditEventPage.xaml index 3e5ced9..1dd6f6d 100644 --- a/EventMaker/EventMaker/View/EditEventPage.xaml +++ b/EventMaker/EventMaker/View/EditEventPage.xaml @@ -12,7 +12,7 @@ </Page.DataContext> <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> - <StackPanel MaxWidth="600"> + <StackPanel x:Name="EventForm" MaxWidth="600"> <StackPanel.Resources> <Style BasedOn="{StaticResource TextBoxStyle}" TargetType="TextBox" /> </StackPanel.Resources> diff --git a/EventMaker/EventMaker/View/EditEventPage.xaml.cs b/EventMaker/EventMaker/View/EditEventPage.xaml.cs index 61c8c0c..2b4cd19 100644 --- a/EventMaker/EventMaker/View/EditEventPage.xaml.cs +++ b/EventMaker/EventMaker/View/EditEventPage.xaml.cs @@ -1,27 +1,43 @@ -using Windows.UI.Core; +using Windows.UI; +using Windows.UI.Core; using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Media; namespace EventMaker.View { public sealed partial class EditEventPage { - SystemNavigationManager currentView = SystemNavigationManager.GetForCurrentView(); + readonly SystemNavigationManager _currentView = SystemNavigationManager.GetForCurrentView(); public EditEventPage() { InitializeComponent(); - currentView.BackRequested += OnBackRequested; - currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; + _currentView.BackRequested += OnBackRequested; + _currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; } private void OnBackRequested(object sender, BackRequestedEventArgs e) { Frame.Navigate(typeof(EventPage)); - currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; + _currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; } private void GoToEventPage(object sender, RoutedEventArgs e) { - Frame.Navigate(typeof(EventPage)); - currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; + bool allFilled = true; + foreach (var control in EventForm.Children) + { + if (control is TextBox && string.IsNullOrWhiteSpace(((TextBox)control).Text)) + { + ((TextBox)control).BorderBrush = new SolidColorBrush(Colors.Red); + allFilled = false; + } + else if (control is TextBox) ((TextBox)control).BorderBrush = new SolidColorBrush(Color.FromArgb(255, 122, 122, 122)); + } + if (allFilled) + { + Frame.Navigate(typeof(EventPage)); + _currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; + } } } } diff --git a/EventMaker/EventMaker/View/EventItem.xaml b/EventMaker/EventMaker/View/EventItem.xaml deleted file mode 100644 index f2164ce..0000000 --- a/EventMaker/EventMaker/View/EventItem.xaml +++ /dev/null @@ -1,13 +0,0 @@ -<UserControl - x:Class="EventMaker.View.EventItem" - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:local="using:EventMaker.View" - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - d:DesignHeight="300" - d:DesignWidth="400" - mc:Ignorable="d"> - - <Grid /> -</UserControl> diff --git a/EventMaker/EventMaker/View/EventItem.xaml.cs b/EventMaker/EventMaker/View/EventItem.xaml.cs deleted file mode 100644 index 42b8c1a..0000000 --- a/EventMaker/EventMaker/View/EventItem.xaml.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; -using Windows.Foundation; -using Windows.Foundation.Collections; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Data; -using Windows.UI.Xaml.Input; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Navigation; - -// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236 - -namespace EventMaker.View -{ - public sealed partial class EventItem : UserControl - { - public EventItem() - { - this.InitializeComponent(); - } - } -} diff --git a/EventMaker/EventMaker/View/EventPage.xaml b/EventMaker/EventMaker/View/EventPage.xaml index e0727a3..aa456e0 100644 --- a/EventMaker/EventMaker/View/EventPage.xaml +++ b/EventMaker/EventMaker/View/EventPage.xaml @@ -107,7 +107,7 @@ <Button Grid.Column="1" Click="SelectEvent" - Command="{Binding DeleteEventCommand}" + Command="{Binding RemoveEventCommand}" DataContext="{Binding ElementName=EventsList, Path=DataContext}" Style="{StaticResource ActionButtonStyle}"> <SymbolIcon diff --git a/EventMaker/EventMaker/ViewModel/EventViewModel.cs b/EventMaker/EventMaker/ViewModel/EventViewModel.cs index da6c47d..f5d63db 100644 --- a/EventMaker/EventMaker/ViewModel/EventViewModel.cs +++ b/EventMaker/EventMaker/ViewModel/EventViewModel.cs @@ -15,11 +15,11 @@ namespace EventMaker.ViewModel private static string _selectedSortValue = "date (ascending)"; public EventCatalogSingleton EventCatalogSingleton { get; set; } = EventCatalogSingleton.Instance; public static int SelectedEventIndex { get; set; } - public static ObservableCollection<string> SortValues { get; set; } = new ObservableCollection<string>() {"date (ascending)","date (descending)", "name (ascending)","name (descending)" ,"place (ascending)", "place (descending)" }; + public static ObservableCollection<string> SortValues { get; set; } = new ObservableCollection<string>() { "date (ascending)", "date (descending)", "name (ascending)", "name (descending)", "place (ascending)", "place (descending)" }; public static DateTimeOffset Date { get; set; } = DateTimeOffset.Now; public static TimeSpan Time { get; set; } public ICommand CreateEventCommand { get; set; } - public ICommand DeleteEventCommand { get; set; } + public ICommand RemoveEventCommand { get; set; } public ICommand LoadEventCommand { get; set; } public ICommand UpdateEventCommand { get; set; } public ICommand CleanTemplateCommand { get; set; } @@ -48,36 +48,45 @@ namespace EventMaker.ViewModel public EventViewModel() { CreateEventCommand = new RelayCommand(CreateEvent); - DeleteEventCommand = new RelayCommand(DeleteEvent); + RemoveEventCommand = new RelayCommand(RemoveEvent); LoadEventCommand = new RelayCommand(LoadEvent); UpdateEventCommand = new RelayCommand(UpdateEvent); CleanTemplateCommand = new RelayCommand(CleanTemplate); + SortEvents(); } private void CreateEvent() { + if (string.IsNullOrWhiteSpace(EventTemplate.Name) || string.IsNullOrWhiteSpace(EventTemplate.Description) || + string.IsNullOrWhiteSpace(EventTemplate.Place)) return; + EventTemplate.Id = (int) (DateTime.Now - new DateTime(1970, 01, 01, 0, 0, 0)).TotalSeconds; EventTemplate.DateTime = new DateTime(Date.Year, Date.Month, Date.Day, Time.Hours, Time.Minutes, Time.Seconds); EventCatalogSingleton.Add(EventTemplate); CleanTemplate(); SortEvents(); } - private void DeleteEvent() + private void RemoveEvent() { EventCatalogSingleton.Remove(SelectedEventIndex); } private void LoadEvent() { - EventTemplate = EventCatalogSingleton.Events[SelectedEventIndex]; + EventTemplate.Name = EventCatalogSingleton.Instance.Events[SelectedEventIndex].Name; + EventTemplate.Description = EventCatalogSingleton.Instance.Events[SelectedEventIndex].Description; + EventTemplate.Place = EventCatalogSingleton.Instance.Events[SelectedEventIndex].Place; + EventTemplate.DateTime = EventCatalogSingleton.Instance.Events[SelectedEventIndex].DateTime; Date = new DateTimeOffset(EventTemplate.DateTime); Time = new TimeSpan(EventTemplate.DateTime.Ticks); } private void UpdateEvent() { + if (string.IsNullOrWhiteSpace(EventTemplate.Name) || string.IsNullOrWhiteSpace(EventTemplate.Description) || + string.IsNullOrWhiteSpace(EventTemplate.Place)) return; EventTemplate.DateTime = new DateTime(Date.Year, Date.Month, Date.Day, Time.Hours, Time.Minutes, Time.Seconds); - EventCatalogSingleton.Update(SelectedEventIndex,EventTemplate); + EventCatalogSingleton.Update(SelectedEventIndex, EventTemplate); CleanTemplate(); } diff --git a/EventMaker/UnitTests/Assets/LockScreenLogo.scale-200.png b/EventMaker/UnitTests/Assets/LockScreenLogo.scale-200.png Binary files differdeleted file mode 100644 index 735f57a..0000000 --- a/EventMaker/UnitTests/Assets/LockScreenLogo.scale-200.png +++ /dev/null diff --git a/EventMaker/UnitTests/Assets/SplashScreen.scale-200.png b/EventMaker/UnitTests/Assets/SplashScreen.scale-200.png Binary files differdeleted file mode 100644 index 023e7f1..0000000 --- a/EventMaker/UnitTests/Assets/SplashScreen.scale-200.png +++ /dev/null diff --git a/EventMaker/UnitTests/Assets/Square150x150Logo.scale-200.png b/EventMaker/UnitTests/Assets/Square150x150Logo.scale-200.png Binary files differdeleted file mode 100644 index af49fec..0000000 --- a/EventMaker/UnitTests/Assets/Square150x150Logo.scale-200.png +++ /dev/null diff --git a/EventMaker/UnitTests/Assets/Square44x44Logo.scale-200.png b/EventMaker/UnitTests/Assets/Square44x44Logo.scale-200.png Binary files differdeleted file mode 100644 index ce342a2..0000000 --- a/EventMaker/UnitTests/Assets/Square44x44Logo.scale-200.png +++ /dev/null diff --git a/EventMaker/UnitTests/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/EventMaker/UnitTests/Assets/Square44x44Logo.targetsize-24_altform-unplated.png Binary files differdeleted file mode 100644 index f6c02ce..0000000 --- a/EventMaker/UnitTests/Assets/Square44x44Logo.targetsize-24_altform-unplated.png +++ /dev/null diff --git a/EventMaker/UnitTests/Assets/StoreLogo.png b/EventMaker/UnitTests/Assets/StoreLogo.png Binary files differdeleted file mode 100644 index 7385b56..0000000 --- a/EventMaker/UnitTests/Assets/StoreLogo.png +++ /dev/null diff --git a/EventMaker/UnitTests/Assets/Wide310x150Logo.scale-200.png b/EventMaker/UnitTests/Assets/Wide310x150Logo.scale-200.png Binary files differdeleted file mode 100644 index 288995b..0000000 --- a/EventMaker/UnitTests/Assets/Wide310x150Logo.scale-200.png +++ /dev/null diff --git a/EventMaker/UnitTests/UnitTest.cs b/EventMaker/UnitTests/UnitTest.cs index a8be37c..0939520 100644 --- a/EventMaker/UnitTests/UnitTest.cs +++ b/EventMaker/UnitTests/UnitTest.cs @@ -1,4 +1,6 @@ using System; +using Windows.UI.Popups; +using EventMaker.Model; using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; namespace UnitTests @@ -7,8 +9,10 @@ namespace UnitTests public class UnitTest1 { [TestMethod] - public void TestMethod1() + public void AddingTestMethod() { + EventCatalogSingleton eventCatalogSingleton = EventCatalogSingleton.Instance; + EventCatalogSingleton.Instance.Add(new Event() { Id = 1, Name = "Party", Description = "Best party ever!", Place = "Roskilde" }); } } } diff --git a/EventMaker/UnitTests/UnitTests.csproj b/EventMaker/UnitTests/UnitTests.csproj index e2209fd..4b98891 100644 --- a/EventMaker/UnitTests/UnitTests.csproj +++ b/EventMaker/UnitTests/UnitTests.csproj @@ -4,7 +4,7 @@ <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">x86</Platform> - <ProjectGuid>{7ca8c0b4-c88f-489b-bf77-e17b45b2c375}</ProjectGuid> + <ProjectGuid>{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}</ProjectGuid> <OutputType>AppContainerExe</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>UnitTests</RootNamespace> @@ -16,10 +16,8 @@ <MinimumVisualStudioVersion>14</MinimumVisualStudioVersion> <FileAlignment>512</FileAlignment> <ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <PackageCertificateKeyFile>UnitTests_TemporaryKey.pfx</PackageCertificateKeyFile> - - <UnitTestPlatformVersion Condition="'$(UnitTestPlatformVersion)' == ''">14.0</UnitTestPlatformVersion> + <UnitTestPlatformVersion Condition="'$(UnitTestPlatformVersion)' == ''">14.0</UnitTestPlatformVersion> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> <DebugSymbols>true</DebugSymbols> @@ -113,19 +111,19 @@ <AppxManifest Include="Package.appxmanifest"> <SubType>Designer</SubType> </AppxManifest> - <None Include="UnitTests_TemporaryKey.pfx" /> - </ItemGroup> <ItemGroup> <Content Include="Properties\UnitTestApp.rd.xml" /> - <Content Include="Assets\LockScreenLogo.scale-200.png" /> - <Content Include="Assets\SplashScreen.scale-200.png" /> - <Content Include="Assets\Square150x150Logo.scale-200.png" /> - <Content Include="Assets\Square44x44Logo.scale-200.png" /> - <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> - <Content Include="Assets\StoreLogo.png" /> - <Content Include="Assets\Wide310x150Logo.scale-200.png" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\EventMaker\EventMaker.csproj"> + <Project>{9e8cd427-c53a-444d-a1ee-946ac995e288}</Project> + <Name>EventMaker</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> </ItemGroup> <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' "> <VisualStudioVersion>14.0</VisualStudioVersion> @@ -138,4 +136,4 @@ <Target Name="AfterBuild"> </Target> --> -</Project> +</Project>
\ No newline at end of file diff --git a/EventMaker/UnitTests/project.json b/EventMaker/UnitTests/project.json index 92d1456..32d9274 100644 --- a/EventMaker/UnitTests/project.json +++ b/EventMaker/UnitTests/project.json @@ -1,6 +1,6 @@ { "dependencies": { - "Microsoft.NETCore.UniversalWindowsPlatform": "5.1.0" + "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2" }, "frameworks": { "uap10.0": {} |